qemu: add capability check for memballoon 'deflate-on-oom' feature

Add appropriate capability check and new virQEMUCaps flag for the new
virtio balloon feature. QEMU commit with the complete feature description:
http://git.qemu.org/?p=qemu.git;a=commit;h=e3816255bf4b6377bb405331e2ee0dc14d841b80
This commit is contained in:
Dmitry Andreev 2016-01-08 13:45:06 +03:00 committed by John Ferlan
parent 7bf3198df6
commit 3522a311ea
15 changed files with 896 additions and 72 deletions

View File

@ -1,7 +1,7 @@
/*
* qemu_capabilities.c: QEMU capabilities generation
*
* Copyright (C) 2006-2015 Red Hat, Inc.
* Copyright (C) 2006-2016 Red Hat, Inc.
* Copyright (C) 2006 Daniel P. Berrange
*
* This library is free software; you can redistribute it and/or
@ -313,6 +313,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
"ich9-disable-s4",
"vserport-change-event", /* 210 */
"virtio-balloon-pci.deflate-on-oom",
);
@ -1568,6 +1569,10 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
{ "virtio-input-host-pci", QEMU_CAPS_VIRTIO_INPUT_HOST },
};
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBalloon[] = {
{ "deflate-on-oom", QEMU_CAPS_VIRTIO_BALLOON_AUTODEFLATE },
};
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBlk[] = {
{ "multifunction", QEMU_CAPS_PCI_MULTIFUNCTION },
{ "bootindex", QEMU_CAPS_BOOTINDEX },
@ -1717,6 +1722,12 @@ static struct virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
ARRAY_CARDINALITY(virQEMUCapsObjectPropsVirtioGpu) },
{ "ICH9-LPC", virQEMUCapsObjectPropsICH9,
ARRAY_CARDINALITY(virQEMUCapsObjectPropsICH9) },
{ "virtio-balloon-pci", virQEMUCapsObjectPropsVirtioBalloon,
ARRAY_CARDINALITY(virQEMUCapsObjectPropsVirtioBalloon) },
{ "virtio-balloon-ccw", virQEMUCapsObjectPropsVirtioBalloon,
ARRAY_CARDINALITY(virQEMUCapsObjectPropsVirtioBalloon) },
{ "virtio-balloon-device", virQEMUCapsObjectPropsVirtioBalloon,
ARRAY_CARDINALITY(virQEMUCapsObjectPropsVirtioBalloon) },
};

View File

@ -1,7 +1,7 @@
/*
* qemu_capabilities.h: QEMU capabilities generation
*
* Copyright (C) 2006-2015 Red Hat, Inc.
* Copyright (C) 2006-2016 Red Hat, Inc.
* Copyright (C) 2006 Daniel P. Berrange
*
* This library is free software; you can redistribute it and/or
@ -341,6 +341,8 @@ typedef enum {
/* 210 */
QEMU_CAPS_VSERPORT_CHANGE, /* VSERPORT_CHANGE event */
QEMU_CAPS_VIRTIO_BALLOON_AUTODEFLATE, /* virtio-balloon-{device,pci,ccw}.
* deflate-on-oom */
QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags;

View File

