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

Anthony Liguori
2010-01-28T20:24:33Z

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?

Regards,

Anthony Liguori