[vfio-users] Ovmf setup

Will Marler will at wmarler.com
Fri Aug 28 19:11:00 UTC 2015


What version of the Windows 7 installer ISO do you have? I had no luck
getting an old one to work, but a new one worked.

On Fri, Aug 28, 2015 at 12:35 PM, José Ramón Muñoz <koalinux at gmail.com>
wrote:

>         Hi,
>
>         Can you share any thoughts in getting the win7 + ovmf working? I
> still
> prefer to leave win10 for some months.
>
>         Thanks!
>
>         José.
>
> On Friday 28 August 2015 13:27:41 Bradley Davis wrote:
> > Yeah, i had stability issues with Windows 7 + OVMF. I did get it working
> > though. I'm using Windows 10 now and do not have any real issues. The
> > uptime on my host is 1 Mo+ now.
> >
> > On Fri, Aug 28, 2015 at 1:17 PM, José Ramón Muñoz <koalinux at gmail.com>
> >
> > wrote:
> > >         Hi,
> > >
> > >         Actually my idea is to upgrade that machine in the following
> > >
> > > months as I
> > > still don't feel there has been time enough to "mature" win10, but it
> > > should
> > > be great to have it working though, to see if it's more reliable than
> the
> > > seabios setup.
> > >
> > >         Thanks!
> > >
> > >         José.
> > >
> > > On Friday 28 August 2015 13:06:05 Jon Panozzo wrote:
> > > > Hi Jose!
> > > >
> > > > Can’t say for certain (maybe someone else with Win 7 + OVMF can
> > > > comment),
> > > > but I was under the impression that OVMF works best when you use a
> UEFI
> > > > capable guest (such as Windows 8 or 10).  You’ll also get better
> > > > performance out of a more modern guest OS.  Just my 2 cents…
> > > >
> > > > - Jon
> > > >
> > > > > On Aug 28, 2015, at 1:04 PM, José Ramón Muñoz Pekkarinen
> > >
> > > <koalinux at gmail.com> wrote:
> > > > >     Hi,
> > > > >
> > > > >     I have a setup unreliably working using seabios, and I tried to
> > >
> > > create a
> > >
> > > > > new setup using ovmf. For this second setup I created a fresh
> > >
> > > installation
> > >
> > > > > of win7 on UEFI, that is showing correctly through vnc using the
> > > > > following launch command:
> > > > >
> > > > > /usr/x86_64-pc-linux-gnu/lib64/ld-2.21.so \
> > > > > /usr/x86_64-pc-linux-gnu/usr/bin/qemu-system-x86_64 -enable-kvm
> -vga
> > >
> > > std
> > >
> > > > > -cpu host -smp 4,cores=4,threads=1 -m 4096 \
> > > > >
> > > > >        -L /usr/x86_64-pc-linux-gnu/usr/share/qemu \
> > > > >        -netdev user,id=user.0 -device virtio-net-pci,netdev=user.0
> \
> > > > >        -usb -usbdevice tablet -k fi \
> > > > >        -drive
> > >
> > > if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-
> > >
> > > > > x64/OVMF_CODE-pure-efi.fd \
> > > > >
> > > > >        -drive if=pflash,format=raw,file=/usr/share/edk2.git/ovmf-
> > > > >
> > > > > x64/Windows_ovmf_vars_x64.fd \
> > > > >
> > > > >        -cdrom virtio-win-0.1.109.iso \
> > > > >        -smb /home/kandalf/Juegos \
> > > > >        -drive
> > > > >
> file=ovmf-windows.img,format=raw,cache=none,aio=native,if=virti
> > > > >        o
> > > > >
> > > > >     When I change it to do the vga passthrough, the vga doesn't
> > >
> > > initialize.
> > >
> > > > > The command is the following:
> > > > >
> > > > > /usr/x86_64-pc-linux-gnu/lib64/ld-2.21.so \
> > > > > /usr/x86_64-pc-linux-gnu/usr/bin/qemu-system-x86_64 -enable-kvm
> -vga
> > >
> > > none
> > >
> > > > > -cpu host -smp 4,cores=4,threads=1 -m 6144 \
> > > > >
> > > > >        -L /usr/x86_64-pc-linux-gnu/usr/share/qemu \
> > > > >        -device ioh3420,multifunction=on,id=pcie.0 \
> > > > >        -device vfio-pci,host=01:00.0,x-
> > > > >
> > > > > vga=on,addr=1c.0,multifunction=on,bus=pcie.0 \
> > > > >
> > > > >        -device vfio-pci,host=01:00.1,addr=1c.1,bus=pcie.0 \
> > > > >        -netdev user,id=user.0 -device virtio-net-pci,netdev=user.0
> \
> > > > >        -usb -usbdevice host:03f0:134a -usbdevice host:03f0:0024
> > >
> > > -usbdevice
> > >
> > > > > host:0079:0006 \
> > > > >
> > > > >        -drive
> > >
> > > if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-
> > >
> > > > > x64/OVMF_CODE-pure-efi.fd \
> > > > >
> > > > >        -drive if=pflash,format=raw,file=/usr/share/edk2.git/ovmf-
> > > > >
> > > > > x64/Windows_ovmf_vars_x64.fd \
> > > > >
> > > > >        -drive
> > > > >
> > > > >
> file=/dev/koalita/koalitavm,format=raw,cache=none,aio=native,if=virtio
> > > > >
> > > > >     In this case, too, some errors about trying to close the usb
> comes
> > >
> > > up.
> > >
> > > > > These commands are quite similar to the one used in my seabios
> setup.
> > >
> > > Any
> > >
> > > > > ideas why this can be failing?
> > > > >
> > > > >     Thanks!
> > > > >
> > > > >     José.
> > > > >
> > > > > _______________________________________________
> > > > > vfio-users mailing list
> > > > > vfio-users at redhat.com
> > > > > https://www.redhat.com/mailman/listinfo/vfio-users
> > >
> > > _______________________________________________
> > > vfio-users mailing list
> > > vfio-users at redhat.com
> > > https://www.redhat.com/mailman/listinfo/vfio-users
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150828/960aa73f/attachment.htm>


More information about the vfio-users mailing list