On Mon, 2010-04-05 at 16:15 -0500, Jamie Strandboge wrote: > 3_apparmor-fix-vah-xml-parse.patch: add VIR_DOMAIN_XML_INACTIVE flag to > virDomainDefParseString() so virDomainDefParseString() doesn't error out > when seeing <seclabel...>. This was needed due to changes since 0.7.5. -- Jamie Strandboge | http://www.canonical.com
Author: Jamie Strandboge <jamie@xxxxxxxxxx> Description: add VIR_DOMAIN_XML_INACTIVE flag to virDomainDefParseString() so virDomainDefParseString() doesn't error out when seeing <seclabel...> diff -Nur libvirt-0.7.7/src/security/virt-aa-helper.c libvirt-0.7.7.new/src/security/virt-aa-helper.c --- libvirt-0.7.7/src/security/virt-aa-helper.c 2010-03-25 10:56:18.186567783 -0500 +++ libvirt-0.7.7.new/src/security/virt-aa-helper.c 2010-03-25 10:57:08.426541002 -0500 @@ -700,7 +700,8 @@ goto exit; } - ctl->def = virDomainDefParseString(ctl->caps, xmlStr, 0); + ctl->def = virDomainDefParseString(ctl->caps, xmlStr, + VIR_DOMAIN_XML_INACTIVE); if (ctl->def == NULL) { vah_error(ctl, 0, "could not parse XML"); goto exit;
Attachment:
signature.asc
Description: This is a digitally signed message part
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list