mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 07:22:07 +03:00
e547e44cb0
Recent versions of Xen disable the virtual HPET by default. This is usually more precise because tick policies are not implemented for the HPET in Xen. However, there may be several reasons to control the HPET manually: 1) to test the emulation; 2) because distros may provide the knob while leaving the default to "enabled" for compatibility reasons. This patch provides support for the hpet item in both sexpr and xm formats, and translates it to a <timer> element. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
27 lines
603 B
INI
27 lines
603 B
INI
name = "XenGuest2"
|
|
uuid = "c7a5fdb2-cdaf-9455-926a-d65c16db1809"
|
|
maxmem = 579
|
|
memory = 394
|
|
vcpus = 1
|
|
builder = "hvm"
|
|
kernel = "/usr/lib/xen/boot/hvmloader"
|
|
boot = "d"
|
|
pae = 1
|
|
acpi = 1
|
|
apic = 1
|
|
localtime = 0
|
|
hpet = 1
|
|
on_poweroff = "destroy"
|
|
on_reboot = "restart"
|
|
on_crash = "restart"
|
|
device_model = "/usr/lib/xen/bin/qemu-dm"
|
|
sdl = 0
|
|
vnc = 1
|
|
vncunused = 1
|
|
vnclisten = "127.0.0.1"
|
|
vncpasswd = "123poi"
|
|
disk = [ "phy:/dev/HostVG/XenGuest2,hda,w", "file:/root/boot.iso,hdc:cdrom,r" ]
|
|
vif = [ "mac=00:16:3e:66:92:9c,bridge=xenbr1,script=vif-bridge,model=e1000,type=ioemu" ]
|
|
parallel = "none"
|
|
serial = "none"
|