summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm/intel/vmx.c
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-05-25 00:57:24 +0000
committerneel <neel@FreeBSD.org>2014-05-25 00:57:24 +0000
commitffc6a3825939d41297e840fd814e632c1e9beafa (patch)
tree88b474b3403d076cec0ddc0873ec0df3dbc90f68 /sys/amd64/vmm/intel/vmx.c
parent505c6cdc05fb89d0866357abe117e92040168175 (diff)
downloadFreeBSD-src-ffc6a3825939d41297e840fd814e632c1e9beafa.zip
FreeBSD-src-ffc6a3825939d41297e840fd814e632c1e9beafa.tar.gz
Do the linear address calculation for the ins/outs emulation using a new
API function 'vie_calculate_gla()'. While the current implementation is simplistic it forms the basis of doing segmentation checks if the guest is in 32-bit protected mode.
Diffstat (limited to 'sys/amd64/vmm/intel/vmx.c')
-rw-r--r--sys/amd64/vmm/intel/vmx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c
index 8efb667..1509931 100644
--- a/sys/amd64/vmm/intel/vmx.c
+++ b/sys/amd64/vmm/intel/vmx.c
@@ -2012,7 +2012,6 @@ vmx_exit_process(struct vmx *vmx, int vcpu, struct vm_exit *vmexit)
vis->count = inout_str_count(vmx, vcpu, vis->inout.rep);
vis->addrsize = inout_str_addrsize(inst_info);
inout_str_seginfo(vmx, vcpu, inst_info, in, vis);
- vis->gla = vmcs_gla();
}
break;
case EXIT_REASON_CPUID:
OpenPOWER on IntegriCloud