qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: nicolas prochazka <prochazka.nicolas@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	allen.m.kay@intel.com, Gerd Hoffmann <kraxel@redhat.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment
Date: Mon, 25 Apr 2016 08:11:53 -0600	[thread overview]
Message-ID: <20160425081153.4aafcf23@ul30vt.home> (raw)
In-Reply-To: <CADdae-jb6OJpwjTPTrMKxXZTJBvdRwE_wRU=7D-E-c5kU5WzHw@mail.gmail.com>

On Mon, 25 Apr 2016 11:59:17 +0200
nicolas prochazka <prochazka.nicolas@gmail.com> wrote:

> hello again,
> I'm compiling linux kernel 4.6rc5
> i'm compiling your qemu and seabios git
> 
> then , I unbind my vga card :
> echo "0000:00:02.0" > /sys/bus/pci/devices/0000\:00\:02.0/driver/unbind
> 
> and start qemu with this command line ( from ssh )
> 
>  /usr/bin/qemu-kvm -name win -S -machine pc-i440fx-2.6,accel=kvm,usb=off
> -cpu host,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff -m 14257
> -mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off
> -smp 2,sockets=1,cores=2,threads=1 -uuid
> ab829652-e53a-32bf-9a18-6722c7e7f785  -global PIIX4_PM.disable_s3=1 -global
> PIIX4_PM.disable_s4=1 -boot strict=on -device
> piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
> virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
> file=nbd:unix:/tmp/win.ctl,if=none,id=drive-ide0-0-0,format=raw -device
> ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
> file=nbd:unix:/tmp/swap.ctl,if=none,id=drive-ide0-0-1,format=raw -device
> ide-hd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -device
> vfio-pci,host=0000:00:02.0,bus=pci.0,addr=02.0 -vga none
> 
> *qemu-system-x86_64: -device
> vfio-pci,host=0000:00:02.0,bus=pci.0,addr=02.0: PCI: slot 2 function 0 not
> available for vfio-pci, in use by e1000*
> 
> what is wrong ?

QEMU has default devices for machine types and is apparently trying to
install an e1000 NIC at guest address 02.0, you either need to disable
these defaults with a '-nodefaults' option, disable the NIC with a '-net
none' option, or place the NIC at a different address by explicitly
defining it and setting the address.  Thanks,

Alex

      reply	other threads:[~2016-04-25 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21 15:56 [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment Alex Williamson
2016-04-21 15:56 ` [Qemu-devel] [RFC PATCH v5 1/7] vfio: Enable sparse mmap capability Alex Williamson
2016-04-21 15:56 ` [Qemu-devel] [RFC PATCH v5 2/7] vfio: Create device specific region info helper Alex Williamson
2016-04-21 15:56 ` [Qemu-devel] [RFC PATCH v5 3/7] vfio/pci: Fix return of vfio_populate_vga() Alex Williamson
2016-04-21 15:56 ` [Qemu-devel] [RFC PATCH v5 4/7] vfio/pci: Consolidate VGA setup Alex Williamson
2016-04-21 15:56 ` [Qemu-devel] [RFC PATCH v5 5/7] vfio/pci: Setup BAR quirks after capabilities probing Alex Williamson
2016-04-21 15:56 ` [Qemu-devel] [RFC PATCH v5 6/7] vfio/pci: Intel graphics legacy mode assignment Alex Williamson
2016-04-21 15:56 ` [Qemu-devel] [RFC PATCH v5 7/7] vfio/pci: Add a separate option for IGD OpRegion support Alex Williamson
2016-04-25  9:59 ` [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment nicolas prochazka
2016-04-25 14:11   ` Alex Williamson [this message]

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=20160425081153.4aafcf23@ul30vt.home \
    --to=alex.williamson@redhat.com \
    --cc=allen.m.kay@intel.com \
    --cc=kraxel@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=prochazka.nicolas@gmail.com \
    --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).