mirror of
				https://git.proxmox.com/git/qemu-server
				synced 2025-11-01 10:07:25 +00: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
	 Kamil Trzciński
						Kamil Trzciński