[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [BUG] blkback reporting incorrect number of sectors, unable to boot



>>> On 10.11.17 at 10:40, <Paul.Durrant@xxxxxxxxxx> wrote:
>> Anthony PERARD
>> Sent: 09 November 2017 17:50
>> The problem is that QEMU 4.10 have a lock on the disk image. When
>> booting an HVM guest with a qdisk backend, the disk is open twice, but
>> can only be locked once, so when the pv disk is been initialized, the
>> initialisation kind of fail.
>> Unfortunatly, OVMF will wait indefinitly until the PV disk is
>> initialized.
> 
> That's presumably because the OVMF frontend leaves the emulated disk plugged 
> in despite talking via PV?

Well, how could it not? It can't know whether the OS to be booted
is going to have PV drivers, and iirc the unplug is not reversible.
Shouldn't OVMF close the blkif connection, with the backend
responding to this by unlocking (and maybe closing) the image?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.