From: Joerg Roedel joerg.roe...@amd.com
This patch adds a test to check if the NX bit is checked in
the NPT emulation of KVM.
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/x86/svm.c b/x86/svm.c
index 7c7909e..05e15b1 100644
---
From: Joerg Roedel joerg.roe...@amd.com
This patch adds a test to check if the selective cr0
intercept emulation of the kvm svm emulation works.
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/x86/svm.c b/x86/svm.c
index 2f1c900..689880d
From: Joerg Roedel joerg.roe...@amd.com
This patch adds a test to check if the RSVD bits are checked in
the NPT emulation of KVM.
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/x86/svm.c b/x86/svm.c
index 04ca028..03e07e2 100644
---
From: Joerg Roedel joerg.roe...@amd.com
This patch adds code to setup a nested page table which is
used for all tests.
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/x86/svm.c b/x86/svm.c
index 689880d..7c7909e 100644
--- a/x86/svm.c
+++
From: Joerg Roedel joerg.roe...@amd.com
This patch adds a test to check if the US bit is checked in
the NPT emulation of KVM.
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/x86/svm.c b/x86/svm.c
index 05e15b1..04ca028 100644
---
From: Joerg Roedel joerg.roe...@amd.com
This patch adds a test to check if the RW bit is checked in
the NPT emulation of KVM.
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/x86/svm.c b/x86/svm.c
index 03e07e2..3421736 100644
---
From: Joerg Roedel joerg.roe...@amd.com
This patch adds a test to check if NPT faults that occur
while walking the guest page table are reported correctly.
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/x86/svm.c b/x86/svm.c
index