J
johnpaul24
Guest
I have a Supermicro board with Intel ® C2SBA_II G33 + ICH9R Chipset and an Intel Core 2 Quad Q9300.
In the bios of the board have enabled VT-d
I performed the steps in http://pve.proxmox.com/wiki/Pci_passthrough
I run the command "dmesg | grep-e DMAR-e IOMMU" and get the following
ACPI: _MAR 000000007f485c41 0012F (v01 Intel OEMDMAR 06040000 LOHR 00000001)
Intel-IOMMU: enabled
I created a VM to which you want to assign a network card and I've added in the configuration file (100.conf) line:
hostpci0: 11:00.0
The file has been this:
bootdisk: SATA0
cores: 1
ide2: cdrom, media = cdrom
Memory: 512
name: elastix
net0: rtl8139 = C2: 48:38: A4: 92:0 D, bridge = vmbr0
ostype: l26
SATA0: local: 100/vm-100-disk-1.raw, size = 32G
Sockets: 1
hostpci0: 11:00.0
When I run: qm start 100
I get this error:
PCI region 1 has size at 0xd0300000 address 0x100, Which is not a multiple of 4K. You might experience some performance hit due to that.
IOMMU not found. Unable to assign device "hostpci0"
kvm:-device pci-assign, host = 11:00.0, id = hostpci0, bus = pci.0, addr = 0x10: Device 'pci-assign' could not be initialized
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 elastix-smp' sockets = 1, cores = 1 '-nodefaults-boot' menu = on '-vga cirrus-k is-m 512-1000-usbdevice cpuunits tablet-device' pci-assign, host = 11:00.0, id = hostpci0, bus = pci.0, addr = 0x10 '-drive' file = / dev / cdrom, 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.raw, if = none, id = drive-SATA0, aio = native, cache = none '-device' ide-drive, bus = ahci0.0, drive = drive-SATA0, id = SATA0, bootindex = 100 '-netdev' type = tap, id = net0, tap100i0 ifname =, script = / var / lib / qemu-server / pve-bridge '-device' rtl8139, mac = C2: 48:38: A4: 92:0 D, netdev = net0, bus = pci.0, addr = 0x12, id = net0, bootindex = 300'' failed: exit code 1
If I remove the line "hostpci0: 11:00.0" everything works perfect, what is the mistake I'm making, thanks for your help.
In the bios of the board have enabled VT-d
I performed the steps in http://pve.proxmox.com/wiki/Pci_passthrough
I run the command "dmesg | grep-e DMAR-e IOMMU" and get the following
ACPI: _MAR 000000007f485c41 0012F (v01 Intel OEMDMAR 06040000 LOHR 00000001)
Intel-IOMMU: enabled
I created a VM to which you want to assign a network card and I've added in the configuration file (100.conf) line:
hostpci0: 11:00.0
The file has been this:
bootdisk: SATA0
cores: 1
ide2: cdrom, media = cdrom
Memory: 512
name: elastix
net0: rtl8139 = C2: 48:38: A4: 92:0 D, bridge = vmbr0
ostype: l26
SATA0: local: 100/vm-100-disk-1.raw, size = 32G
Sockets: 1
hostpci0: 11:00.0
When I run: qm start 100
I get this error:
PCI region 1 has size at 0xd0300000 address 0x100, Which is not a multiple of 4K. You might experience some performance hit due to that.
IOMMU not found. Unable to assign device "hostpci0"
kvm:-device pci-assign, host = 11:00.0, id = hostpci0, bus = pci.0, addr = 0x10: Device 'pci-assign' could not be initialized
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 elastix-smp' sockets = 1, cores = 1 '-nodefaults-boot' menu = on '-vga cirrus-k is-m 512-1000-usbdevice cpuunits tablet-device' pci-assign, host = 11:00.0, id = hostpci0, bus = pci.0, addr = 0x10 '-drive' file = / dev / cdrom, 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.raw, if = none, id = drive-SATA0, aio = native, cache = none '-device' ide-drive, bus = ahci0.0, drive = drive-SATA0, id = SATA0, bootindex = 100 '-netdev' type = tap, id = net0, tap100i0 ifname =, script = / var / lib / qemu-server / pve-bridge '-device' rtl8139, mac = C2: 48:38: A4: 92:0 D, netdev = net0, bus = pci.0, addr = 0x12, id = net0, bootindex = 300'' failed: exit code 1
If I remove the line "hostpci0: 11:00.0" everything works perfect, what is the mistake I'm making, thanks for your help.