]> git.ipfire.org Git - thirdparty/libvirt.git/commit
XMLToNative: Parse XML as INACTIVE
authorCole Robinson <crobinso@redhat.com>
Thu, 13 Mar 2014 19:10:45 +0000 (15:10 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 14 Mar 2014 21:33:29 +0000 (17:33 -0400)
commitfbf14e8294bc3f3127719daeaaca0b18fdf2d03e
tree60407eefefc2209150e201f8c2f23e347e7b91aa
parent3b79321ad0f06220d7c13a1d73e83a76049e8dbc
XMLToNative: Parse XML as INACTIVE

Right now we are parsing the XML as though it's live, which for example
will choke on hardcoded XML like:

  <seclabel type='dynamic' model='selinux' relabel='yes'/>

Erroring with:

  $ sudo virsh domxml-to-native qemu-argv f
  error: XML error: security label is missing

All drivers are fixed, but only qemu was tested.
src/esx/esx_driver.c
src/libxl/libxl_driver.c
src/qemu/qemu_driver.c
src/xen/xen_driver.c