Jan Kiszka wrote:
What IRQ is the sky2 using when assigned to the host? Is it really a
shared IRQ (I bet not as it should be using MSI)?
Also, check in the libvirt logs what qemu-kvm reports on the console.
Jan
The output from 'cat /proc/interrupts' directly after boot is in the
sky2.interrupts.
The relevant line from the output is
35: 0 0 0 0 1
0 0 0 PCI-MSI-edge sky2@pci:0000:04:00.0
So it looks like it is using MSI (although I don't have clue what that
means).
The log file for my domain (the name is "other") is attached in "other.log"
In the log file I see:
No IOMMU found. Unable to assign device "hostdev0"
Does this mean that I don't have IOMMU available on my laptop? The
output from 'dmesg | grep -i IOMMU' showed that Intel-IOMMI was enabled,
but perhaps that means only that the IOMMU option is activated but not
that it is really functioning.
It must be either (1) Intel VT-d available on my laptop and there is
some configuration/software problem or (2) The output from dmesg is
misleading. What do you think?
Cheers
Erik
--
Nonsense and other useful things: http://brakkee.org
MountainHoppers: http://mountainhoppers.nl
Track Detective: http://trackdetective.com
Twitter: http://twitter.com/ErikBrakkee
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
0: 879 0 0 145987 0 0 0 0 IO-APIC-edge timer
1: 178 0 0 37 0 0 0 0 IO-APIC-edge i8042
8: 0 0 0 15 0 0 0 0 IO-APIC-edge rtc0
9: 1702 0 0 133 0 0 0 0 IO-APIC-fasteoi acpi
12: 0 0 0 149 0 0 0 0 IO-APIC-edge i8042
16: 0 20448 0 0 0 0 429 0 IO-APIC-fasteoi ehci_hcd:usb1, ohci1394, hda_intel, nvidia
17: 0 0 0 0 0 0 0 0 IO-APIC-fasteoi mmc0
19: 0 0 0 0 0 0 0 0 IO-APIC-fasteoi mmc1
23: 0 0 65 0 0 2113 0 0 IO-APIC-fasteoi ehci_hcd:usb2
24: 140835 0 0 0 0 0 0 0 HPET_MSI-edge hpet2
25: 0 116293 0 0 0 0 0 0 HPET_MSI-edge hpet3
26: 0 0 47034 0 0 0 0 0 HPET_MSI-edge hpet4
27: 0 0 0 109561 0 0 0 0 HPET_MSI-edge hpet5
28: 0 0 0 0 32441 0 0 0 HPET_MSI-edge hpet6
34: 4355 0 0 9520 0 0 0 0 PCI-MSI-edge ahci
35: 0 0 0 0 1 0 0 0 PCI-MSI-edge sky2@pci:0000:04:00.0
36: 59335 0 0 0 5302 0 0 0 PCI-MSI-edge iwlagn
37: 0 0 0 0 0 207 0 0 PCI-MSI-edge hda_intel
NMI: 0 0 0 0 0 0 0 0 Non-maskable interrupts
LOC: 1613 1517 1427 1337 1247 37604 110821 35565 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 0 0 0 0 Performance monitoring interrupts
PND: 0 0 0 0 0 0 0 0 Performance pending work
RES: 463 661 442 372 542 520 535 507 Rescheduling interrupts
CAL: 1361 489 1329 1260 1353 1340 1240 1322 Function call interrupts
TLB: 281 265 281 381 800 810 779 553 TLB shootdowns
TRM: 0 0 0 0 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 0 0 0 0 Machine check exceptions
MCP: 9 9 9 9 9 9 9 9 Machine check polls
ERR: 0
MIS: 0
LC_ALL=C LD_LIBRARY_PATH=:/usr/java/java3d/lib/i386:/opt/gnome/lib PATH=/usr/java/ant/bin:/usr/java/oxygen:/usr/java/bin:/usr/java/aspectj/bin:/usr/java/DbVisualizer-4.1.1:/usr/java/hsqldb/bin:/usr/java/jdk/bin:/sbin:/usr/sbin:/usr/local/sbin:/opt/kde3/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/opt/real/RealPlayer:/usr/java/maven/bin:/usr/java/maven1/bin:/usr/java/apache-forrest/bin:/usr/java/argouml:/usr/java/jxplorer:/usr/java/ant/bin:/usr/java/oxygen:/usr/java/bin:/usr/java/aspectj/bin:/usr/java/DbVisualizer-4.1.1:/usr/java/hsqldb/bin:/usr/java/jdk/bin:/sbin:/usr/sbin:/usr/local/sbin:/opt/kde3/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/opt/real/RealPlayer:/usr/java/maven/bin:/usr/java/maven1/bin:/usr/java/apache-forrest/bin:/usr/java/argouml:/usr/java/wtk/bin:/usr/java/squirrelsql:/usr/java/pax-runner/bin:/opt/gnome/bin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 2,sockets=2,cores=1,threads=1 -name other -uuid 9f12fb27-9cc4-ae6e-733e-980a75101655 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/other.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot dc -drive file=/dev/system/linux32,if=none,id=drive-ide0-0-0,boot=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/opensuse/downloads/openSUSE-11.3-DVD-i586.iso/openSUSE-11.3-DVD-i586.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -usb -vnc 127.0.0.1:0 -vga cirrus -device pci-assign,host=04:00.0,id=hostdev0,bus=pci.0,addr=0x4 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
No IOMMU found. Unable to assign device "hostdev0"
Failed to deassign device "hostdev0" : Invalid argument
Error initializing device pci-assign