I've tried for about 12 hours+ to get ProxMox / qemu-server to support PCI Pass Through to a KVM running a Windows 2000 Guest, but no luck.
I'm running a CPU0: Intel(R) Xeon(R) CPU E5506 @ 2.13GHz stepping 05
The PCI Hardware is a MOXA PCI Serial Card. It was detected in lspci and lsmod showed that the driver was loaded (mxser) -- so I blacklisted the driver in /etc/modprobe.d/blacklist and restarted.
Yet when attempting to start the KVM with the following code in the /etc/qemu-server/101.cfg file:
The system errors out with:
if I do pcihost: 29:01.0 the guest just refuses to start w/o any error...
if I grep 'dmesg' for info I see DMAR, but no IOMMU line.
ACPI: DMAR 000000007f7f0000 000D8 (v01 IBM THURLEY 00000001 IBM 01000013)
I went onto ProxMox's site and installed the debs from pvetest/ that are dated July 07, 2010.
Is the kernel not compiled to support Intel Vt-D or what am I missing?
According to what I can find on Intel's site... the lack of a dmesg line stating:
Means that IOMMU isn't built into the kernel...
I also checked /proc/cpuinfo
the "vmd" flag is listed on the processors / cores
Thoughts on this?
Here's the walk thru from linux-kvm ... clearly IOMMU isn't working...
http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM
I'm running a CPU0: Intel(R) Xeon(R) CPU E5506 @ 2.13GHz stepping 05
The PCI Hardware is a MOXA PCI Serial Card. It was detected in lspci and lsmod showed that the driver was loaded (mxser) -- so I blacklisted the driver in /etc/modprobe.d/blacklist and restarted.
Yet when attempting to start the KVM with the following code in the /etc/qemu-server/101.cfg file:
Code:
args: -pcidevice host="29:01.0"
Code:
No IOMMU found. Unable to assign device "29:01.0"
Failed to deassign device "29:01.0" : Invalid argument
Error initializing device pci-assign
start failed: command '/usr/bin/kvm -monitor unix:/var/run/qemu-server/101.mon,server,nowait -vnc unix:/var/run/qemu-server/101.vnc,password -pidfile /var/run/qemu-server/101.pid -daemonize -usbdevice tablet -name rgv -smp sockets=1,cores=1 -nodefaults -boot menu=on,order=dc -vga cirrus -tdf -localtime -rtc-td-hack -k en-us -drive file=/var/lib/vz/images/101/vm-101-disk-1.raw,if=ide,index=0,boot=on -drive if=ide,index=2,media=cdrom -m 1024 -net tap,vlan=0,ifname=vmtab101i0,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=0,model=rtl8139,macaddr=EA:B7:9C:51:84:4D -pcidevice host=29:01.0' failed with exit code 1
if I grep 'dmesg' for info I see DMAR, but no IOMMU line.
ACPI: DMAR 000000007f7f0000 000D8 (v01 IBM THURLEY 00000001 IBM 01000013)
I went onto ProxMox's site and installed the debs from pvetest/ that are dated July 07, 2010.
Is the kernel not compiled to support Intel Vt-D or what am I missing?
According to what I can find on Intel's site... the lack of a dmesg line stating:
Code:
IOMMU feb03000: ver 1:0 cap c9008020e30260 ecap 1000
I also checked /proc/cpuinfo
the "vmd" flag is listed on the processors / cores
Thoughts on this?
Here's the walk thru from linux-kvm ... clearly IOMMU isn't working...
http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM