WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] stdvga: slow ioreq

To: xen-devel@xxxxxxxxxxxxxxxxxxx, "Robert Phillips" <rphillips@xxxxxxxxxxxxxxx>
Subject: [Xen-devel] stdvga: slow ioreq
From: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Date: Mon, 5 Nov 2007 13:05:04 +0200
Delivery-date: Mon, 05 Nov 2007 03:09:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
Hello Ropert!

Since changeset 16285 (xen-staging), I get the following output when I launch
a HVM guest and VGABios is running:

---------------------------------------------------------------------------------------
(XEN) intercept.c:172:d1 slow ioreq. type:1 size:1 addr:0xa0000 dir:0 ptr:1 
df:0 count:16
(XEN) intercept.c:172:d1 slow ioreq. type:1 size:1 addr:0xa0020 dir:0 ptr:1 
df:0 count:16
(XEN) intercept.c:172:d1 slow ioreq. type:1 size:1 addr:0xa0040 dir:0 ptr:1 
df:0 count:16
(XEN) intercept.c:172:d1 slow ioreq. type:1 size:1 addr:0xa0060 dir:0 ptr:1 
df:0 count:16
(XEN) intercept.c:172:d1 slow ioreq. type:1 size:1 addr:0xa0080 dir:0 ptr:1 
df:0 count:16
(XEN) intercept.c:172:d1 slow ioreq. type:1 size:1 addr:0xa00a0 dir:0 ptr:1 
df:0 count:16
[...]
(XEN) intercept.c:172:d1 slow ioreq. type:1 size:1 addr:0xa1fe0 dir:0 ptr:1 
df:0 count:16
------------------------------------------------------------------------------------------

This is not the full output (to keep this mail readable). The address output
starts from 0xa0000 and goes to 0xa1fe0 and it always increases by 0x20.
(So you can generate the full output yourself :)

The output comes from xen/arch/x86/intercept.c, function 
hvm_buffered_io_send().
It is this code snippet:

    /* Return 0 for the cases we can't deal with. */
    if ( (p->addr > 0xffffful) || p->data_is_ptr || p->df || (p->count != 1) )
    {
        gdprintk(XENLOG_DEBUG, "slow ioreq. type:%d size:%"PRIu64" addr:0x%"
                 PRIx64" dir:%d ptr:%d df:%d count:%"PRIu64"\n",
                 p->type, p->size, p->addr, !!p->dir,
                 !!p->data_is_ptr, !!p->df, p->count);
        return 0;
    }

It looks like the problem was there before changeset 16285 but got uncovered
with the addition of the debug output.

Christoph


-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>