On 6/12/24 20:24, daggs via Users wrote: > Greetings, > > I wanted to know if it is possible to attach a virtual nic (shows up as 02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 20)) to the vfio module, when I modprobe it I get this error: > [ 854.624668] vfio-pci: probe of 0000:02:01.0 failed with error -22 No, you need to declare the vNIC with model 'virtio': <interface type='network'> <mac address='52:54:00:XX:XX:XX'/> <source network='default'/> <model type='virtio'/> </interface> Virtio is an interface that allows more effective data transfer between host and guest [1][2]. It's a paravirtualized device. In other words, if you started a guest and told hypervisor to emulate RTL8139 NIC then it'll do just that. 1: https://wiki.osdev.org/Virtio 2: https://wiki.libvirt.org/Virtio.html Michal