mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 02:13:27 +00:00
72d4709ab9
shadow_memkb is populated from a libxl API call, and the value can change. For example: https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=2c992810854a15b41be920519ce83a4a328d5168 Mock libxl_get_required_shadow_memory to give consistent output Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
64 lines
1.3 KiB
JSON
64 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": 1234,
|
|
"cpuid": [
|
|
{
|
|
"leaf": 1,
|
|
"ecx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0",
|
|
"edx": "xxxxxxxxxxxxxxxxxxxxxxxxxxx1xxxx"
|
|
}
|
|
],
|
|
"sched_params": {
|
|
},
|
|
"nested_hvm": "False",
|
|
"apic": "True",
|
|
"acpi": "True",
|
|
"type.hvm": {
|
|
"pae": "True",
|
|
"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"
|
|
}
|