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