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