@ -1614,6 +1614,60 @@
}
{
"return": [
{
"name": "command_serr_enable",
"type": "on/off"
},
{
"name": "multifunction",
"type": "on/off"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "string"
},
{
"name": "addr",
"type": "pci-devfn"
},
{
"name": "class",
"type": "hex32"
},
{
"name": "event_idx",
"type": "on/off"
},
{
"name": "indirect_desc",
"type": "on/off"
}
],
"id": "libvirt-33"
}
{
"id": "libvirt-34",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-device' not found"
}
}
{
"return": [
{
@ -1658,7 +1712,7 @@
"name": "none"
}
],
"id": "libvirt-33"
"id": "libvirt-36"
}
{
@ -1730,7 +1784,7 @@
"name": "Opteron_G4"
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -1738,11 +1792,11 @@
"enabled": false,
"present": true
},
"id": "libvirt-35"
"id": "libvirt-38"
}
{
"id": "libvirt-36",
"id": "libvirt-39",
"error": {
"class": "CommandNotFound",
"desc": "The command query-tpm-models has not been found"
@ -1750,7 +1804,7 @@
}
{
"id": "libvirt-37",
"id": "libvirt-40",
"error": {
"class": "CommandNotFound",
"desc": "The command query-tpm-types has not been found"
@ -1758,7 +1812,7 @@
}
{
"id": "libvirt-38",
"id": "libvirt-41",
"error": {
"class": "CommandNotFound",
"desc": "The command query-command-line-options has not been found"
@ -1772,5 +1826,5 @@
"state": false
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}

View File

@ -1792,6 +1792,60 @@
}
}
{
"return": [
{
"name": "command_serr_enable",
"type": "on/off"
},
{
"name": "multifunction",
"type": "on/off"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "string"
},
{
"name": "addr",
"type": "pci-devfn"
},
{
"name": "class",
"type": "hex32"
},
{
"name": "event_idx",
"type": "on/off"
},
{
"name": "indirect_desc",
"type": "on/off"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"id": "libvirt-36",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-device' not found"
}
}
{
"return": [
{
@ -1843,7 +1897,7 @@
"name": "none"
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -1921,7 +1975,7 @@
"name": "Opteron_G5"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -1929,11 +1983,11 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"id": "libvirt-37",
"id": "libvirt-40",
"error": {
"class": "CommandNotFound",
"desc": "The command query-tpm-models has not been found"
@ -1941,7 +1995,7 @@
}
{
"id": "libvirt-38",
"id": "libvirt-41",
"error": {
"class": "CommandNotFound",
"desc": "The command query-tpm-types has not been found"
@ -1949,7 +2003,7 @@
}
{
"id": "libvirt-39",
"id": "libvirt-42",
"error": {
"class": "CommandNotFound",
"desc": "The command query-command-line-options has not been found"
@ -1963,5 +2017,5 @@
"state": false
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -1840,6 +1840,60 @@
}
{
"return": [
{
"name": "command_serr_enable",
"type": "on/off"
},
{
"name": "multifunction",
"type": "on/off"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "string"
},
{
"name": "addr",
"type": "pci-devfn"
},
{
"name": "class",
"type": "hex32"
},
{
"name": "event_idx",
"type": "on/off"
},
{
"name": "indirect_desc",
"type": "on/off"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"id": "libvirt-36",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-device' not found"
}
}
{
"return": [
{
@ -1894,7 +1948,7 @@
"name": "none"
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -1972,7 +2026,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -1980,11 +2034,11 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"id": "libvirt-37",
"id": "libvirt-40",
"error": {
"class": "CommandNotFound",
"desc": "The command query-tpm-models has not been found"
@ -1992,7 +2046,7 @@
}
{
"id": "libvirt-38",
"id": "libvirt-41",
"error": {
"class": "CommandNotFound",
"desc": "The command query-tpm-types has not been found"
@ -2000,7 +2054,7 @@
}
{
"id": "libvirt-39",
"id": "libvirt-42",
"error": {
"class": "CommandNotFound",
"desc": "The command query-command-line-options has not been found"
@ -2014,5 +2068,5 @@
"state": false
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -1913,6 +1913,58 @@
}
}
{
"return": [
{
"name": "command_serr_enable",
"type": "on/off"
},
{
"name": "multifunction",
"type": "on/off"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "string"
},
{
"name": "addr",
"type": "pci-devfn"
},
{
"name": "class",
"type": "hex32"
},
{
"name": "event_idx",
"type": "on/off"
},
{
"name": "indirect_desc",
"type": "on/off"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"return": [
],
"id": "libvirt-36"
}
{
"return": [
{
@ -1983,7 +2035,7 @@
"cpu-max": 1
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -2061,7 +2113,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -2069,19 +2121,19 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"return": [
],
"id": "libvirt-37"
"id": "libvirt-40"
}
{
"return": [
],
"id": "libvirt-38"
"id": "libvirt-41"
}
{
@ -2757,7 +2809,7 @@
"option": "drive"
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}
{
@ -2767,5 +2819,5 @@
"state": false
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -1975,6 +1975,58 @@
}
}
{
"return": [
{
"name": "command_serr_enable",
"type": "on/off"
},
{
"name": "multifunction",
"type": "on/off"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "string"
},
{
"name": "addr",
"type": "pci-devfn"
},
{
"name": "class",
"type": "hex32"
},
{
"name": "event_idx",
"type": "on/off"
},
{
"name": "indirect_desc",
"type": "on/off"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"return": [
],
"id": "libvirt-36"
}
{
"return": [
{
@ -2061,7 +2113,7 @@
"cpu-max": 1
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -2139,7 +2191,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -2147,19 +2199,19 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"return": [
],
"id": "libvirt-37"
"id": "libvirt-40"
}
{
"return": [
],
"id": "libvirt-38"
"id": "libvirt-41"
}
{
@ -2737,7 +2789,7 @@
"option": "drive"
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}
{
@ -2759,5 +2811,5 @@
"state": false
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -1939,6 +1939,58 @@
}
}
{
"return": [
{
"name": "command_serr_enable",
"type": "on/off"
},
{
"name": "multifunction",
"type": "on/off"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "string"
},
{
"name": "addr",
"type": "pci-devfn"
},
{
"name": "class",
"type": "hex32"
},
{
"name": "event_idx",
"type": "on/off"
},
{
"name": "indirect_desc",
"type": "on/off"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"return": [
],
"id": "libvirt-36"
}
{
"return": [
{
@ -2033,7 +2085,7 @@
"cpu-max": 1
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -2111,7 +2163,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -2119,19 +2171,19 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"return": [
],
"id": "libvirt-37"
"id": "libvirt-40"
}
{
"return": [
],
"id": "libvirt-38"
"id": "libvirt-41"
}
{
@ -2719,7 +2771,7 @@
"option": "drive"
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}
{
@ -2741,5 +2793,5 @@
"state": false
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -2385,6 +2385,70 @@
}
}
{
"return": [
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
"name": "guest-stats",
"type": "guest statistics"
},
{
"name": "virtio-backend",
"type": "child<virtio-balloon-device>"
},
{
"name": "command_serr_enable",
"type": "on/off"
},
{
"name": "multifunction",
"type": "on/off"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "str"
},
{
"name": "addr",
"type": "pci-devfn"
},
{
"name": "event_idx",
"type": "on/off"
},
{
"name": "indirect_desc",
"type": "on/off"
},
{
"name": "class",
"type": "uint32"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"return": [
],
"id": "libvirt-36"
}
{
"return": [
{
@ -2495,7 +2559,7 @@
"cpu-max": 255
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -2576,7 +2640,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -2584,21 +2648,21 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"return": [
"tpm-tis"
],
"id": "libvirt-37"
"id": "libvirt-40"
}
{
"return": [
"passthrough"
],
"id": "libvirt-38"
"id": "libvirt-41"
}
{
@ -3458,7 +3522,7 @@
"option": "drive"
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}
{
@ -3480,5 +3544,5 @@
"capability": "zero-blocks"
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -170,4 +170,5 @@
<flag name='ich9-disable-s3'/>
<flag name='ich9-disable-s4'/>
<flag name='vserport-change-event'/>
<flag name='virtio-balloon-pci.deflate-on-oom'/>
</qemuCaps>

View File

@ -2836,6 +2836,138 @@
}
{
"return": [
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
"name": "guest-stats",
"type": "guest statistics"
},
{
"name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
"name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
"name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
"name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
"name": "deflate-on-oom",
"description": "on/off",
"type": "bool"
},
{
"name": "virtio-backend",
"type": "child<virtio-balloon-device>"
},
{
"name": "command_serr_enable",
"description": "on/off",
"type": "bool"
},
{
"name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "romfile",
"type": "str"
},
{
"name": "addr",
"description": "Slot and optional function number, example: 06.0 or 06",
"type": "int32"
},
{
"name": "disable-modern",
"description": "on/off",
"type": "bool"
},
{
"name": "disable-legacy",
"description": "on/off",
"type": "bool"
},
{
"name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
"name": "class",
"type": "uint32"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"return": [
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
"name": "guest-stats",
"type": "guest statistics"
},
{
"name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
"name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
"name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
"name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
"name": "deflate-on-oom",
"description": "on/off",
"type": "bool"
}
],
"id": "libvirt-36"
}
{
"return": [
{
@ -2962,7 +3094,7 @@
"cpu-max": 255
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -3052,7 +3184,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -3060,21 +3192,21 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"return": [
"tpm-tis"
],
"id": "libvirt-37"
"id": "libvirt-40"
}
{
"return": [
"passthrough"
],
"id": "libvirt-38"
"id": "libvirt-41"
}
{
@ -4078,7 +4210,7 @@
"option": "drive"
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}
{
@ -4108,5 +4240,5 @@
"capability": "events"
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -171,4 +171,5 @@
<flag name='ich9-disable-s3'/>
<flag name='ich9-disable-s4'/>
<flag name='vserport-change-event'/>
<flag name='virtio-balloon-pci.deflate-on-oom'/>
</qemuCaps>

View File

@ -2841,6 +2841,153 @@
}
{
"return": [
{
"name": "disable-modern",
"description": "on/off",
"type": "bool"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
"name": "class",
"type": "uint32"
},
{
"name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
"name": "guest-stats",
"type": "guest statistics"
},
{
"name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
"name": "migrate-extra",
"description": "on/off",
"type": "bool"
},
{
"name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
"name": "modern-pio-notify",
"description": "on/off",
"type": "bool"
},
{
"name": "romfile",
"type": "str"
},
{
"name": "virtio-backend",
"type": "child<virtio-balloon-device>"
},
{
"name": "disable-legacy",
"description": "on/off",
"type": "bool"
},
{
"name": "command_serr_enable",
"description": "on/off",
"type": "bool"
},
{
"name": "x-disable-pcie",
"description": "on/off",
"type": "bool"
},
{
"name": "addr",
"description": "Slot and optional function number, example: 06.0 or 06",
"type": "int32"
},
{
"name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
"name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
"name": "deflate-on-oom",
"description": "on/off",
"type": "bool"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"return": [
{
"name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
"name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
"name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
"name": "guest-stats",
"type": "guest statistics"
},
{
"name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
"name": "deflate-on-oom",
"description": "on/off",
"type": "bool"
}
],
"id": "libvirt-36"
}
{
"return": [
{
@ -2967,7 +3114,7 @@
"cpu-max": 255
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -3057,7 +3204,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -3065,21 +3212,21 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"return": [
"tpm-tis"
],
"id": "libvirt-37"
"id": "libvirt-40"
}
{
"return": [
"passthrough"
],
"id": "libvirt-38"
"id": "libvirt-41"
}
{
@ -4083,7 +4230,7 @@
"option": "drive"
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}
{
@ -4113,5 +4260,5 @@
"capability": "events"
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}

View File

@ -173,4 +173,5 @@
<flag name='ich9-disable-s3'/>
<flag name='ich9-disable-s4'/>
<flag name='vserport-change-event'/>
<flag name='virtio-balloon-pci.deflate-on-oom'/>
</qemuCaps>

View File

@ -2841,6 +2841,153 @@
}
{
"return": [
{
"name": "disable-modern",
"description": "on/off",
"type": "bool"
},
{
"name": "rombar",
"type": "uint32"
},
{
"name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
"name": "class",
"type": "uint32"
},
{
"name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
"name": "guest-stats",
"type": "guest statistics"
},
{
"name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
"name": "migrate-extra",
"description": "on/off",
"type": "bool"
},
{
"name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
"name": "modern-pio-notify",
"description": "on/off",
"type": "bool"
},
{
"name": "romfile",
"type": "str"
},
{
"name": "virtio-backend",
"type": "child<virtio-balloon-device>"
},
{
"name": "disable-legacy",
"description": "on/off",
"type": "bool"
},
{
"name": "command_serr_enable",
"description": "on/off",
"type": "bool"
},
{
"name": "x-disable-pcie",
"description": "on/off",
"type": "bool"
},
{
"name": "addr",
"description": "Slot and optional function number, example: 06.0 or 06",
"type": "int32"
},
{
"name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
"name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
"name": "deflate-on-oom",
"description": "on/off",
"type": "bool"
}
],
"id": "libvirt-34"
}
{
"id": "libvirt-35",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
}
}
{
"return": [
{
"name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
"name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
"name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
"name": "guest-stats",
"type": "guest statistics"
},
{
"name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
"name": "deflate-on-oom",
"description": "on/off",
"type": "bool"
}
],
"id": "libvirt-36"
}
{
"return": [
{
@ -2967,7 +3114,7 @@
"cpu-max": 255
}
],
"id": "libvirt-34"
"id": "libvirt-37"
}
{
@ -3057,7 +3204,7 @@
"name": "qemu64"
}
],
"id": "libvirt-35"
"id": "libvirt-38"
}
{
@ -3065,21 +3212,21 @@
"enabled": false,
"present": true
},
"id": "libvirt-36"
"id": "libvirt-39"
}
{
"return": [
"tpm-tis"
],
"id": "libvirt-37"
"id": "libvirt-40"
}
{
"return": [
"passthrough"
],
"id": "libvirt-38"
"id": "libvirt-41"
}
{
@ -4087,7 +4234,7 @@
"option": "drive"
}
],
"id": "libvirt-39"
"id": "libvirt-42"
}
{
@ -4117,5 +4264,5 @@
"capability": "events"
}
],
"id": "libvirt-40"
"id": "libvirt-43"
}