From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] KVM: nSVM: Set correct port for IOIO interception evaluation Date: Tue, 1 Jul 2014 17:37:17 +0200 Message-ID: <20140701153717.GK26537@8bytes.org> References: <53B128B9.1030205@web.de> <53B12D94.2060900@web.de> <53B14187.2010104@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Paolo Bonzini , kvm , Valentine Sinitsyn To: Jan Kiszka Return-path: Received: from 8bytes.org ([85.214.48.195]:36812 "EHLO mail.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752920AbaGAPhU (ORCPT ); Tue, 1 Jul 2014 11:37:20 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.8bytes.org (Postfix) with SMTP id 2575212B320 for ; Tue, 1 Jul 2014 17:37:18 +0200 (CEST) Content-Disposition: inline In-Reply-To: <53B14187.2010104@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jun 30, 2014 at 12:52:55PM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > Obtaining the port number from DX is bogus as a) there are immediate > port accesses and b) user space may have changed the register content > while processing the PIO access. Forward the correct value from the > instruction emulator instead. > > Signed-off-by: Jan Kiszka Reviewed-by: Joerg Roedel Acked-by: Joerg Roedel