On Thu, Mar 16, 2017 at 14:52:47 +0000, Daniel Berrange wrote:
On Thu, Mar 16, 2017 at 03:50:51PM +0100, Peter Krempa wrote:
> On Thu, Mar 16, 2017 at 14:42:30 +0000, Daniel Berrange wrote:
> > On Thu, Mar 16, 2017 at 01:46:38PM +0100, Peter Krempa wrote:
> > > On Mon, Feb 27, 2017 at 16:41:28 +0100, Francesco Romani wrote:
[...]
The scenario where device attach fails is not the problem - you can
get the same level of reliabilty to that by simply updating the
global metadata before & after hotplug in the same way. What is
difficult is when libvirt fails to persist the XML config on disk
or when libvirt crashes part way through the operation, and other
akward failure scenarios unrelated to QEMU itself.
In that case you lose the device definition too, since saving the XML is
the integral part of the hotplug operation.