mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +00:00
qemuxml2xmloutdata: Turn kvm-features*.xml into symlinks
There's no real difference between input and output XMLs for kvm-features and kvm-features-off test cases. Do what we usually do in such case - turn the output file into a symlink of the input file. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
8c2d9794dc
commit
51f7f7d109
@ -18,17 +18,20 @@
|
|||||||
<dirty-ring state='off'/>
|
<dirty-ring state='off'/>
|
||||||
</kvm>
|
</kvm>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='host-passthrough' check='none'/>
|
<cpu mode='host-passthrough' check='none' migratable='off'/>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-i386</emulator>
|
<emulator>/usr/bin/qemu-system-i386</emulator>
|
||||||
<controller type='usb' index='0'/>
|
<controller type='usb' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||||
|
</controller>
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
<controller type='pci' index='0' model='pci-root'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -18,17 +18,20 @@
|
|||||||
<dirty-ring state='on' size='4096'/>
|
<dirty-ring state='on' size='4096'/>
|
||||||
</kvm>
|
</kvm>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='host-passthrough' check='none'/>
|
<cpu mode='host-passthrough' check='none' migratable='off'/>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-i386</emulator>
|
<emulator>/usr/bin/qemu-system-i386</emulator>
|
||||||
<controller type='usb' index='0'/>
|
<controller type='usb' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||||
|
</controller>
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
<controller type='pci' index='0' model='pci-root'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
<domain type='kvm'>
|
|
||||||
<name>QEMUGuest1</name>
|
|
||||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
||||||
<memory unit='KiB'>219100</memory>
|
|
||||||
<currentMemory unit='KiB'>219100</currentMemory>
|
|
||||||
<vcpu placement='static'>6</vcpu>
|
|
||||||
<os>
|
|
||||||
<type arch='i686' machine='pc'>hvm</type>
|
|
||||||
<boot dev='network'/>
|
|
||||||
</os>
|
|
||||||
<features>
|
|
||||||
<acpi/>
|
|
||||||
<kvm>
|
|
||||||
<hidden state='off'/>
|
|
||||||
<hint-dedicated state='off'/>
|
|
||||||
<poll-control state='off'/>
|
|
||||||
<pv-ipi state='off'/>
|
|
||||||
<dirty-ring state='off'/>
|
|
||||||
</kvm>
|
|
||||||
</features>
|
|
||||||
<cpu mode='host-passthrough' check='none' migratable='off'/>
|
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>destroy</on_crash>
|
|
||||||
<devices>
|
|
||||||
<emulator>/usr/bin/qemu-system-i386</emulator>
|
|
||||||
<controller type='usb' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<audio id='1' type='none'/>
|
|
||||||
<memballoon model='none'/>
|
|
||||||
</devices>
|
|
||||||
</domain>
|
|
1
tests/qemuxml2xmloutdata/kvm-features-off.xml
Symbolic link
1
tests/qemuxml2xmloutdata/kvm-features-off.xml
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../qemuxml2argvdata/kvm-features-off.xml
|
@ -1,37 +0,0 @@
|
|||||||
<domain type='kvm'>
|
|
||||||
<name>QEMUGuest1</name>
|
|
||||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
||||||
<memory unit='KiB'>219100</memory>
|
|
||||||
<currentMemory unit='KiB'>219100</currentMemory>
|
|
||||||
<vcpu placement='static'>6</vcpu>
|
|
||||||
<os>
|
|
||||||
<type arch='i686' machine='pc'>hvm</type>
|
|
||||||
<boot dev='network'/>
|
|
||||||
</os>
|
|
||||||
<features>
|
|
||||||
<acpi/>
|
|
||||||
<kvm>
|
|
||||||
<hidden state='on'/>
|
|
||||||
<hint-dedicated state='on'/>
|
|
||||||
<poll-control state='on'/>
|
|
||||||
<pv-ipi state='on'/>
|
|
||||||
<dirty-ring state='on' size='4096'/>
|
|
||||||
</kvm>
|
|
||||||
</features>
|
|
||||||
<cpu mode='host-passthrough' check='none' migratable='off'/>
|
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>destroy</on_crash>
|
|
||||||
<devices>
|
|
||||||
<emulator>/usr/bin/qemu-system-i386</emulator>
|
|
||||||
<controller type='usb' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<audio id='1' type='none'/>
|
|
||||||
<memballoon model='none'/>
|
|
||||||
</devices>
|
|
||||||
</domain>
|
|
1
tests/qemuxml2xmloutdata/kvm-features.xml
Symbolic link
1
tests/qemuxml2xmloutdata/kvm-features.xml
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../qemuxml2argvdata/kvm-features.xml
|
Loading…
Reference in New Issue
Block a user