On Sat, Sep 10, 2016 at 10:33 AM, José Ramón Muñoz Pekkarinen <
koali...@gmail.com> wrote:

> On Saturday 10 September 2016 17:02:44 José Ramón Muñoz Pekkarinen wrote:
> > Yep, there is no other graphic card on this machine, might this be a
> > problem of efi fb or sime fb jumping on the igd?
> >
> > Thanks!
> >
> > José.
> >
> > On 10 Sep 2016 18:52, "Alex Williamson" <alex.l.william...@gmail.com>
> wrote:
> > > On Sat, Sep 10, 2016 at 9:51 AM, José Ramón Muñoz Pekkarinen <
> > >
> > > koali...@gmail.com> wrote:
> > >> Hi Alex,
> > >>
> > >> Sorry to say I'm using 4.7.2, so that might not be the problem, any
> other
> > >> idea?
> > >
> > > Is IGD the host boot graphics?  It needs to be.
>
>
>         Some output for perusal:
>
> qemu call:
>
> qemu-system-x86_64 -enable-kvm -vga none -cpu host -smp
> 3,cores=3,threads=1 \
>         -m 7G -mem-path /mnt/hugepages \
>         -device vfio-pci,host=00:02.0,addr=02.0 \
>         -netdev user,id=user.0,smb=/home/pekkari/share -device
> e1000,netdev=user.0 \
>         -device ich9-usb-uhci3,id=uhci -device usb-ehci,id=ehci -device
> nec-
> usb-xhci,id=xhci \
>         -object input-linux,id=kbd,evdev=/dev/
> input/by-path/platform-i8042-
> serio-0-event-kbd,grab_all=on \
>         -object input-linux,id=mouse,evdev=/dev/input/by-path/platform-
> i8042-
> serio-2-event-mouse \
>         -drive file=win7.img,format=raw,cache=none,aio=native,if=virtio
>
> output:
>
> qemu-system-x86_64: -device vfio-pci,host=00:02.0,addr=02.0: Failed to
> mmap
> 0000:00:02.0 BAR 2. Performance may be slow
>


This means there's another (non-pci) driver claiming resources from the
device, that's going to be a problem.  If you prevent i915 from binding to
igd then you also need to prevent the other framebuffers from getting
resources.  Use video=efifb:off,vesafb:off to disable both efi and non-efi
framebuffer drivers.


> qemu-system-x86_64: -device vfio-pci,host=00:02.0,addr=02.0: IGD device
> 0000:00:02.0 has no ROM, legacy mode disabled
>

Hopefully the above will fix this.


> Could not initialize SDL(No available video device) - exiting
>

You need a -nographic option to avoid this.
_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users

Reply via email to