[libvirt] [PATCH 1/3] Persist qemu capabilities in the domain status file
Eric Blake
eblake at redhat.com
Wed May 4 15:46:30 UTC 2011
On 05/04/2011 07:49 AM, Daniel P. Berrange wrote:
> To cope with the QEMU binary being changed while a VM is running,
> it is neccessary to persist the original qemu capabilities at the
> time the VM is booted.
Yay! About time.
> @@ -1986,13 +1984,16 @@ qemuProcessReconnect(void *payload, const void *name ATTRIBUTE_UNUSED, void *opa
> goto error;
> }
>
> - /* XXX we should be persisting the original flags in the XML
> - * not re-detecting them, since the binary may have changed
> - * since launch time */
> - if (qemuCapsExtractVersionInfo(obj->def->emulator, obj->def->os.arch,
> + /* If upgrading from old QEMU we won't have found any
s/QEMU/libvirt/
ACK with that nit fixed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110504/4eb0d400/attachment-0001.sig>
More information about the libvir-list
mailing list