Skip to contentSkip to conversation

bootindex dropped from -device virtio-blk, ? output, upsets libvirt

Qemu-devel Cole Robinson 2 participants 2 messages Jul 4, 2014 – Jul 7, 2014

lore
Share & tools
lore
#0 lore raw

Hi all,

qemu-2.1-rc0 upsets some of libvirt's qemu feature introspection, the example I hit is with bootindex support. qemu -device virtio-blk,? no longer lists the bootindex= property, so libvirt thinks that qemu doesn't support it, and fails to launch a VM with per-device boot order configuration.

The qemu culprit is:

commit caffdac363801cd2cf2bf01ad013a8c1e1e43800

Author: Stefan Hajnoczi <[email protected]>
Date:   Wed Jun 18 17:58:33 2014 +0800

virtio-blk: use aliases instead of duplicate qdev properties

These alias properties aren't printed in qdev-monitor.c:qdev_device_help. In fact I'm not sure if aliases are even accessible in that function, since the they are only registered at instance init time, and I don't think any device has actually been initialized when qdev_device_help is called. That's my reading anyways.

Thoughts?

Thanks,
Cole

#1 lore raw
Quoted 13 lines · Cole Robinson

qemu-2.1-rc0 upsets some of libvirt's qemu feature introspection, the example I hit is with bootindex support. qemu -device virtio-blk,? no longer lists the bootindex= property, so libvirt thinks that qemu doesn't support it, and fails to launch a VM with per-device boot order configuration.

The qemu culprit is:

commit caffdac363801cd2cf2bf01ad013a8c1e1e43800

Author: Stefan Hajnoczi <[email protected]>
Date:   Wed Jun 18 17:58:33 2014 +0800

virtio-blk: use aliases instead of duplicate qdev properties

Quoted 7 lines

These alias properties aren't printed in qdev-monitor.c:qdev_device_help. In fact I'm not sure if aliases are even accessible in that function, since the they are only registered at instance init time, and I don't think any device has actually been initialized when qdev_device_help is called. That's my reading anyways.

Thoughts?

I will send a fix.

Thanks,
Stefan