summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx_shadow_fields.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/vmx_shadow_fields.h')
-rw-r--r--arch/x86/kvm/vmx_shadow_fields.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx_shadow_fields.h b/arch/x86/kvm/vmx_shadow_fields.h
index 31d7a15338ac..cd0c75f6d037 100644
--- a/arch/x86/kvm/vmx_shadow_fields.h
+++ b/arch/x86/kvm/vmx_shadow_fields.h
@@ -17,6 +17,12 @@
* (e.g. force a sync if VM_INSTRUCTION_ERROR is modified
* by nested_vmx_failValid)
*
+ * When adding or removing fields here, note that shadowed
+ * fields must always be synced by prepare_vmcs02, not just
+ * prepare_vmcs02_full.
+ */
+
+/*
* Keeping the fields ordered by size is an attempt at improving
* branch prediction in vmcs_read_any and vmcs_write_any.
*/
OpenPOWER on IntegriCloud