lost patch, I think we need t oapply it.

----- Mail transféré ----- 

De: "Kamil Trzciński" <ayu...@ayufan.eu> 
À: pve-devel@pve.proxmox.com 
Envoyé: Dimanche 29 Juin 2014 21:41:37 
Objet: [pve-devel] [PATCH] Reset device only if has_fl_reset is defined 


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 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to