libvirt/tests/libxlxml2domconfigdata/fullvirt-acpi-slic.json
Marek Marczykowski-Górecki f253dc90f5 libxl: use b_info->{acpi,acpi} when available
b_info->u.hvm.{acpi,apic} are deprecated. But also, on recent libxl
version (4.14) the old one seems to be broken. While libxl part should
be fixed too, update the usage here and at some point drop support for
the old version.
b_info->acpi was added in Xen 4.8
b_info->apic was added in Xen 4.10
Xen 4.10 is the oldest version that still has security support (until
December 2020).

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
2020-09-18 08:51:47 +02:00

57 lines
1.1 KiB
JSON

{
"c_info": {
"type": "hvm",
"name": "XenGuest2",
"uuid": "c7a5fdb2-cdaf-9455-926a-d65c16db1809"
},
"b_info": {
"max_vcpus": 1,
"avail_vcpus": [
0
],
"max_memkb": 592896,
"target_memkb": 403456,
"shadow_memkb": 5656,
"sched_params": {
},
"apic": "True",
"acpi": "True",
"type.hvm": {
"pae": "True",
"acpi_firmware": "/path/to/slic.dat",
"nographic": "True",
"vga": {
"kind": "none"
},
"vnc": {
"enable": "False"
},
"sdl": {
"enable": "False"
},
"spice": {
},
"boot": "c",
"rdm": {
}
},
"arch_arm": {
}
},
"disks": [
{
"pdev_path": "/dev/HostVG/XenGuest2",
"vdev": "hda",
"backend": "phy",
"format": "raw",
"removable": 1,
"readwrite": 1
}
],
"on_reboot": "restart",
"on_crash": "restart"
}