From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muli Ben-Yehuda Subject: Re: [PATCH 5/7] KVM/userspace: Device Assignment: Support for assigning PCI devices to guests Date: Tue, 23 Sep 2008 22:43:02 +0300 Message-ID: <20080923194302.GF6922@il.ibm.com> References: <1222181695-23418-1-git-send-email-amit.shah@redhat.com> <1222181695-23418-2-git-send-email-amit.shah@redhat.com> <1222181695-23418-3-git-send-email-amit.shah@redhat.com> <1222181695-23418-4-git-send-email-amit.shah@redhat.com> <1222181695-23418-5-git-send-email-amit.shah@redhat.com> <1222181695-23418-6-git-send-email-amit.shah@redhat.com> <48D919A8.8040409@codemonkey.ws> <20080923183207.GA6922@il.ibm.com> <48D9411B.8040905@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Amit Shah , avi@redhat.com, kvm@vger.kernel.org, Ben-Ami Yassour1 , weidong.han@intel.com, allen.m.kay@intel.com To: Anthony Liguori Return-path: Received: from mtagate5.uk.ibm.com ([195.212.29.138]:35788 "EHLO mtagate5.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751510AbYIWTpC (ORCPT ); Tue, 23 Sep 2008 15:45:02 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate5.uk.ibm.com (8.13.8/8.13.8) with ESMTP id m8NJhTox402442 for ; Tue, 23 Sep 2008 19:43:29 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8NJhTqW2510960 for ; Tue, 23 Sep 2008 20:43:29 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8NJhSSO013077 for ; Tue, 23 Sep 2008 20:43:29 +0100 Content-Disposition: inline In-Reply-To: <48D9411B.8040905@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Sep 23, 2008 at 02:18:51PM -0500, Anthony Liguori wrote: > Make sure you issue iopl() before any of the VCPU threads are > spawned. Otherwise, you may be running into issues when something > other than VCPU-0 is doing PIO/MMIO and you haven't iopl()'d for > that thread. Yeah, we thought of that, but as far as I can recall this happened with a single VCPU. In any case, we'll look into it again. Cheers, Muli -- The First Workshop on I/O Virtualization (WIOV '08) Dec 2008, San Diego, CA, http://www.usenix.org/wiov08/ xxx SYSTOR 2009---The Israeli Experimental Systems Conference http://www.haifa.il.ibm.com/conferences/systor2009/