qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Isuue assiging devices using VFIO on x86
@ 2012-08-28  9:23 Bhushan Bharat-R65777
  2012-08-28 15:57 ` Alex Williamson
  0 siblings, 1 reply; 10+ messages in thread
From: Bhushan Bharat-R65777 @ 2012-08-28  9:23 UTC (permalink / raw)
  To: Alex Williamson, kvm@vger.kernel.org, Avi Kivity,
	qemu-devel@nongnu.org

Hi Alex,

In my susyem I have following devices:

I tried assigning a following PCI devices:
00:03.0 Communication controller: Intel Corporation 4 Series Chipset HECI Controller (rev 03)
00:03.2 IDE interface: Intel Corporation 4 Series Chipset PT IDER Controller (rev 03)
00:03.3 Serial controller: Intel Corporation 4 Series Chipset Serial KT Controller (rev 03)

and getting below error:

---------------
Command:
-------
qemu-system-x86_64 -enable-kvm  -nographic  -kernel /boot/vmlinuz-3.6.0-rc2+ -initrd /boot/initramfs-3.6.0-rc2+.img -append "root=/dev/sda1" -m 1024 -drive file=/home/kvmdev/debian_squeeze_amd64_standard.qcow2 -device vfio-pci,host=0000:00:03.0 -device vfio-pci,host=0000:00:03.2 -device vfio-pci,host=0000:00:03.3

Error prints:
----
qemu-system-x86_64: -device vfio-pci,host=0000:00:03.0: Warning, device 0000:00:03.0 does not support reset

qemu-system-x86_64: -device vfio-pci,host=0000:00:03.0: VFIO 0000:00:03.0 BAR 0 is too small to mmap, this may affect performance.

qemu-system-x86_64: -device vfio-pci,host=0000:00:03.2: Warning, device 0000:00:03.2 does not support reset

qemu-system-x86_64: -device vfio-pci,host=0000:00:03.3: Warning, device 0000:00:03.3 does not support reset

qemu: hardware error: register_ioport_read: invalid opaque for address 0x3f6
CPU #0:
EAX=80000003 EBX=3ffe0e80 ECX=80000003 EDX=00000cfc
ESI=00002800 EDI=80002804 EBP=00006fc0 ESP=00006f38
EIP=3ffec005 EFL=00000086 [--S--P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
SS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
FS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
GS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT=     000fcd68 00000037
IDT=     000fdb60 00000000
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Aborted (core dumped)

--------------------

Linux: http://github.com/awilliam/linux-vfio.git next
Qemu: https://github.com/awilliam/qemu-vfio.git  iommu-group-vfio

Any idea what's is the issue.

Thanks
-Bharat

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-08-29 19:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-28  9:23 [Qemu-devel] Isuue assiging devices using VFIO on x86 Bhushan Bharat-R65777
2012-08-28 15:57 ` Alex Williamson
2012-08-28 17:10   ` Bhushan Bharat-R65777
2012-08-29  6:46     ` Alex Williamson
2012-08-29  7:11       ` Bhushan Bharat-R65777
2012-08-29 15:13         ` Alex Williamson
2012-08-29 18:02           ` Bhushan Bharat-R65777
2012-08-29 18:22             ` Alex Williamson
2012-08-29 18:42               ` Bhushan Bharat-R65777
2012-08-29 19:08                 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).