[libvirt] [PATCHv2 30/62] qemu: command: Setup floppy drives via -device for blockdev

Ján Tomko jtomko at redhat.com
Thu Aug 16 12:40:06 UTC 2018


On Mon, Aug 13, 2018 at 06:00:04PM +0200, Peter Krempa wrote:
>To allow referring to the drives via the QOM id we need to setup the
>floppy drives with a proper ID. This means that -device should be used
>for them.
>
>There are the following quirks:
>- FDC needs to be instantiated prior to any floppy device
>- floppy drive specified via -device does not support 'bootindex'
>    (hacked around by passing bootindexA=1 to the FDC)
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c | 42 +++++++++++++++++++++++++++++++-----------
> 1 file changed, 31 insertions(+), 11 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180816/fc591469/attachment-0001.sig>


More information about the libvir-list mailing list