* [PATCH] xen: silence stdvga
@ 2010-03-09 10:56 Christoph Egger
0 siblings, 0 replies; only message in thread
From: Christoph Egger @ 2010-03-09 10:56 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
Hi!
Attached patch 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@amd.com>
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
[-- Attachment #2: xen_stdvga.diff --]
[-- Type: text/x-diff, Size: 603 bytes --]
diff -r fa5fd3c5ed42 xen/arch/x86/hvm/stdvga.c
--- a/xen/arch/x86/hvm/stdvga.c Tue Mar 09 11:46:08 2010 +0100
+++ b/xen/arch/x86/hvm/stdvga.c Tue Mar 09 11:51:56 2010 +0100
@@ -561,8 +563,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 "
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-09 10:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 10:56 [PATCH] xen: silence stdvga Christoph Egger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).