mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +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.
25 lines
553 B
INI
25 lines
553 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" ]
|
|
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" ]
|