<div dir="ltr"><div><div>>-vga cirrus<br>...<br></div>dude.<br></div>You need QXL-VGA. Cirrus is.. deprecated, i think.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-22 20:02 GMT+03:00 José Ramón Muñoz <span dir="ltr"><<a href="mailto:koalinux@gmail.com" target="_blank">koalinux@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">        Hi,<br>
<br>
        I gave it a try today with no success. The launch command was:<br>
<br>
/qemu-system-x86_64 -enable-kvm -vga cirrus -cpu host -smp 4,cores=4,threads=1<br>
-m 4096 \<br>
        -netdev user,id=user.0 -device e1000,netdev=user.0 \<br>
        -usb -usbdevice tablet \<br>
        -drive if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-<br>
x64/OVMF_CODE-with-csm.fd \<br>
        -drive if=pflash,format=raw,file=/usr/share/edk2.git/ovmf-<br>
x64/Windows_ovmf_vars_x64.fd \<br>
        -drive<br>
file=/dev/koalita/koalitavm,format=raw,cache=none,aio=native,if=virtio<br>
<br>
        I tried to launch it using the virtio disk, the ide disk, and empty disk<br>
with the windows 7 installer, and even without disk to see if the cdrom<br>
launchs ok.<br>
<br>
        Best regards.<br>
<br>
        José.<br>
