Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 02:05:23 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266642 - head/sys/amd64/vmm
Message-ID:  <201405250205.s4P25Npa043231@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: neel
Date: Sun May 25 02:05:23 2014
New Revision: 266642
URL: http://svnweb.freebsd.org/changeset/base/266642

Log:
  Remove restriction on insb/insw/insl emulation. These instructions are
  properly emulated.

Modified:
  head/sys/amd64/vmm/vmm_ioport.c

Modified: head/sys/amd64/vmm/vmm_ioport.c
==============================================================================
--- head/sys/amd64/vmm/vmm_ioport.c	Sun May 25 00:57:24 2014	(r266641)
+++ head/sys/amd64/vmm/vmm_ioport.c	Sun May 25 02:05:23 2014	(r266642)
@@ -173,14 +173,6 @@ emulate_inout_str(struct vm *vm, int vcp
 		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 */
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405250205.s4P25Npa043231>