From owner-svn-src-all@FreeBSD.ORG Sun May 25 02:05:23 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8E39DD7; Sun, 25 May 2014 02:05:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D698E2142; Sun, 25 May 2014 02:05:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4P25N0l043232; Sun, 25 May 2014 02:05:23 GMT (envelope-from neel@svn.freebsd.org) Received: (from neel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4P25Npa043231; Sun, 25 May 2014 02:05:23 GMT (envelope-from neel@svn.freebsd.org) Message-Id: <201405250205.s4P25Npa043231@svn.freebsd.org> From: Neel Natu Date: Sun, 25 May 2014 02:05:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266642 - head/sys/amd64/vmm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 02:05:24 -0000 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 */ }