db/leaf_8000000a: Add Page modification logging
PATCH 1/1 db/leaf_8000000a: Add Page modification logging
Page modification logging(PML) is hardware feature designed to track guest modified memory pages. PML enables the hypervisor to identify which pages in a guest's memory have been changed since the last checkpoint or during live migration.
--- db/xml/leaf_8000000a.xml | 5 +++++ 1 file changed, 5 insertions(+)
db/xml/leaf_8000000a.xml +5 -0
@@ -14,6 +14,11 @@ <ebx> <bit0 len="32" id="svm_nasid" desc="Number of address space identifiers (ASID)" /> </ebx> + <ecx> + <bit4 len="1" id="pml" desc="Page modification logging (PML)"> + <linux feature="true" proc="false" /> + </bit4> + </ecx> <edx> <desc>SVM feature flags</desc> <bit0 len="1" id="nested_pt" desc="Nested paging">
Signature · 1 line
2.43.0
Ahmed S. Darwish
reviewerHi,
Quoted 16 lines · Nikunj A Dadhania
Page modification logging(PML) is hardware feature designed to track guest modified memory pages. PML enables the hypervisor to identify which pages in a guest's memory have been changed since the last checkpoint or during live migration.
Signed-off-by Nikunj A Dadhania <[email protected]>--- db/xml/leaf_8000000a.xml | 5 +++++ 1 file changed, 5 insertions(+)db/xml/leaf_8000000a.xml +0
-0
db/xml/leaf_8000000a.xml line 22
Quoted 9 lines
db/xml/leaf_8000000a.xml +5
-0@@ -14,6 +14,11 @@ <ebx> <bit0 len="32" id="svm_nasid" desc="Number of address space identifiers (ASID)" /> </ebx> + <ecx> + <bit4 len="1" id="pml" desc="Page modification logging (PML)"> + <linux feature="true" proc="false" /> + </bit4> + </ecx>
Thanks a lot for the patch.
feature="true" means that the Linux kernel will have an X86_FEATURE_PML flag at some point. I've quickly searched LKML, and I didn't find any draft patches for such a flag.
If that feature flag is not planned, there's no need to send a v2. I'll just set feature="false" before merging to tip.
Thanks!
--
Ahmed S. Darwish
Linutronix GmbH
Quoted 31 lines · Ahmed S. Darwish
Hi,
Quoted 16 lines · Nikunj A Dadhania
Page modification logging(PML) is hardware feature designed to track guest modified memory pages. PML enables the hypervisor to identify which pages in a guest's memory have been changed since the last checkpoint or during live migration.
Signed-off-by Nikunj A Dadhania <[email protected]>--- db/xml/leaf_8000000a.xml | 5 +++++ 1 file changed, 5 insertions(+)db/xml/leaf_8000000a.xml +0
-0db/xml/leaf_8000000a.xml line 22
Quoted 9 lines
db/xml/leaf_8000000a.xml +5
-0@@ -14,6 +14,11 @@ <ebx> <bit0 len="32" id="svm_nasid" desc="Number of address space identifiers (ASID)" /> </ebx> + <ecx> + <bit4 len="1" id="pml" desc="Page modification logging (PML)"> + <linux feature="true" proc="false" /> + </bit4> + </ecx>Thanks a lot for the patch.
Quoted 3 lines
feature="true" means that the Linux kernel will have an
X86_FEATURE_PMLflag at some point. I've quickly searched LKML, and I didn't find any draft patches for such a flag.
I will be sending a patch on LKML adding X86_FEATURE_PML.
Quoted 3 lines
If that feature flag is not planned, there's no need to send a v2. I'll just set feature="false" before merging to tip.
Regards,
Nikunj
Ahmed S. Darwish
reviewerQuoted 3 lines · Nikunj A. Dadhania
I will be sending a patch on LKML adding
X86_FEATURE_PML.
Perfect; I've merged the patch to tip:
https://gitlab.com/x86-cpuid.org/x86-cpuid-db/-/commit/af088a2d1b32
Thanks!
--
Ahmed S. Darwish
Linutronix GmbH