Re: [PATCH v4 06/11] hw/i386: Move vIOMMU uniqueness check into pc.c

2021-10-05 Thread Eric Auger
Hi jean, On 10/1/21 7:33 PM, Jean-Philippe Brucker wrote: > We're about to need this check for a third vIOMMU, virtio-iommu, which > doesn't inherit X86IOMMUState as it doesn't support IRQ remapping and is > a virtio device. Move the check into the pre_plug callback to be shared > by all three

[PATCH v4 06/11] hw/i386: Move vIOMMU uniqueness check into pc.c

2021-10-01 Thread Jean-Philippe Brucker
We're about to need this check for a third vIOMMU, virtio-iommu, which doesn't inherit X86IOMMUState as it doesn't support IRQ remapping and is a virtio device. Move the check into the pre_plug callback to be shared by all three vIOMMUs. Signed-off-by: Jean-Philippe Brucker --- hw/i386/pc.c