mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
f253dc90f5
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>
91 lines
1.9 KiB
JSON
91 lines
1.9 KiB
JSON
{
|
|
"c_info": {
|
|
"type": "hvm",
|
|
"name": "test-hvm",
|
|
"uuid": "2147d599-9cc6-c0dc-92ab-4064b5446e9b"
|
|
},
|
|
"b_info": {
|
|
"max_vcpus": 4,
|
|
"avail_vcpus": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"max_memkb": 1048576,
|
|
"target_memkb": 1048576,
|
|
"video_memkb": 8192,
|
|
"shadow_memkb": 12288,
|
|
"max_grant_frames": 64,
|
|
"device_model_version": "qemu_xen",
|
|
"device_model": "/bin/true",
|
|
"sched_params": {
|
|
|
|
},
|
|
"apic": "True",
|
|
"acpi": "True",
|
|
"type.hvm": {
|
|
"pae": "True",
|
|
"vga": {
|
|
"kind": "cirrus"
|
|
},
|
|
"vnc": {
|
|
"enable": "True",
|
|
"listen": "0.0.0.0",
|
|
"findunused": "False"
|
|
},
|
|
"sdl": {
|
|
"enable": "False"
|
|
},
|
|
"spice": {
|
|
|
|
},
|
|
"boot": "c",
|
|
"rdm": {
|
|
|
|
}
|
|
},
|
|
"arch_arm": {
|
|
|
|
}
|
|
},
|
|
"disks": [
|
|
{
|
|
"pdev_path": "/var/lib/xen/images/test-hvm.img",
|
|
"vdev": "hda",
|
|
"backend": "qdisk",
|
|
"format": "raw",
|
|
"removable": 1,
|
|
"readwrite": 1
|
|
}
|
|
],
|
|
"nics": [
|
|
{
|
|
"devid": 0,
|
|
"mac": "00:16:3e:66:12:b4",
|
|
"bridge": "br0",
|
|
"script": "/etc/xen/scripts/vif-bridge",
|
|
"nictype": "vif_ioemu"
|
|
}
|
|
],
|
|
"vfbs": [
|
|
{
|
|
"devid": -1,
|
|
"vnc": {
|
|
"enable": "True",
|
|
"listen": "0.0.0.0",
|
|
"findunused": "False"
|
|
},
|
|
"sdl": {
|
|
"enable": "False"
|
|
}
|
|
}
|
|
],
|
|
"vkbs": [
|
|
{
|
|
"devid": -1
|
|
}
|
|
],
|
|
"on_reboot": "restart"
|
|
}
|