Signed-off-by: Kamil Trzciński <ayu...@ayufan.eu>
---
 PVE/QemuServer.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index abed0c1..0c81d95 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -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);
          }
         }
 
-- 
1.7.10.4

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to