mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 01:04:59 +00:00
hap is enabled by default in xm and xl config and usually only specified when it is desirable to disable hap (hap = 0). Change the xm,xl <-> xml converter to behave similarly. I.e. only produce 'hap = 0' when <hap state='off'/> and vice versa. Signed-off-by: Jim Fehlig <jfehlig@suse.com>
27 lines
574 B
INI
27 lines
574 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 = "/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" ]
|
|
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" ]
|