Hi, Daniel > Hum, this would be clearer if you could gave the XML and sexpr format > for such an example, that would also allow to add it to the regression tests > in tests/sexpr2xmldata and tests/xml2sexprdata . Ideally every change to > the conversion routines should be added to the regression tests suite to > help stabilizing the behaviour over long term. > > Could you provide this ? All right, I would give you the XML and sexpr data. Thanks, Nobuhiro Itou.
<domain type='xen' id='10'> <name>test</name> <uuid>cc2315e7d26a307a438c6d188ec4c09c</uuid> <os> <type>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> <boot dev='hd'/> </os> <memory>391168</memory> <currentMemory>358400</currentMemory> <vcpu>1</vcpu> <on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <features> <acpi/> <apic/> <pae/> </features> <devices> <emulator>/usr/lib/xen/bin/qemu-dm</emulator> <interface type='ethernet'> <mac address='00:16:3e:0a:7b:39'/> </interface> <disk type='block' device='disk'> <driver name='phy'/> <source dev='/dev/sda8'/> <target dev='hda'/> </disk> <disk device='cdrom'> <target dev='hdc'/> <readonly/> </disk> <graphics type='vnc' port='-1'/> </devices> </domain>
Attachment:
no_source_cdrom.sexpr
Description: Binary data