mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-10 01:18:01 +03:00
Reset device only if has_fl_reset is defined
Signed-off-by: Kamil Trzciński <ayufan@ayufan.eu>
This commit is contained in:
parent
cba2311f72
commit
8f3e88af00
@ -3370,7 +3370,7 @@ sub vm_start {
|
||||
die "can't unbind/bind to stub pci device '$pciid'\n" if !pci_dev_bind_to_stub($info);
|
||||
}
|
||||
|
||||
die "can't reset pci device '$pciid'\n" if !pci_dev_reset($info);
|
||||
die "can't reset pci device '$pciid'\n" if $info->{has_fl_reset} and !pci_dev_reset($info);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user