From: Erik Brakkee <erik@brakkee.org>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: kvm@vger.kernel.org
Subject: Re: PCI passthrough on Sony Vaio F11 laptop...
Date: Sat, 13 Nov 2010 12:42:39 +0100 [thread overview]
Message-ID: <4CDE79AF.4040002@brakkee.org> (raw)
In-Reply-To: <4CDE746A.2090701@web.de>
[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]
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
[-- Attachment #2: sky2.interrupts --]
[-- Type: text/plain, Size: 3761 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: other.log --]
[-- Type: text/x-log; name="other.log", Size: 2107 bytes --]
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
next prev parent reply other threads:[~2010-11-13 11:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 23:31 PCI passthrough on Sony Vaio F11 laptop Erik Brakkee
2010-11-13 11:20 ` Jan Kiszka
2010-11-13 11:42 ` Erik Brakkee [this message]
2010-11-13 19:03 ` Jan Kiszka
2010-11-14 13:21 ` Erik Brakkee
2010-11-14 15:57 ` Jan Kiszka
[not found] ` <4CE1AC5E.4050604@brakkee.org>
2010-11-15 22:53 ` Jan Kiszka
2010-12-05 21:47 ` Erik Brakkee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CDE79AF.4040002@brakkee.org \
--to=erik@brakkee.org \
--cc=jan.kiszka@web.de \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox