Re: [libvirt] [PATCHv7 5/9] blockjob: make drive-reopen safer

2012-09-16 Thread Paolo Bonzini
Il 16/09/2012 01:53, Eric Blake ha scritto: > This is only a problem for the RHEL 6.3 drive-reopen command; which > partly explains why upstream qemu 1.3 abandoned that command and > went with block-job-complete instead. Not really true, in fact it's worse with block-job-complete because it's asyn

[libvirt] [PATCHv7 5/9] blockjob: make drive-reopen safer

2012-09-15 Thread Eric Blake
Since libvirt drops locks between issuing a monitor command and getting a response, it is possible for libvirtd to be restarted before getting a response on a drive-reopen command; worse, it is also possible for the guest to shut itself down during the window while libvirtd is down, ending the qemu