[TEST PATCH 3/5] SVM: Add #defines for valid encodings of TLB_CONTROL VMCB field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx>
---
 x86/svm.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/x86/svm.h b/x86/svm.h
index ae35d08..660956d 100644
--- a/x86/svm.h
+++ b/x86/svm.h
@@ -360,6 +360,11 @@ struct __attribute__ ((__packed__)) vmcb {
 
 #define MSR_BITMAP_SIZE 8192
 
+#define TLB_CONTROL_DO_NOTHING			0
+#define TLB_CONTROL_FLUSH_ALL_ASID		1
+#define TLB_CONTROL_FLUSH_ASID			3
+#define TLB_CONTROL_FLUSH_ASID_LOCAL		7
+
 struct svm_test {
 	const char *name;
 	bool (*supported)(void);
-- 
2.27.0




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux