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

[Xen-changelog] [xen-unstable] stdvga: avoid bogus warning message



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1268138079 0
# Node ID 5f08fd0d6249ed9522b9cdf6e928210da5739dab
# Parent  83a8e561f3ffc7916ecb156f6cbc6fe9ec719b7b
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/arch/x86/hvm/stdvga.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -r 83a8e561f3ff -r 5f08fd0d6249 xen/arch/x86/hvm/stdvga.c
--- a/xen/arch/x86/hvm/stdvga.c Tue Mar 09 12:32:04 2010 +0000
+++ b/xen/arch/x86/hvm/stdvga.c Tue Mar 09 12:34:39 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


 


Rackspace

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