On Fri, Oct 08, 2021 at 18:51:54 +0200, Andrea Bolognani wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1653327
> 
> Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
> ---
>  src/qemu/qemu_command.c                         | 17 ++++++++++++++---
>  .../virtio-iommu-aarch64.aarch64-latest.args    |  1 +
>  .../virtio-iommu-x86_64.x86_64-latest.args      |  1 +
>  3 files changed, 16 insertions(+), 3 deletions(-)



> @@ -6239,6 +6240,16 @@ qemuBuildIOMMUCommandLine(virCommand *cmd,
>          break;
>  
>      case VIR_DOMAIN_IOMMU_MODEL_VIRTIO:
> +        if (qemuBuildVirtioDevStr(&opts, "virtio-iommu", qemuCaps,
> +                                  VIR_DOMAIN_DEVICE_IOMMU, iommu) < 0) {
> +            return -1;
> +        }
> +
> +        if (qemuBuildDeviceAddressStr(&opts, def, &iommu->info) < 0)
> +            return -1;

Note that both function won't exist after I push my series refactoring
-device generation. You'll need to use the *Props versions.

Reply via email to