[libvirt] Qemu text monitor

Hello All, I am currently working with libvirt on RHEL6.2. There are a few points I have noticed regarding the QEMU monitor. When I hotplug a device into the guest, the Qemu text monitor receives a device_add command and adds the device to its current devices list (I found this list via the qemu-monitor-command "info pci"). When I hot-unplug the device from the guest, the Qemu text monitor receives the device_del command but does not remove the device from its current devices list (qemu-monitor-command "info pci" still shows the device). The result of this is that the next hotplug of the device fails giving an error "Duplicate id". I was wondering if any of you have hit this issue before or know about any qemu-monitor bugs I may not be aware of? Many Thanks in advance, Regards, Shradha Shah

On 31.01.2012 12:12, Shradha Shah wrote:
Hello All,
I am currently working with libvirt on RHEL6.2. There are a few points I have noticed regarding the QEMU monitor.
When I hotplug a device into the guest, the Qemu text monitor receives a device_add command and adds the device to its current devices list (I found this list via the qemu-monitor-command "info pci"). When I hot-unplug the device from the guest, the Qemu text monitor receives the device_del command but does not remove the device from its current devices list (qemu-monitor-command "info pci" still shows the device).
The result of this is that the next hotplug of the device fails giving an error "Duplicate id".
I was wondering if any of you have hit this issue before or know about any qemu-monitor bugs I may not be aware of?
Yeah, it's a known issue https://bugzilla.redhat.com/show_bug.cgi?id=758658 but I don't know if/when it will be fixed. Michal

Shradha Shah wrote:
Hello All,
I am currently working with libvirt on RHEL6.2. There are a few points I have noticed regarding the QEMU monitor.
When I hotplug a device into the guest, the Qemu text monitor receives a device_add command and adds the device to its current devices list (I found this list via the qemu-monitor-command "info pci"). When I hot-unplug the device from the guest, the Qemu text monitor receives the device_del command but does not remove the device from its current devices list (qemu-monitor-command "info pci" still shows the device).
The result of this is that the next hotplug of the device fails giving an error "Duplicate id".
I was wondering if any of you have hit this issue before or know about any qemu-monitor bugs I may not be aware of?
I had noticed this behavior as well with some of my SLES guests, but in my case was due to acpiphp module not being loaded in the guests. Regards, Jim
participants (3)
-
Jim Fehlig
-
Michal Privoznik
-
Shradha Shah