summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-05-25 02:05:23 +0000
committerneel <neel@FreeBSD.org>2014-05-25 02:05:23 +0000
commit07a8a1c99a3ef58125a43b7a327e3dfbbb84a401 (patch)
tree60271c12ec59bb99b27426795252de31ed589422 /sys/amd64
parentffc6a3825939d41297e840fd814e632c1e9beafa (diff)
downloadFreeBSD-src-07a8a1c99a3ef58125a43b7a327e3dfbbb84a401.zip
FreeBSD-src-07a8a1c99a3ef58125a43b7a327e3dfbbb84a401.tar.gz
Remove restriction on insb/insw/insl emulation. These instructions are
properly emulated.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/vmm/vmm_ioport.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/amd64/vmm/vmm_ioport.c b/sys/amd64/vmm/vmm_ioport.c
index c462625..72cf709 100644
--- a/sys/amd64/vmm/vmm_ioport.c
+++ b/sys/amd64/vmm/vmm_ioport.c
@@ -173,14 +173,6 @@ emulate_inout_str(struct vm *vm, int vcpuid, struct vm_exit *vmexit, bool *retu)
return (EINVAL);
}
- /*
- * XXX insb/insw/insd instructions not emulated at this time.
- */
- if (in) {
- VCPU_CTR0(vm, vcpuid, "ins emulation not implemented");
- return (EINVAL);
- }
-
*retu = true;
return (0); /* Return to userspace to finish emulation */
}
OpenPOWER on IntegriCloud