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


[Xen-devel] [PATCH v2 0 of 4] interrupt remapping in HVM guests

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH v2 0 of 4] interrupt remapping in HVM guests
From: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Date: Fri, 19 Nov 2010 13:07:19 +0000
Delivery-date: Fri, 19 Nov 2010 05:08:23 -0800
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
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
Hi all,
this is the second version of the patch series that implements the
mechanisms needed by a PV on HVM guest to remap interrupts and MSIs into
pirqs in order to receive those interrupts and MSIs as xen events.
This allows the guest to avoid any reads and writes to the emulated
The series consists of 4 patches, 2 patches for the hypervisor and 2
patches to qemu-xen; the changes are not interdependent.

Changes compared to the last version:

- Jan's comments have been addressed (the initialization of emuirq_pirq
and pirq_emuirq has been fixed);

- the new hvm specific part of physdev_map_pirq has been moved to a
separate function, called physdev_hvm_map_pirq;

- the hypercall PHYSDEVOP_get_nr_pirqs has been removed, a new hypercall
PHYSDEVOP_get_free_pirq has been introduced instead to allow a guest to
get a free pirq number from Xen; the hypervisor would keep that pirq
free for the guest to use in a mapping.

The list of patches follows:

xen: interrupt remapping in HVM guests
xen: introduce PHYSDEVOP_get_free_pirq
qemu-xen: support PV on HVM MSI remapping
qemu-xen: qemu-xen: let xen choose the pirq number


Stefano Stabellini

Xen-devel mailing list

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