mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
qemu: Introduce QEMU_CAPS_MACHINE_PSERIES_CAP_NESTED_HV
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
e95bcd8d18
commit
0029eace52
@ -515,6 +515,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
|||||||
/* 320 */
|
/* 320 */
|
||||||
"memory-backend-memfd.hugetlb",
|
"memory-backend-memfd.hugetlb",
|
||||||
"iothread.poll-max-ns",
|
"iothread.poll-max-ns",
|
||||||
|
"machine.pseries.cap-nested-hv",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -1372,6 +1373,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendMemfd[]
|
|||||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsSPAPRMachine[] = {
|
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsSPAPRMachine[] = {
|
||||||
{ "cap-hpt-max-page-size", QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE },
|
{ "cap-hpt-max-page-size", QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE },
|
||||||
{ "cap-htm", QEMU_CAPS_MACHINE_PSERIES_CAP_HTM },
|
{ "cap-htm", QEMU_CAPS_MACHINE_PSERIES_CAP_HTM },
|
||||||
|
{ "cap-nested-hv", QEMU_CAPS_MACHINE_PSERIES_CAP_NESTED_HV },
|
||||||
};
|
};
|
||||||
|
|
||||||
static virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
|
static virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
|
||||||
|
@ -499,6 +499,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
|||||||
/* 320 */
|
/* 320 */
|
||||||
QEMU_CAPS_OBJECT_MEMORY_MEMFD_HUGETLB, /* -object memory-backend-memfd.hugetlb */
|
QEMU_CAPS_OBJECT_MEMORY_MEMFD_HUGETLB, /* -object memory-backend-memfd.hugetlb */
|
||||||
QEMU_CAPS_IOTHREAD_POLLING, /* -object iothread.poll-max-ns */
|
QEMU_CAPS_IOTHREAD_POLLING, /* -object iothread.poll-max-ns */
|
||||||
|
QEMU_CAPS_MACHINE_PSERIES_CAP_NESTED_HV, /* -machine pseries.cap-nested-hv */
|
||||||
|
|
||||||
QEMU_CAPS_LAST /* this must always be the last item */
|
QEMU_CAPS_LAST /* this must always be the last item */
|
||||||
} virQEMUCapsFlags;
|
} virQEMUCapsFlags;
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
<flag name='memory-backend-memfd'/>
|
<flag name='memory-backend-memfd'/>
|
||||||
<flag name='memory-backend-memfd.hugetlb'/>
|
<flag name='memory-backend-memfd.hugetlb'/>
|
||||||
<flag name='iothread.poll-max-ns'/>
|
<flag name='iothread.poll-max-ns'/>
|
||||||
|
<flag name='machine.pseries.cap-nested-hv'/>
|
||||||
<version>3000091</version>
|
<version>3000091</version>
|
||||||
<kvmVersion>0</kvmVersion>
|
<kvmVersion>0</kvmVersion>
|
||||||
<microcodeVersion>437731</microcodeVersion>
|
<microcodeVersion>437731</microcodeVersion>
|
||||||
|
@ -1981,6 +1981,7 @@ mymain(void)
|
|||||||
QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
|
QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
|
||||||
QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE,
|
QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE,
|
||||||
QEMU_CAPS_MACHINE_PSERIES_CAP_HTM,
|
QEMU_CAPS_MACHINE_PSERIES_CAP_HTM,
|
||||||
|
QEMU_CAPS_MACHINE_PSERIES_CAP_NESTED_HV,
|
||||||
QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT);
|
QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT);
|
||||||
DO_TEST_FAILURE("pseries-features",
|
DO_TEST_FAILURE("pseries-features",
|
||||||
QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE);
|
QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE);
|
||||||
|
@ -621,6 +621,7 @@ mymain(void)
|
|||||||
QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
|
QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
|
||||||
QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE,
|
QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE,
|
||||||
QEMU_CAPS_MACHINE_PSERIES_CAP_HTM,
|
QEMU_CAPS_MACHINE_PSERIES_CAP_HTM,
|
||||||
|
QEMU_CAPS_MACHINE_PSERIES_CAP_NESTED_HV,
|
||||||
QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT);
|
QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT);
|
||||||
|
|
||||||
DO_TEST("pseries-serial-native",
|
DO_TEST("pseries-serial-native",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user