xen: silence stdvga
PATCH 1/1 xen: silence stdvga
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 <[email protected]>
Signature · 6 lines
---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
xen/arch/x86/hvm/stdvga.c +3 -2
@@ -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 "
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel