From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [patch 3/3] uqmaster: save/restore PIO page Date: Thu, 28 Jan 2010 19:10:04 -0200 Message-ID: <20100128211004.GA20196@amt.cnet> References: <20100128190300.414710338@redhat.com> <20100128190411.624005970@redhat.com> <4B61F27C.5010508@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, quintela@redhat.com To: Anthony Liguori Return-path: Received: from mx1.redhat.com ([209.132.183.28]:48476 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932161Ab0A1VSf (ORCPT ); Thu, 28 Jan 2010 16:18:35 -0500 Content-Disposition: inline In-Reply-To: <4B61F27C.5010508@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Jan 28, 2010 at 02:24:28PM -0600, Anthony Liguori wrote: > On 01/28/2010 01:03 PM, Marcelo Tosatti wrote: > >KVM uses a page mapped by userspace as a buffer for PIO. > > > >Save/restore it. > > > >Signed-off-by: Marcelo Tosatti > > > >Index: qemu-kvm/target-i386/cpu.h > >=================================================================== > >--- qemu-kvm.orig/target-i386/cpu.h > >+++ qemu-kvm/target-i386/cpu.h > >@@ -716,6 +716,7 @@ typedef struct CPUX86State { > > uint32_t cpuid_kvm_features; > > > > KVMPIOState kvm_pio; > >+ uint8_t kvm_pio_page[4096]; > > TARGET_PAGE_SIZE? Yep, will do on next respin.