mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 07:39:26 +00:00
fix mdev cmdline generation
during refactoring, the vmid got lost, but is necessary to get
the correct mdev id
Fixes commit 74c17b7a23
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
[ reference fixed commit ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d85703a49b
commit
7de7f675c2
@ -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 = {};
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user