mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 00:25:23 +00:00
25456e0470
The preferred location for setting the nested CPU flag changed in Xen 4.10 and is advertised via the LIBXL_HAVE_BUILDINFO_NESTED_HVM define. Commit95d19cd0
changed libxl to use the new preferred location but unconditionally changed the tests, causing 'make check' failures against Xen < 4.10 that do not contain the new location. Commite94415d5
fixed the failures by only running the tests when LIBXL_HAVE_BUILDINFO_NESTED_HVM is defined. Since libvirt supports several versions of Xen that use the old nested location, it is prudent to test the flag is set correctly. This patch reintroduces the tests for the legacy location of the nested setting. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
61 lines
1.3 KiB
JSON
61 lines
1.3 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,
|
|
"cpuid": [
|
|
{
|
|
"leaf": 1,
|
|
"ecx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0",
|
|
"edx": "xxxxxxxxxxxxxxxxxxxxxxxxxxx1xxxx"
|
|
}
|
|
],
|
|
"sched_params": {
|
|
},
|
|
"type.hvm": {
|
|
"pae": "True",
|
|
"apic": "True",
|
|
"acpi": "True",
|
|
"nested_hvm": "False",
|
|
"nographic": "True",
|
|
"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"
|
|
}
|