Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2025-02-24 Thread Chen, Jiqian
Hi Anthony, On 2024/12/12 23:38, Anthony PERARD wrote: > On Tue, Dec 10, 2024 at 07:17:30AM +, Chen, Jiqian wrote: >> On 2024/11/19 00:05, Anthony PERARD wrote: >>> On Wed, Nov 06, 2024 at 02:14:18PM +0800, Jiqian Chen wrote: In PVH dom0, when passthrough a device to domU, QEMU code

Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-12-12 Thread Chen, Jiqian
On 2024/12/12 23:38, Anthony PERARD wrote: > On Tue, Dec 10, 2024 at 07:17:30AM +, Chen, Jiqian wrote: >> On 2024/11/19 00:05, Anthony PERARD wrote: >>> On Wed, Nov 06, 2024 at 02:14:18PM +0800, Jiqian Chen wrote: In PVH dom0, when passthrough a device to domU, QEMU code xen_pt_realiz

Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-12-12 Thread Anthony PERARD
On Tue, Dec 10, 2024 at 07:17:30AM +, Chen, Jiqian wrote: > On 2024/11/19 00:05, Anthony PERARD wrote: > > On Wed, Nov 06, 2024 at 02:14:18PM +0800, Jiqian Chen wrote: > >> In PVH dom0, when passthrough a device to domU, QEMU code > >> xen_pt_realize->xc_physdev_map_pirq wants to use gsi, but i

Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-12-09 Thread Chen, Jiqian
On 2024/11/19 00:05, Anthony PERARD wrote: > On Wed, Nov 06, 2024 at 02:14:18PM +0800, Jiqian Chen wrote: >> In PVH dom0, when passthrough a device to domU, QEMU code >> xen_pt_realize->xc_physdev_map_pirq wants to use gsi, but in current codes >> the gsi number is got from file /sys/bus/pci/device

Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-11-29 Thread Chen, Jiqian
On 2024/11/19 00:05, Anthony PERARD wrote: > On Wed, Nov 06, 2024 at 02:14:18PM +0800, Jiqian Chen wrote: >> In PVH dom0, when passthrough a device to domU, QEMU code >> xen_pt_realize->xc_physdev_map_pirq wants to use gsi, but in current codes >> the gsi number is got from file /sys/bus/pci/device

Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-11-18 Thread Chen, Jiqian
Hi MST and Marcel, On 2024/11/19 00:05, Anthony PERARD wrote: > On Wed, Nov 06, 2024 at 02:14:18PM +0800, Jiqian Chen wrote: >> In PVH dom0, when passthrough a device to domU, QEMU code >> xen_pt_realize->xc_physdev_map_pirq wants to use gsi, but in current codes >> the gsi number is got from file

Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-11-18 Thread Anthony PERARD
On Wed, Nov 06, 2024 at 02:14:18PM +0800, Jiqian Chen wrote: > In PVH dom0, when passthrough a device to domU, QEMU code > xen_pt_realize->xc_physdev_map_pirq wants to use gsi, but in current codes > the gsi number is got from file /sys/bus/pci/devices//irq, that is > wrong, because irq is not equa

Re: [QEMU PATCH v10] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-11-11 Thread Stewart Hildebrand
On 11/6/24 01:14, Jiqian Chen wrote: > In PVH dom0, when passthrough a device to domU, QEMU code > xen_pt_realize->xc_physdev_map_pirq wants to use gsi, but in current codes > the gsi number is got from file /sys/bus/pci/devices//irq, that is > wrong, because irq is not equal with gsi, they are in