[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 15/17] vfio-user: handle device interrupts
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v8 15/17] vfio-user: handle device interrupts |
Date: |
Mon, 25 Apr 2022 11:27:40 +0100 |
On Tue, Apr 19, 2022 at 04:44:20PM -0400, Jagannathan Raman wrote:
> +static MSIMessage vfu_object_msi_prepare_msg(PCIDevice *pci_dev,
> + unsigned int vector)
> +{
> + MSIMessage msg;
> +
> + msg.address = 0;
> + msg.data = vector;
> +
> + return msg;
> +}
> +
> +static void vfu_object_msi_trigger(PCIDevice *pci_dev, MSIMessage msg)
> +{
> + vfu_ctx_t *vfu_ctx = pci_dev->irq_opaque;
> +
> + vfu_irq_trigger(vfu_ctx, msg.data);
> +}
Why did you switch to vfu_object_msi_prepare_msg() +
vfu_object_msi_trigger() in this revision?
Stefan
signature.asc
Description: PGP signature
- Re: [PATCH v8 10/17] vfio-user: run vfio-user context, (continued)
[PATCH v8 13/17] vfio-user: handle DMA mappings, Jagannathan Raman, 2022/04/19
[PATCH v8 14/17] vfio-user: handle PCI BAR accesses, Jagannathan Raman, 2022/04/19
[PATCH v8 15/17] vfio-user: handle device interrupts, Jagannathan Raman, 2022/04/19
- Re: [PATCH v8 15/17] vfio-user: handle device interrupts,
Stefan Hajnoczi <=
[PATCH v8 16/17] vfio-user: handle reset of remote device, Jagannathan Raman, 2022/04/19
[PATCH v8 17/17] vfio-user: avocado tests for vfio-user, Jagannathan Raman, 2022/04/19
[PATCH v8 11/17] vfio-user: handle PCI config space accesses, Jagannathan Raman, 2022/04/19
[PATCH v8 08/17] vfio-user: instantiate vfio-user context, Jagannathan Raman, 2022/04/19
[PATCH v8 05/17] configure: require cmake 3.19 or newer, Jagannathan Raman, 2022/04/19
[PATCH v8 06/17] vfio-user: build library, Jagannathan Raman, 2022/04/19