[libvirt] [PATCH] qemu: Fix define logic

Eric Blake eblake at redhat.com
Mon Aug 27 16:54:56 UTC 2012


On 08/27/2012 09:59 AM, Michal Privoznik wrote:
> With current flow in qemudDomainDefine we might loose data

s/loose/lose/ (this isn't a case of making data less strict, but a case
of dropping data altogether - it's a shame that this pair of English
words tends to cause disastrous changes in meaning when one is
misspelled for the other).

> when updating an existing domain. We parse given XML and
> overwrite the configuration.  Then we try to save the new
> config. However, this step may fail and we don't perform any
> roll back.  In fact, we remove the domain from the list of
> domains held up by qemu driver. This is okay as long as the
> domain was brand new one.
> ---

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120827/f32f275e/attachment-0001.sig>


More information about the libvir-list mailing list