(2.10) hotplug: Verify if a command succeeded or not
authorDimitris Aragiorgis <dimara@grnet.gr>
Mon, 3 Feb 2014 20:19:27 +0000 (22:19 +0200)
committerDimitris Aragiorgis <dimara@grnet.gr>
Thu, 27 Mar 2014 08:01:08 +0000 (10:01 +0200)
commit070eec157eefc2f136baa801135247b3beffc038
treec0a3cf7900711042f22555c86b14bc32a95b4934
parenta30e9f9970554ef8331c510f0ece49b173e5f8f5
(2.10) hotplug: Verify if a command succeeded or not

Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searches for given PCI slot and device id.

If we previously had removed a device but it is still there
abort. Do the same if we had add a device but it is not found.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
lib/hypervisor/hv_kvm.py