[libvirt] [PATCHv3 1/6] flags: use common dumpxml flags check

Eric Blake eblake at redhat.com
Fri Jul 15 18:56:25 UTC 2011

n 07/14/2011 04:42 PM, Eric Blake wrote:
> The previous patches only cleaned up ATTRIBUTE_UNUSED flags cases;
> auditing the drivers found other places where flags was being used
> but not validated.  In particular, domainGetXMLDesc had issues with
> clients accepting a different set of flags than the common
> virDomainDefFormat helper function.
> * src/conf/domain_conf.c (virDomainDefFormat): Add common flag check.

Ouch, another regression.  virDomainDefFormat is now causing migration
failure, because virDomainObjFormat (called by virDomainSaveStatus) is
passing an internal-only flag.  I'll have a fix for that shortly.  :(

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/20110715/2af91a75/attachment-0001.sig>

More information about the libvir-list mailing list