[libvirt] [PATCH] Don't clobber ID when redefining dom in xm driver

Cole Robinson crobinso at redhat.com
Fri Jul 31 16:40:59 UTC 2009


If redefining a domain in the xen xm driver, we unconditionally set the
domain ID to -1. This can make a running domain appear inactive, and
really confuse things. Just drop the offending code, since virGetDomain
already sets the ID to -1 if required.

Fix pointed out by Dan Berrange, more info can be found at
https://bugzilla.redhat.com/show_bug.cgi?id=508278

Thanks,
Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-domain-id-clobber.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090731/364d52ff/attachment-0001.bin>


More information about the libvir-list mailing list