I received the following error message when trying to passthrough a NIC that is connect via PCI.
VM creation error
internal error: qemu unexpectedly closed the monitor: qxl_send_events: spice-server bug: guest stopped, ignoring
2023-12-05T19:43:35.447318Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:07:00.0","id":"hostdev0","bus":"pci.0","addr":"0x6"}: vfio 0000:07:00.0: failed to setup container for group 11: Failed to set group container: Operation not permitted.