qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] bootindex dropped from -device virtio-blk, ? output, upsets libvirt
@ 2014-07-04 18:47 Cole Robinson
  2014-07-07  9:06 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Cole Robinson @ 2014-07-04 18:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi

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 <stefanha@redhat.com>
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] bootindex dropped from -device virtio-blk, ? output, upsets libvirt
  2014-07-04 18:47 [Qemu-devel] bootindex dropped from -device virtio-blk, ? output, upsets libvirt Cole Robinson
@ 2014-07-07  9:06 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2014-07-07  9:06 UTC (permalink / raw)
  To: Cole Robinson; +Cc: qemu-devel, Stefan Hajnoczi

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

On Fri, Jul 04, 2014 at 02:47:41PM -0400, Cole Robinson wrote:
> 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 <stefanha@redhat.com>
> 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?

I will send a fix.

Thanks,
Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-07  9:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 18:47 [Qemu-devel] bootindex dropped from -device virtio-blk, ? output, upsets libvirt Cole Robinson
2014-07-07  9:06 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).