kvm: svm: Add IA32_FLUSH_CMD guest support
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Wed, 1 Feb 2023 13:29:04 +0000 (08:29 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Mar 2023 14:18:04 +0000 (10:18 -0400)
commit723d5fb0ffe4c02bd4edf47ea02c02e454719f28
treec04045fb3a2ec1f8fd9a19241cc516f7c8bec2d7
parenta807b78ad04b2eaa348f52f5cc7702385b6de1ee
kvm: svm: Add IA32_FLUSH_CMD guest support

Expose IA32_FLUSH_CMD to the guest if the guest CPUID enumerates
support for this MSR. As with IA32_PRED_CMD, permission for
unintercepted writes to this MSR will be granted to the guest after
the first non-zero write.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20230201132905.549148-3-eesposit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c