From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [patch 3/3] uqmaster: save/restore PIO page Date: Thu, 28 Jan 2010 14:24:28 -0600 Message-ID: <4B61F27C.5010508@codemonkey.ws> References: <20100128190300.414710338@redhat.com> <20100128190411.624005970@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 mail-yw0-f198.google.com ([209.85.211.198]:65005 "EHLO mail-yw0-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753149Ab0A1UYd (ORCPT ); Thu, 28 Jan 2010 15:24:33 -0500 Received: by ywh36 with SMTP id 36so1053248ywh.15 for ; Thu, 28 Jan 2010 12:24:32 -0800 (PST) In-Reply-To: <20100128190411.624005970@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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? Regards, Anthony Liguori