[Top][All Lists]

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

Re: [Qemu-devel] Regression: cold plug with device_add fails assertion

From: Anthony Liguori
Subject: Re: [Qemu-devel] Regression: cold plug with device_add fails assertion
Date: Wed, 21 Dec 2011 08:08:10 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

On 12/21/2011 05:01 AM, Markus Armbruster wrote:
Test case:

$ echo -e 'device_add usb-mouse\nq' | qemu-system-x86_64 -vnc :0 -monitor stdio 

Works in v1.0, doesn't work in master's commit ab0115e1:

qemu-system-x86_64: /work/armbru/qemu/hw/qdev.c:97: qdev_create_from_info: 
Assertion `bus->allow_hotplug' failed.

Same for virtio-blk-pci, so it's not specific to USB.

Yes, see:


Which is in the latest qemu.git.

I also added a test to qemu-test to catch this.


Anthony Liguori


8eb02831af6c5534d8712cb8db1104852cac26e9 is the first bad commit
commit 8eb02831af6c5534d8712cb8db1104852cac26e9
Author: Anthony Liguori<address@hidden>
Date:   Mon Dec 12 14:29:37 2011 -0600

     dev: add an anonymous peripheral container

     Signed-off-by: Anthony Liguori<address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]