[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment
From: |
Alex Williamson |
Subject: |
Re: [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment |
Date: |
Mon, 25 Apr 2016 08:11:53 -0600 |
On Mon, 25 Apr 2016 11:59:17 +0200
nicolas prochazka <address@hidden> 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
- [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment, Alex Williamson, 2016/04/21
- [Qemu-devel] [RFC PATCH v5 1/7] vfio: Enable sparse mmap capability, Alex Williamson, 2016/04/21
- [Qemu-devel] [RFC PATCH v5 2/7] vfio: Create device specific region info helper, Alex Williamson, 2016/04/21
- [Qemu-devel] [RFC PATCH v5 3/7] vfio/pci: Fix return of vfio_populate_vga(), Alex Williamson, 2016/04/21
- [Qemu-devel] [RFC PATCH v5 4/7] vfio/pci: Consolidate VGA setup, Alex Williamson, 2016/04/21
- [Qemu-devel] [RFC PATCH v5 5/7] vfio/pci: Setup BAR quirks after capabilities probing, Alex Williamson, 2016/04/21
- [Qemu-devel] [RFC PATCH v5 7/7] vfio/pci: Add a separate option for IGD OpRegion support, Alex Williamson, 2016/04/21
- [Qemu-devel] [RFC PATCH v5 6/7] vfio/pci: Intel graphics legacy mode assignment, Alex Williamson, 2016/04/21
- Re: [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment, nicolas prochazka, 2016/04/25
- Re: [Qemu-devel] [RFC PATCH v5 0/7] vfio IGD assignment,
Alex Williamson <=