mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
qemu: Introduce QEMU_CAPS_OBJECT_MEMORY_FILE_PMEM capability
This capability tracks if memory-backend-file has the pmem attribute or not. Signed-off-by: Luyao Zhong <luyao.zhong@intel.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
e9b28cc9bc
commit
55b4fc78b6
@ -516,6 +516,9 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
"machine.pseries.cap-nested-hv",
|
||||
"egl-headless.rendernode",
|
||||
"memory-backend-file.align",
|
||||
|
||||
/* 325 */
|
||||
"memory-backend-file.pmem",
|
||||
);
|
||||
|
||||
|
||||
@ -1367,6 +1370,7 @@ static virQEMUCapsObjectTypeProps virQEMUCapsDeviceProps[] = {
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendFile[] = {
|
||||
{ "discard-data", QEMU_CAPS_OBJECT_MEMORY_FILE_DISCARD },
|
||||
{ "align", QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN },
|
||||
{ "pmem", QEMU_CAPS_OBJECT_MEMORY_FILE_PMEM },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendMemfd[] = {
|
||||
|
@ -501,6 +501,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_EGL_HEADLESS_RENDERNODE, /* -display egl-headless,rendernode= */
|
||||
QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN, /* -object memory-backend-file,align= */
|
||||
|
||||
/* 325 */
|
||||
QEMU_CAPS_OBJECT_MEMORY_FILE_PMEM, /* -object memory-backend-file,pmem= */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
||||
|
@ -167,6 +167,7 @@
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='machine.pseries.cap-nested-hv'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='memory-backend-file.pmem'/>
|
||||
<version>3000091</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>437731</microcodeVersion>
|
||||
|
@ -210,6 +210,7 @@
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='egl-headless.rendernode'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='memory-backend-file.pmem'/>
|
||||
<version>3000092</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>440395</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user