mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-06 13:20:20 +00:00
717a92513d
xl and xm differ a bit in how <os> configuration is represented. E.g. xl config supports <os><nvram .../></os> via its "bios" setting. Move the xenParseOS and xenFormatOS functions from xen_common.c and copy to xen_xl.c and xen_xm.c so they can be customized for xm vs xl config. An unfortunate fallout is reordering of entries in the test config files.
24 lines
512 B
INI
24 lines
512 B
INI
name = "test"
|
|
uuid = "cc2315e7-d26a-307a-438c-6d188ec4c09c"
|
|
maxmem = 382
|
|
memory = 350
|
|
vcpus = 1
|
|
pae = 1
|
|
acpi = 1
|
|
apic = 1
|
|
localtime = 0
|
|
on_poweroff = "destroy"
|
|
on_reboot = "destroy"
|
|
on_crash = "destroy"
|
|
device_model = "/usr/lib/xen/bin/qemu-dm"
|
|
sdl = 0
|
|
vnc = 1
|
|
vncunused = 1
|
|
vif = [ "mac=00:16:3e:0a:7b:39,bridge=xenbr0,script=vif-bridge,model=e1000,type=ioemu" ]
|
|
parallel = "none"
|
|
serial = "pty"
|
|
builder = "hvm"
|
|
kernel = "/usr/lib/xen/boot/hvmloader"
|
|
boot = "c"
|
|
disk = [ "phy:/dev/sda8,hda,w", ",hdc:cdrom,r" ]
|