libvirt/tests/libxlxml2domconfigdata/fullvirt-acpi-slic.json
Cole Robinson 72d4709ab9 tests: Fix libxlxml2domconfigtest with latest xen
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>
2022-10-30 12:34:02 -04: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": 1234,
"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"
}