From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [patch 1/3] KVM: x86: add ioctls to get/set PIO state Date: Thu, 04 Feb 2010 21:16:47 +0200 Message-ID: <4B6B1D1F.1080701@redhat.com> References: <20100128190300.414710338@redhat.com> <20100128190411.495771070@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, quintela@redhat.com To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39644 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932078Ab0BDTQx (ORCPT ); Thu, 4 Feb 2010 14:16:53 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o14JGrOk012749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Feb 2010 14:16:53 -0500 In-Reply-To: <20100128190411.495771070@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/28/2010 09:03 PM, Marcelo Tosatti wrote: > A vcpu can be stopped after handling IO in userspace, > but before returning to kernel to finish processing. > > Is this strictly needed? If we teach qemu to migrate before executing the pio request, I think we'll be all right? should work at least for IN/INS, not sure about OUT/OUTS. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.