[libvirt] [PATCH] fix virt-aa-helper failure when host arch and os.type arch are different

Jamie Strandboge jamie at canonical.com
Wed Oct 14 22:29:02 UTC 2009


This is a fix for Ubuntu bug #448671[1]. virt-aa-helper's
get_definition() now calls the new caps_mockup() function which will
parse the XML for os.type, os.type.arch and then sets the wordsize.
These attributes are needed only to get a valid virCapsPtr for
virDomainDefParseString(). The -H and -b options are now removed from
virt-aa-helper (they weren't used yet anyway). The patch also adds
several tests and fixes another.

Please also 'chmod 755 tests/virt-aa-helper-test' so it can be run with
'make check'.

Thanks!

Jamie

[1] https://launchpad.net/bugs/448671

-- 
Jamie Strandboge             | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 448671.patch
Type: text/x-diff
Size: 10688 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091014/c735fbea/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20091014/c735fbea/attachment-0001.sig>


More information about the libvir-list mailing list