]> xenbits.xensource.com Git - libvirt.git/commit
virSecurityLabelDefParseXML: Rework
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Jul 2014 09:13:29 +0000 (11:13 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Jul 2014 09:10:09 +0000 (11:10 +0200)
commitda78351b5733a390b76899921535eaf7a91213c1
tree586b349e55d0b99aa5db8c13c8da44f9cc7e805b
parent99c8d2e8087135a57a54f205aabad8e911e53519
virSecurityLabelDefParseXML: Rework

Instead of allocating the virSecurityLabelDef structure ourselves, we
can utilize virSecurityLabelDefNew which even sets the default values
for us.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c