qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Bhushan Bharat-R65777 <R65777@freescale.com>
Cc: Avi Kivity <avi@redhat.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Isuue assiging devices using VFIO on x86
Date: Tue, 28 Aug 2012 08:57:20 -0700	[thread overview]
Message-ID: <1346169440.2225.10.camel@ul30vt.home> (raw)
In-Reply-To: <6A3DF150A5B70D4F9B66A25E3F7C888D0644CEC9@039-SN2MPN1-022.039d.mgd.msft.net>

On Tue, 2012-08-28 at 09:23 +0000, Bhushan Bharat-R65777 wrote:
> 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.

Please try the vfio-pci-for-qemu-1.2-v3 qemu-vfio.git tag, I'm not even
sure what's in that old iommu-group-vfio branch.  Thanks,

Alex

  reply	other threads:[~2012-08-28 16:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28  9:23 [Qemu-devel] Isuue assiging devices using VFIO on x86 Bhushan Bharat-R65777
2012-08-28 15:57 ` Alex Williamson [this message]
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

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=1346169440.2225.10.camel@ul30vt.home \
    --to=alex.williamson@redhat.com \
    --cc=R65777@freescale.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).