x86/HVM: add missing assert to stdvga's mmio_move()
PATCH 1/1 x86/HVM: add missing assert to stdvga's mmio_move()
... to match the IOREQ_READ path.
Signed-off-by Jan Beulich <[email protected]>
xen/arch/x86/hvm/stdvga.c +1 -0
@@ -519,6 +519,7 @@ static int mmio_move(struct hvm_hw_stdvgput_page (dp);return 0 ; } +ASSERT (!dp); tmp =stdvga_mem_read (data, p->size); }stdvga_mem_write (addr, tmp, p->size);
x86/HVM: add missing assert to stdvga's mmio_move()
... to match the IOREQ_READ path.
Signed-off-by Jan Beulich <[email protected]>
xen/arch/x86/hvm/stdvga.c +1 -0
@@ -519,6 +519,7 @@ static int mmio_move(struct hvm_hw_stdvgput_page (dp);return 0 ; } +ASSERT (!dp); tmp =stdvga_mem_read (data, p->size); }stdvga_mem_write (addr, tmp, p->size);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 3 lines · Jan Beulich
... to match the
IOREQ_READpath.Signed-off-by Jan Beulich <[email protected]>
Acked-by Keir Fraser <[email protected]>
Quoted 17 lines
xen/arch/x86/hvm/stdvga.c +1
-0@@ -519,6 +519,7 @@ static int mmio_move(struct hvm_hw_stdvgput_page (dp);return 0 ; } +ASSERT (!dp); tmp =stdvga_mem_read (data, p->size); }stdvga_mem_write (addr, tmp, p->size);_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel