mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tests: chxml2xmlin: Fix path format for fake paths
Our XML schema requires absolute paths for the <kernel> and disk source values. Fix the 'ch' test to have absolute paths. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
10e8a518a0
commit
27d1f9e404
@ -6,7 +6,7 @@
|
||||
<vcpu placement='static'>2</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64'>hvm</type>
|
||||
<kernel>hypervisor-fw</kernel>
|
||||
<kernel>/path/to/hypervisor-fw</kernel>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<clock offset='utc'/>
|
||||
@ -16,7 +16,7 @@
|
||||
<devices>
|
||||
<emulator>/usr/local/bin/cloud-hypervisor</emulator>
|
||||
<disk type='file' device='disk'>
|
||||
<source file='disk.raw'/>
|
||||
<source file='/path/to/disk.raw'/>
|
||||
<target dev='vda' bus='virtio'/>
|
||||
</disk>
|
||||
<interface type='ethernet'>
|
||||
|
Loading…
Reference in New Issue
Block a user