]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix virt-aa-helper when host and os.type arch differ
authorJamie Strandboge <jamie@canonical.com>
Fri, 13 Nov 2009 10:04:23 +0000 (11:04 +0100)
committerDaniel Veillard <veillard@redhat.com>
Fri, 13 Nov 2009 10:04:23 +0000 (11:04 +0100)
commit308b85330ad49e2f030fe74aae917b6abbfb5bc3
tree9e97fa6079501e92d5257befd42263e585a34e7d
parent702366387305318c0c5362ac8a0997529caf2d22
Fix virt-aa-helper when host and os.type arch differ

* src/security/virt-aa-helper.c: 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).
* tests/virt-aa-helper-test: extend and fixes tests, chmod'ed 755
src/security/virt-aa-helper.c
tests/virt-aa-helper-test [changed mode: 0644->0755]