mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: Introduce QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN capability
This capability tracks if memory-backend-file has the align 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
db521e7d03
commit
e9b28cc9bc
@ -514,7 +514,8 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
"memory-backend-memfd.hugetlb",
|
||||
"iothread.poll-max-ns",
|
||||
"machine.pseries.cap-nested-hv",
|
||||
"egl-headless.rendernode"
|
||||
"egl-headless.rendernode",
|
||||
"memory-backend-file.align",
|
||||
);
|
||||
|
||||
|
||||
@ -1365,6 +1366,7 @@ static virQEMUCapsObjectTypeProps virQEMUCapsDeviceProps[] = {
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendFile[] = {
|
||||
{ "discard-data", QEMU_CAPS_OBJECT_MEMORY_FILE_DISCARD },
|
||||
{ "align", QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendMemfd[] = {
|
||||
|
@ -499,6 +499,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_IOTHREAD_POLLING, /* -object iothread.poll-max-ns */
|
||||
QEMU_CAPS_MACHINE_PSERIES_CAP_NESTED_HV, /* -machine pseries.cap-nested-hv */
|
||||
QEMU_CAPS_EGL_HEADLESS_RENDERNODE, /* -display egl-headless,rendernode= */
|
||||
QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN, /* -object memory-backend-file,align= */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -165,6 +165,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>345725</microcodeVersion>
|
||||
|
@ -163,6 +163,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>426509</microcodeVersion>
|
||||
|
@ -132,6 +132,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>2012000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>375102</microcodeVersion>
|
||||
|
@ -206,6 +206,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>414371</microcodeVersion>
|
||||
|
@ -163,6 +163,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>2012050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>444946</microcodeVersion>
|
||||
|
@ -103,6 +103,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
|
@ -103,6 +103,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
|
@ -134,6 +134,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>388416</microcodeVersion>
|
||||
|
@ -208,6 +208,7 @@
|
||||
<flag name='memory-backend-memfd'/>
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>425972</microcodeVersion>
|
||||
|
@ -166,6 +166,7 @@
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='machine.pseries.cap-nested-hv'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>3000091</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>437731</microcodeVersion>
|
||||
|
@ -209,6 +209,7 @@
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='egl-headless.rendernode'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<version>3000092</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>440395</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user