1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-08 16:58:29 +03:00
Doug Goldstein 4b5652d0dc Allow <source> for type=block to have no dev
Currently the XML parser already allows the following syntax:
  <disk type='block' device='cdrom'>
    <source startupPolicy='optional'/>
    <target dev='hda' bus='ide'/>
    <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  </disk>

But it if the dev value is NULL then it would not have the leading
"<source ", resulting in invalid XML.
2013-09-17 14:10:40 -05:00
..
2013-08-12 20:44:41 -06:00
2009-07-16 15:06:42 +02:00
2013-09-12 17:18:32 +08:00
2013-09-10 17:06:41 -06:00
2009-07-29 09:04:21 +01:00
2013-09-12 17:18:32 +08:00