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

Daniel P. Berrange berrange at redhat.com
Fri Oct 16 12:38:23 UTC 2009


On Wed, Oct 14, 2009 at 05:29:02PM -0500, Jamie Strandboge wrote:
> 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

ACK, this looks good.


Daniel-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list