vmcb.c due to it being unnecessary
Changes since v1:
- Change a test condition from if it had the vgif feature to if it's
enabled in the vmcb
- Update for the use of C99 bool type
- Added else in vgif init code in vmcb.c
Brian Woods (2):
x86/svm: Add virtual GIF feature definition
Add support for enabling the virtual GIF feature.
Signed-off-by: Brian Woods
---
xen/include/asm-x86/hvm/svm/svm.h | 2 ++
xen/include/asm-x86/hvm/svm/vmcb.h | 6 --
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/xen/include/asm-x86/hvm/svm/svm.h
b/xen/include/asm-x86/hvm
This patch detects and enables Virtual GIF if available. This allows
a nested hypervisor to perform STGIs and CLGIs without having to be
intercepted by host hypervisor.
Signed-off-by: Brian Woods
---
xen/arch/x86/hvm/svm/nestedsvm.c | 7 ++-
xen/arch/x86/hvm/svm/svm.c | 1 +
xen/arch
to if it's
enabled in the vmcb
- Update for the use of C99 bool type
There was some discussion in the irc channel so I'm not sure if there's
going be another version soon or not. I need to fix the style error I
have with the else anyway.
Thank you for the feedback.
--
Brian W
This patch detects and enables Virtual GIF if available. This allows
a nested hypervisor to perform STGIs and CLGIs without having to be
intercepted by host hypervisor.
Signed-off-by: Brian Woods
---
xen/arch/x86/hvm/svm/nestedsvm.c | 7 ++-
xen/arch/x86/hvm/svm/svm.c | 1 +
xen
http://support.amd.com/TechDocs/24593.pdf
Section: Virtual GIF (Section 15.33.2)
This patch series adds support to check for and enable the virtual
GIF features if available.
These patches were tested on a AMD family 17h (EPYC 7401) system.
Brian Woods (2):
x86/svm: Add virtual GIF feature
Add support for enabling the virtual GIF feature.
Signed-off-by: Brian Woods
---
xen/include/asm-x86/hvm/svm/svm.h | 2 ++
xen/include/asm-x86/hvm/svm/vmcb.h | 6 --
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/xen/include/asm-x86/hvm/svm/svm.h
b/xen/include/asm-x86/hvm
This patch detects and enables Virtual GIF if available. This allows
a nested hypervisor to perform STGIs and CLGIs without having to be
intercepted by host hypervisor.
Signed-off-by: Brian Woods
---
xen/arch/x86/hvm/svm/nestedsvm.c | 7 ++-
xen/arch/x86/hvm/svm/svm.c | 1 +
xen/arch
Add support for enabling the virtual GIF feature.
Signed-off-by: Brian Woods
---
xen/include/asm-x86/hvm/svm/svm.h | 2 ++
xen/include/asm-x86/hvm/svm/vmcb.h | 6 --
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/xen/include/asm-x86/hvm/svm/svm.h
b/xen/include/asm-x86/hvm
http://support.amd.com/TechDocs/24593.pdf
Section: Virtual GIF (Section 15.33.2)
This patch series adds support to check for and enable the virtual
GIF features if available.
These patches were tested on a AMD family 17h (EPYC 7401) system.
Brian Woods (2):
x86/svm: Add virtual GIF feature
it if there are no other comments.
>
> All 3 patches Reviewed-by: Andrew Cooper
>
> ~Andrew
>
My mistake. Years of lknf has made it a habit. I'll make sure to
double check next time. Attached is the git format-patch for that
commit.
--
Brian Woods
>From b0d7916a5a350
From: Brian Woods
Adding support for enabling the virtual VMLOAD/VMSAVE feature..
Signed-off-by: Brian Woods
---
xen/include/asm-x86/hvm/svm/svm.h | 2 ++
xen/include/asm-x86/hvm/svm/vmcb.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/xen/include/asm-x86/hvm/svm/svm.h
b/xen/include
From: Brian Woods
Rename the lbr_control field in the vmcb for future/upcoming changes.
Signed-off-by: Brian Woods
---
xen/arch/x86/hvm/svm/nestedsvm.c| 10 +-
xen/arch/x86/hvm/svm/svm.c | 2 +-
xen/include/asm-x86/hvm/svm/nestedsvm.h | 4 ++--
xen/include/asm
From: Brian Woods
x86/svm: virtual VMLOAD/VMSAVE
On AMD family 17h server processors, there is a feature called virtual
VMLOAD/VMSAVE. This allows a nested hypervisor to preform a VMLOAD or
VMSAVE without needing to be intercepted by the host hypervisor.
Virtual VMLOAD/VMSAVE requires the host
From: Brian Woods
On AMD family 17h server processors, there is a feature called virtual
VMLOAD/VMSAVE. This allows a nested hypervisor to preform a VMLOAD or
VMSAVE without needing to be intercepted by the host hypervisor.
Virtual VMLOAD/VMSAVE requires the host hypervisor to be in long mode
15 matches
Mail list logo