<br>
On Wednesday 19 August 2015 23:23:43 Blank Field wrote:<br>
> The need of Q35 is overrated. Usually you need it for booting from sata<br>
> controllers or something.<br>
> For our use 440fx works better.<br>
> I've used windows 7 on my machine. All you need to do is to follow the OVMF<br>
> whitepaper:<br>
> <a href="http://www.linux-kvm.org/downloads/lersek/ovmf-whitepaper-c770f8c.txt" rel="noreferrer" target="_blank">http://www.linux-kvm.org/downloads/lersek/ovmf-whitepaper-c770f8c.txt</a><br>
><br>
> 2015-08-19 20:35 GMT+03:00 José Ramón Muñoz <<a href="mailto:koalinux@gmail.com">koalinux@gmail.com</a>>:<br>
> >         Hi,<br>
> ><br>
> >         Sorry for not replying to all, I wrote from the phone and<br>
> >         sometimes<br>
> ><br>
> > happens.<br>
> ><br>
> >         About the ovmf stuff, I would give it a try just in case I didn't<br>
> ><br>
> > read the<br>
> > Alex Williamson post that explained that I need windows > win7 to be able<br>
> > to<br>
> > use it. I'm still not planning to upgrade it to windows 10.<br>
> ><br>
> >         How about q35? I tried to launch it but it seems to yield a<br>
> ><br>
> > beautiful<br>
> > BSOD because of the ati drivers not being expanded. Do anyone uses it<br>
> > regularly?<br>
> ><br>
> >         BR.<br>
> ><br>
> >         José.<br>
> ><br>
> > On Wednesday 19 August 2015 20:12:23 Blank Field wrote:<br>
> > > Please, use the reply-all button. Include "<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>"<br>
> ><br>
> > address<br>
> ><br>
> > > in the "to:" field.<br>
> > ><br>
> > > >    So, I got it right that using OVMF my setup can work reliably? I<br>
> > > >    was<br>
> > ><br>
> > > considering to build it but it seems to be not so straight forward in<br>
> > > Gentoo.<br>
> > ><br>
> > > I haven't tried doing this on gentoo, but you can try using "alien" to<br>
> ><br>
> > use<br>
> ><br>
> > > RPMs from <a href="http://kraxel.org" rel="noreferrer" target="_blank">kraxel.org</a><br>
> > > <a href="https://www.kraxel.org/repos/" rel="noreferrer" target="_blank">https://www.kraxel.org/repos/</a><br>
> > > Also, i recall there was just plain binary files builds from jenkins,<br>
> ><br>
> > lurk<br>
> ><br>
> > > around and see if you can make yourself an ebuild with an overlay.<br>
> > > Also, there's a xen-tools package which has OVMF USE-flag, try<br>
> ><br>
> > researching<br>
> ><br>
> > > this.<br>
> > > And i think i saw an user-created portage overlay with the OVMF package<br>
> ><br>
> > in<br>
> ><br>
> > > there.<br>
> > ><br>
> > > I think plain libvirt and virt-manager should already be in the main<br>
> > > portage tree.<br>
> > ><br>
> > > 2015-08-19 6:16 GMT+03:00 José Ramón Muñoz Pekkarinen <<br>
> ><br>
> > <a href="mailto:koalinux@gmail.com">koalinux@gmail.com</a>>:<br>
> > > >      Hi,<br>
> > > ><br>
> > > >     So, I got it right that using OVMF my setup can work reliably? I<br>
> ><br>
> > was<br>
> ><br>
> > > > considering to build it but it seems to be not so straight forward in<br>
> > > > Gentoo.<br>
> > > ><br>
> > > >     BR.<br>
> > > ><br>
> > > >     José<br>
> > > ><br>
> > > > On Aug 19, 2015 3:09 AM, "Blank Field" <<a href="mailto:ihatethisfield@gmail.com">ihatethisfield@gmail.com</a>><br>
> ><br>
> > wrote:<br>
> > > >> Well, that sounds like the first time i've got it working.<br>
> > > >> Sooo, i've managed to make it work back then with just x-vga and<br>
> > > >> qemu.<br>
> > > >> It worked. Sometimes.<br>
> > > >> Sometimes it crashed the host.<br>
> > > >> Sometimes it froze the VM and messed up the GPU.<br>
> > > >> I did a foolish research with no results whatsoever, but i've made<br>
> > > >> one<br>
> > > >> observation - if the firefox is started and it eats a ton of memory,<br>
> > > >> i<br>
> > > >> have<br>
> > > >> better chances to run the VM right.<br>
> > > >> However, i've dropped that way and went the OVMF way, avoiding the<br>
> ><br>
> > VGA.<br>
> ><br>
> > > >> Check the dmesg, maybe you're more lucky than me with the motherboard<br>
> ><br>
> > and<br>
> ><br>
> > > >> it's just the GPU that freezes. Also, i'd check the temperatures.<br>
> > > >><br>
> > > >> 2015-08-19 0:25 GMT+03:00 José Ramón Muñoz <<a href="mailto:koalinux@gmail.com">koalinux@gmail.com</a>>:<br>
> > > >>>         Hi,<br>
> > > >>><br>
> > > >>>         I'm using and APU a8-7650k, and apart that from time to time<br>
> ><br>
> > the<br>
> ><br>
> > > >>> win7<br>
> > > >>> guest decides to freeze, so many times during boot time, and<br>
> > > >>> ocassionally<br>
> > > >>> during gaming, I'm fairly happy with the performance. The passed<br>
> ><br>
> > through<br>
> ><br>
> > > >>> gpu<br>
> > > >>> is a HD5670 and I managed to play games like MGS Ground Zeroes,<br>
> ><br>
> > Blades<br>
> ><br>
> > > >>> of<br>
> > > >>> times, and currently DAO: Origins.<br>
> > > >>><br>
> > > >>>         Best regards.<br>
> > > >>><br>
> > > >>>         José.<br>
> > > >>><br>
> > > >>> On Wednesday 19 August 2015 00:09:09 Blank Field wrote:<br>
> > > >>> > Use "Reply All" button. Include the mailing list in the "to:"<br>
> ><br>
> > field.<br>
> ><br>
> > > >>> > >I'm currently running an A10-5700 with a discrete Nvidia card,<br>
> > > >>> > >and<br>
> > > >>><br>
> > > >>> I've<br>
> > > >>><br>
> > > >>> > got a LMDE2 install in which I'm preparing to do an experimental<br>
> ><br>
> > W10<br>
> ><br>
> > > >>> VM.<br>
> > > >>><br>
> > > >>> > So, according to your experience, I shouldn't expect much with<br>
> > > >>> > this<br>
> > > >>> > processor, then?<br>
> > > >>> > <a href="http://pastebin.com/rEhebfQM" rel="noreferrer" target="_blank">http://pastebin.com/rEhebfQM</a><br>
> > > >>> > It will work. But it has taken a year for me to figure out how to<br>
> ><br>
> > make<br>
> ><br>
> > > >>> it<br>
> > > >>><br>
> > > >>> > work.<br>
> > > >>> > The pastebin link is my currently working domain xml.<br>
> > > >>> > Two asus HD7750 on an asus F2A55+Athlon X4 750k (Trinity).<br>
> > > >>> > The kernel and module parameters are:<br>
> > > >>> > options kvm-amd npt=1 nested=0<br>
> > > >>> > options kvm ignore_msrs=0 allow_unsafe_assigned_interrupts=0<br>
> > > >>> > options vfio_iommu_type1 disable_hugepages=1<br>
> ><br>
> > allow_unsafe_interrupts=0<br>
> ><br>
> > > >>> > CMDLINE:<br>
> > > >>> > nofb pci-stub.ids=1022:780d,1002:683f,1002:aab0<br>
> > > >>> > enable_mtrr_cleanup<br>
> > > >>> > amd_iommu_dump=1 iommu=pt acpi_enforce_resources=lax<br>
> > > >>> ><br>
> > > >>> > Try doing it with nested=1<br>
> > > >>> ><br>
> > > >>> > If you will use libvirt, that should work 100%, as i have almost<br>
> ><br>
> > the<br>
> ><br>
> > > >>> same<br>
> > > >>><br>
> > > >>> > CPU.<br>
> > > >>> ><br>
> > > >>> > 2015-08-18 23:57 GMT+03:00 ALG Bass <<a href="mailto:olorin12@gmail.com">olorin12@gmail.com</a>>:<br>
> > > >>> > > Gotcha. So it would be better if I got the i7.<br>
> > > >>> > > I'm currently running an A10-5700 with a discrete Nvidia card,<br>
> ><br>
> > and<br>
> ><br>
> > > >>> I've<br>
> > > >>><br>
> > > >>> > > got a LMDE2 install in which I'm preparing to do an experimental<br>
> ><br>
> > W10<br>
> ><br>
> > > >>> VM.<br>
> > > >>><br>
> > > >>> > > So, according to your experience, I shouldn't expect much with<br>
> ><br>
> > this<br>
> ><br>
> > > >>> > > processor, then?<br>
> > > >>> > ><br>
> > > >>> > > On Tue, Aug 18, 2015 at 3:46 PM, Blank Field <<br>
> > > >>><br>
> > > >>> <a href="mailto:ihatethisfield@gmail.com">ihatethisfield@gmail.com</a>><br>
> > > >>><br>
> > > >>> > > wrote:<br>
> > > >>> > >> Hyperthreading on host means MORE cores which you can commit to<br>
> ><br>
> > the<br>
> ><br>
> > > >>> VM.<br>
> > > >>><br>
> > > >>> > >> More cores = more performance.<br>
> > > >>> > >> It is good for you.<br>
> > > >>> > >> For the host it doesn't matter logical or physical. For the VM,<br>
> > > >>><br>
> > > >>> you'd<br>
> > > >>><br>
> > > >>> > >> want to pin "pairs" of cores, so there would be less CPU cache<br>
> > > >>><br>
> > > >>> issues.<br>
> > > >>><br>
> > > >>> > >> Like, assign a core and it's sibling instead of two separate<br>
> ><br>
> > cores.<br>
> ><br>
> > > >>> > >> I use AMD Athlon X4 750k which is based off A10-5700, and it's<br>
> > > >>><br>
> > > >>> working<br>
> > > >>><br>
> > > >>> > >> very unstable.<br>
> > > >>> > >> The only way to get it working - use OVMF without VGA and do<br>
> > > >>> > >> not<br>
> > > >>> > >> use<br>
> > > >>> > >> hugepages.<br>
> > > >>> > >> That's all.<br>
> > > >>> > >><br>
> > > >>> > >> P.S.<br>
> > > >>> > >> Oh well, here we go again.<br>
> > > >>> > >><br>
> > > >>> > >> 2015-08-18 22:26 GMT+03:00 ALG Bass <<a href="mailto:olorin12@gmail.com">olorin12@gmail.com</a>>:<br>
> > > >>> > >>> Hi all, new to this list, kvm, and vfio. I've been researching<br>
> > > >>><br>
> > > >>> this for<br>
> > > >>><br>
> > > >>> > >>> about a week.<br>
> > > >>> > >>> I'm also going to be building a computer in the near future,<br>
> > > >>> > >>> so<br>
> > > >>><br>
> > > >>> I've got<br>
> > > >>><br>
> > > >>> > >>> a quick two part question:<br>
> > > >>> > >>> Does the hyperthreading on i7 series Intel processors make a<br>
> > > >>><br>
> > > >>> significant<br>
> > > >>><br>
> > > >>> > >>> difference in running Windows in a VM, such that it's a<br>
> ><br>
> > noticeable<br>
> ><br>
> > > >>> > >>> increase<br>
> > > >>> > >>> in performance over an i5? And, does anyone here run Windows<br>
> ><br>
> > in a<br>
> ><br>
> > > >>> VM<br>
> > > >>><br>
> > > >>> > >>> using<br>
> > > >>> > >>> an AMD A-series APU like the 7700k, and how is the<br>
> > > >>> > >>> performance?<br>
> > > >>> > >>><br>
> > > >>> > >>> Thank you!<br>
> > > >>> > >>><br>
> > > >>> > >>> _______________________________________________<br>
> > > >>> > >>> vfio-users mailing list<br>
> > > >>> > >>> <a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
> > > >>> > >>> <a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br>
</blockquote></div><br></div>