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/
Home Products Support Community News


Re: [Xen-devel] [PATCH] Simulates the MSIx table read operation

To: konrad.wilk@xxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Simulates the MSIx table read operation
From: Liu Yuan <yetiboy1230@xxxxxxxxx>
Date: Wed, 11 Aug 2010 00:04:15 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Aug 2010 06:24:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=E0eFxpCjK37tuxOuKOe4Ww31Za/IOp6qJ63yI0fbE8Y=; b=K0cre1QCu88IggBbiCGGAE0xPvzty9uIdYfhmGa1Q2OLE+BnsCpqCP43z88Lprq+LY ++E9iNf0QZxP5v4KAMLRrWe90KlCrmbfASqu2uhL+/jyXtYTcpgPfzunpAZELA+eeG14 o6zp6Vqb2Ao+YmKuGmcj8ZHw0JRMHzRHendYQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=faJVb7LkwsmcaL2wG96KMijfwsNJmzUc5G6/lJs0AthzlVG/7hBDyPQkbXrJJukgRF 6nW4a4jcTibkNLZsGdsCl04gaHVPOaoIhbE9fxq3tu2YFl/Jvl4A9lmGTfRa9wc1TBDV BflS5YyA+3rEZ4pYtR37W3G+Y4ZYOrXUAFqgI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>I am having a hard time understanding this.  Is the issue here that
>read/write of the MSI-X table is being done in QEMU, and it is much
>better to do so in the hypervisor which traps already the mask/unmaks
>operation so that QEMU is not overwhelmed by having to do this?

Yes, having QEMU do this read operation,it needs much more CPU cycles and longer latency.

[before patch]
read path: Guest -> Xen -> QEMU -> XEN -> Guest
[after patch]
read path: Guest -> Xen -> Guest

Xen traps all the MSIx table operation. And before this patch, only mask/unmask is simulated in
Xen. With this patch applied, READ will be simulated and WRITE will *still* be forwarded to QEMU.

>With this in patch in place, wouldn't QEMU still do the read operation?


I am Multician, really
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH] Simulates the MSIx table read operation, Liu Yuan <=