summaryrefslogtreecommitdiffstats
path: root/target/i386/tcg/sysemu/excp_helper.c
diff options
context:
space:
mode:
authorLara Lazier2021-08-09 16:26:28 +0200
committerPaolo Bonzini2021-09-13 13:56:26 +0200
commit52fb8ad37aab791640174048b3d90ce9a576af63 (patch)
treea88ba22409b9373aa111f98eb900dc1748209d55 /target/i386/tcg/sysemu/excp_helper.c
parenttarget/i386: Added changed priority check for VIRQ (diff)
downloadqemu-52fb8ad37aab791640174048b3d90ce9a576af63.tar.gz
qemu-52fb8ad37aab791640174048b3d90ce9a576af63.tar.xz
qemu-52fb8ad37aab791640174048b3d90ce9a576af63.zip
target/i386: Added vVMLOAD and vVMSAVE feature
The feature allows the VMSAVE and VMLOAD instructions to execute in guest mode without causing a VMEXIT. (APM2 15.33.1) Signed-off-by: Lara Lazier <laramglazier@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/tcg/sysemu/excp_helper.c')
-rw-r--r--target/i386/tcg/sysemu/excp_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/tcg/sysemu/excp_helper.c b/target/i386/tcg/sysemu/excp_helper.c
index b6d940e04e..7af887be4d 100644
--- a/target/i386/tcg/sysemu/excp_helper.c
+++ b/target/i386/tcg/sysemu/excp_helper.c
@@ -358,7 +358,7 @@ do_check_protect_pse36:
return error_code;
}
-static hwaddr get_hphys(CPUState *cs, hwaddr gphys, MMUAccessType access_type,
+hwaddr get_hphys(CPUState *cs, hwaddr gphys, MMUAccessType access_type,
int *prot)
{
CPUX86State *env = &X86_CPU(cs)->env;