[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] stdvga: avoid bogus warning message
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1268158552 0 # Node ID 6e72f8c3c01733ae5e6f9db4db61a2a9db344a11 # Parent 9923e27010643fb4db72546171d9fccbc6156e22 stdvga: avoid bogus warning message Prevents stdvga to print the 'unsupported mmio request type' warning when the actual request type is 'IOREQ_TYPE_COPY'. This avoids confusion. Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> xen-unstable changeset: 21018:5f08fd0d6249 xen-unstable date: Tue Mar 09 12:34:39 2010 +0000 --- xen/arch/x86/hvm/stdvga.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -r 9923e2701064 -r 6e72f8c3c017 xen/arch/x86/hvm/stdvga.c --- a/xen/arch/x86/hvm/stdvga.c Tue Mar 09 18:15:19 2010 +0000 +++ b/xen/arch/x86/hvm/stdvga.c Tue Mar 09 18:15:52 2010 +0000 @@ -561,8 +561,9 @@ static int stdvga_intercept_mmio(ioreq_t { case IOREQ_TYPE_COPY: buf = mmio_move(s, p); - if ( buf ) - break; + if ( !buf ) + s->cache = 0; + break; default: gdprintk(XENLOG_WARNING, "unsupported mmio request type:%d " "addr:0x%04x data:0x%04x size:%d count:%d state:%d " _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |