[libvirt] [PATCH] virt-aa-helper should require <uuid> in XML

Eric Blake eblake at redhat.com
Thu Nov 11 22:17:38 UTC 2010


On 11/11/2010 12:33 PM, Jamie Strandboge wrote:
> When <uuid> is not in the XML, a virUUIDGenerate() ends up being called
> which is unnecessary and can lead to crashes if /dev/urandom isn't
> available because virRandomInitialize() is not called within
> virt-aa-helper. This patch adds verify_xpath_context() and updates
> caps_mockup() to use it.
> 
> This is https://launchpad.net/bugs/672943

Makes sense that virt-aa-helper can have stricter requirements on the
XML passed to it, since it should not be directly used by end users.

ACK, and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101111/8c75b674/attachment-0001.sig>


More information about the libvir-list mailing list