[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/HVM: add missing assert to stdvga's mmio_move()
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1354884357 -3600 # Node ID 18b25321cea6142391921dbad56765eb32cd4f90 # Parent b62bd62b26836fafe19cf41fec194bcf33e2ead6 x86/HVM: add missing assert to stdvga's mmio_move() ... to match the IOREQ_READ path. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> --- diff -r b62bd62b2683 -r 18b25321cea6 xen/arch/x86/hvm/stdvga.c --- a/xen/arch/x86/hvm/stdvga.c Fri Dec 07 13:44:32 2012 +0100 +++ b/xen/arch/x86/hvm/stdvga.c Fri Dec 07 13:45:57 2012 +0100 @@ -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-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |