mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Fix test_vfio
The new kernel 5.12 requires the devices to be manually bound to vfio-pci while adding a new_id is only needed once per device_id:vendor_id pair. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -3559,7 +3559,7 @@ mod tests {
|
||||
).unwrap();
|
||||
guest
|
||||
.ssh_command_l1(
|
||||
"echo 1af4 1041 | sudo tee /sys/bus/pci/drivers/vfio-pci/new_id",
|
||||
"echo 0000:00:08.0 | sudo tee /sys/bus/pci/drivers/vfio-pci/bind",
|
||||
)
|
||||
.unwrap();
|
||||
let vfio_hotplug_output = guest
|
||||
|
||||
Reference in New Issue
Block a user