diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index c3b682cd..86e10be8 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3103,7 +3103,7 @@ sub config_to_command { # host pci device passthrough my ($kvm_off, $gpu_passthrough, $legacy_igd) = PVE::QemuServer::PCI::print_hostpci_devices( - $conf, $devices, $winversion, $q35, $bridges, $arch, $machine_type); + $vmid, $conf, $devices, $winversion, $q35, $bridges, $arch, $machine_type); # usb devices my $usb_dev_features = {}; diff --git a/PVE/QemuServer/PCI.pm b/PVE/QemuServer/PCI.pm index f1e2bb33..cb368458 100644 --- a/PVE/QemuServer/PCI.pm +++ b/PVE/QemuServer/PCI.pm @@ -357,7 +357,7 @@ sub parse_hostpci { } sub print_hostpci_devices { - my ($conf, $devices, $winversion, $q35, $bridges, $arch, $machine_type) = @_; + my ($vmid, $conf, $devices, $winversion, $q35, $bridges, $arch, $machine_type) = @_; my $kvm_off = 0; my $gpu_passthrough = 0;