Re: [patch 3/3] uqmaster: save/restore PIO page

Marcelo Tosatti
2010-01-28T21:18:35Z

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<mtosatti@redhat.com>
> >
> >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.