Skip to content

Allow (un)plugging whole IOMMU groups at once #3422

Description

@bensmrs

Is there an existing issue for this?

  • There is no existing issue for this feature

What are you currently unable to do

(As discussed in https://discuss.linuxcontainers.org/chat/c/-/7/7958 and following)

Adding a device part of an IOMMU group, e.g. when doing passthrough of a single port in a two-port NIC, results in an error like GenericError: vfio 0000:c6:00.0: group 10 is not viable.

What do you think would need to be added

  1. When possible, the error message should be clearer
  2. Make it so that PCI passthrough, whatever the way that triggers it (physical NIC, pci device…) checks that all the members of the IOMMU group are to be (un)plugged at once, then does it in a single QMP operation (if that’s even possible)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions