libvirt/tests/libxlxml2domconfigdata/fullvirt-cpuid.json
Marek Marczykowski-Górecki 95d19cd015 libxl: prefer new location of nested_hvm in libxl_domain_build_info
If available, use b_info->nested_hvm instead of
b_info->u.hvm.nested_hvm. This will make nested HVM config available
also for PVH domains.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
2018-09-24 21:33:10 -06:00

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": {
},
"nested_hvm": "False",
"type.hvm": {
"pae": "True",
"apic": "True",
"acpi": "True",
"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"
}