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

Re: [Xen-devel] [PATCH] x86/HVM: add missing assert to stdvga's mmio_move()


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Thu, 06 Dec 2012 15:55:34 +0000
  • Delivery-date: Thu, 06 Dec 2012 15:55:58 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac3TyiAo0VzMOoZu7k+NqYWkWYsQig==
  • Thread-topic: [Xen-devel] [PATCH] x86/HVM: add missing assert to stdvga's mmio_move()

On 06/12/2012 12:56, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> ... to match the IOREQ_READ path.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- a/xen/arch/x86/hvm/stdvga.c
> +++ b/xen/arch/x86/hvm/stdvga.c
> @@ -519,6 +519,7 @@ static int mmio_move(struct hvm_hw_stdvg
>                              put_page(dp);
>                          return 0;
>                      }
> +                    ASSERT(!dp);
>                      tmp = stdvga_mem_read(data, p->size);
>                  }
>                  stdvga_mem_write(addr, tmp, p->size);
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.