qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC][PATCH 12/15] vmware-vga: Accept unaligned I/O acc


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC][PATCH 12/15] vmware-vga: Accept unaligned I/O accesses
Date: Mon, 06 May 2013 16:40:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 06/05/2013 16:26, Jan Kiszka ha scritto:
> Before switching to the memory core dispatcher, we need to make sure
> that this pv-device will continue to receive unaligned portio accesses.
> 
> Signed-off-by: Jan Kiszka <address@hidden>
> ---
>  hw/display/vmware_vga.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c
> index fd3569d..ec41681 100644
> --- a/hw/display/vmware_vga.c
> +++ b/hw/display/vmware_vga.c
> @@ -1241,6 +1241,10 @@ static const MemoryRegionOps vmsvga_io_ops = {
>      .valid = {
>          .min_access_size = 4,
>          .max_access_size = 4,
> +        .unaligned = true,
> +    },
> +    .impl = {
> +        .unaligned = true,
>      },
>  };
>  
> 

The Xen platform device needs the same.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]