Hello everyone, hope can guide me a little about it, I want to achieve the pci passthrough on my hp microserver g8, but when I add the lines manual virtual machine does not want to start :
kvm : -device pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 : No IOMMU found. Unable to assign device " hostpci0 "
kvm : -device pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 : Device initialization failed .
kvm : -device pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 : Device ' kvm- pci- assign ' could not be initialized
TASK ERROR : start failed: command ' / usr / bin / kvm -id 100 - chardev ' socket , id = QMP , path = / var/run/qemu-server/100.qmp , server , nowait '- mon ' chardev = qMP , mode = control " -vnc unix :/ var/run/qemu-server/100.vnc , x509 , password - pidfile / var/run/qemu-server/100.pid - daemonize -name WindowsServer2012R2 -smp ' sockets = 1 cores = 2 ' - nodefaults - boot' menu = on ' -vga vmware -no- HPET -cpu ' kvm64 , hv_spinlocks = 0xffff , hv_relaxed , + lahf_lm , x2apic + + Sep -k - is -m 4096 cpuunits 1000 -device ' PIIX3 - usb-uhci , uhci id = , = pci.0 bus , addr = 0x1.0x2 ' -device 'usb -tablet , id = tablet, bus = uhci.0 , port = 1' -device ' pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 ' -device ' virtio -balloon -pci , id = balloon0 , bus = pci.0 , addr = 0x3 ' -drive 'file=/var/lib/vz/template/iso/Windows_Server_2012_R2.ISO,if=none,id=drive-ide2,media=cdrom,aio=native' -device ' ide -cd , bus = ide.1 , unit = 0 , drive = drive- ide2 , id = ide2 , bootindex = 200' -device ' ahci , id = ahci0 , multifunction = on, bus = pci.0 , addr = 0x7 ' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-sata0,format=qcow2,aio=native,cache=none' -device ' ide -drive, bus = ahci0.0 , drive = drive- SATA0 , id = SATA0 , bootindex = 100' - netdev ' type = tap, id = net0 , ifname = tap100i0 , script = / var / lib / qemu -server/pve-bridge ' -device ' e1000 , mac = 22:2 F: 25:32 : B8 : 78, netdev = net0 , bus = pci.0 , addr = 0x12 , id = net0 , bootindex = 300 ' - rtc - overall ' ' driftfix = slew , base = localtime ' kvm- pit.lost_tick_policy = discard'' failed : exit code 1
any idea ?
best regards
kvm : -device pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 : No IOMMU found. Unable to assign device " hostpci0 "
kvm : -device pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 : Device initialization failed .
kvm : -device pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 : Device ' kvm- pci- assign ' could not be initialized
TASK ERROR : start failed: command ' / usr / bin / kvm -id 100 - chardev ' socket , id = QMP , path = / var/run/qemu-server/100.qmp , server , nowait '- mon ' chardev = qMP , mode = control " -vnc unix :/ var/run/qemu-server/100.vnc , x509 , password - pidfile / var/run/qemu-server/100.pid - daemonize -name WindowsServer2012R2 -smp ' sockets = 1 cores = 2 ' - nodefaults - boot' menu = on ' -vga vmware -no- HPET -cpu ' kvm64 , hv_spinlocks = 0xffff , hv_relaxed , + lahf_lm , x2apic + + Sep -k - is -m 4096 cpuunits 1000 -device ' PIIX3 - usb-uhci , uhci id = , = pci.0 bus , addr = 0x1.0x2 ' -device 'usb -tablet , id = tablet, bus = uhci.0 , port = 1' -device ' pci -assign , host = 06:04.0 , id = hostpci0 , bus = pci.0 , addr = 0x10 ' -device ' virtio -balloon -pci , id = balloon0 , bus = pci.0 , addr = 0x3 ' -drive 'file=/var/lib/vz/template/iso/Windows_Server_2012_R2.ISO,if=none,id=drive-ide2,media=cdrom,aio=native' -device ' ide -cd , bus = ide.1 , unit = 0 , drive = drive- ide2 , id = ide2 , bootindex = 200' -device ' ahci , id = ahci0 , multifunction = on, bus = pci.0 , addr = 0x7 ' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-sata0,format=qcow2,aio=native,cache=none' -device ' ide -drive, bus = ahci0.0 , drive = drive- SATA0 , id = SATA0 , bootindex = 100' - netdev ' type = tap, id = net0 , ifname = tap100i0 , script = / var / lib / qemu -server/pve-bridge ' -device ' e1000 , mac = 22:2 F: 25:32 : B8 : 78, netdev = net0 , bus = pci.0 , addr = 0x12 , id = net0 , bootindex = 300 ' - rtc - overall ' ' driftfix = slew , base = localtime ' kvm- pit.lost_tick_policy = discard'' failed : exit code 1
any idea ?
best regards