Hi,

These patches deal with already known QEMU misbehavior [1,2]. I managed
to reproduce the first one by issuing back to back:

gnt-instance reboot inst1
gnt-instance modify --net -1: --hotplug -f inst1

device_del and netdev_del seem to succeed (QEMU monitor output does not
give any error messages) but `info pci` finds the device that should
have been removed. The second patch catches this corner case and logs
the corresponding messages without modifying runtime files nor proceedes
with netdev_add, device_add to complete HotModDevice.

The third patch is a simple workaround for the known QMP bug.

Thanks,
dimara

[1] https://groups.google.com/d/msg/ganeti-devel/hCQnmuqKtU0/UWGnw251cskJ
[2] https://groups.google.com/d/msg/ganeti-devel/BR0Y7WmAibM/1BvmxgVRb-gJ

Reply via email to