mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
df89071faa
Since Xen 4.2 libxl expects device_model_override="/path" instead of device_model="/path". Adjust the code to parse this as <emulator>. While libxl also recognizes device_model_version="", this knob is not required for libvirt. A runtime detection exists in libvirt to select either "qemu-xen" or "qemu-xen-traditional". Since qemu-xen-traditional is marked as supported just for stubdoms there is no need to handle it. Test data files with 'device_model' were adjusted to use 'device_model_override' instead. Signed-off-by: Olaf Hering <olaf@aepfle.de> Reviewed-by: Jim Fehlig <jfehlig@suse.com>
27 lines
592 B
INI
27 lines
592 B
INI
name = "test"
|
|
uuid = "cc2315e7-d26a-307a-438c-6d188ec4c09c"
|
|
maxmem = 382
|
|
memory = 350
|
|
vcpus = 1
|
|
pae = 1
|
|
acpi = 1
|
|
apic = 1
|
|
viridian = 0
|
|
rtc_timeoffset = 0
|
|
localtime = 0
|
|
on_poweroff = "destroy"
|
|
on_reboot = "destroy"
|
|
on_crash = "destroy"
|
|
device_model_override = "/usr/lib/xen/bin/qemu-system-i386"
|
|
sdl = 0
|
|
vnc = 1
|
|
vncunused = 1
|
|
vif = [ "mac=00:16:3e:0a:7b:39,bridge=xenbr0,script=vif-bridge,model=e1000" ]
|
|
pci = [ "0001:0c:1b.2", "0000:01:13.0" ]
|
|
parallel = "none"
|
|
serial = "pty"
|
|
builder = "hvm"
|
|
kernel = "/usr/lib/xen/boot/hvmloader"
|
|
boot = "c"
|
|
disk = [ "phy:/dev/sda8,hda,w", ",hdc:cdrom,r" ]
|