mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +00:00
cec1022e01
Many of the old xm and sexpr test files used qemu-dm as the emulator. Modern Xen systems no longer use the old, forked qemu-dm, instead preferring the distro provided qemu or an "upstream" qemu that is built when the Xen tools are built. This qemu is typically installed in /usr/lib/xen/bin/qemu-system-i386. The libxl test files already use /usr/lib/xen/bin/qemu-system-i386. For consistency, change the old test files to use the same emulator Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
11 lines
590 B
Plaintext
11 lines
590 B
Plaintext
(domain (domid 1)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)\
|
|
(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')\
|
|
(on_reboot 'restart')(on_crash 'restart')\
|
|
(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(vcpus 1)(boot c)\
|
|
(acpi 1)(usb 1)(parallel none)(serial null)\
|
|
(device_model '/usr/lib/xen/bin/qemu-system-i386')(vnc 1)))\
|
|
(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))\
|
|
(device (vbd (dev 'hdc:cdrom')(uname 'file:/root/boot.iso')(mode 'r')))\
|
|
(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')\
|
|
(script 'vif-bridge')(type ioemu))))
|