<div dir="ltr">Finally!<div><br></div><div>Today I successfully build VM by using virt-manager on Fedora 22. Almost steps are followed AW's blog.</div><div><br></div><div>1. Update Fedora 22 system (Let Linux Kernel upgrade to 4.1.7)</div><div>2. Do some setting so that VFIO can loaded device automatically while boot.</div><div>3. Install QEMU, libvirt, virt-manager from Fedora Official package (dnf install qemu libvirt virt-manager)</div><div>4. Download and install OVMF rpm</div><div>5. Launch virt-manager and following AW's step.</div><div><br></div><div>Now VM can installed Windows 10 and works fine with GTX980. But I got another 2 questions:</div><div><br></div><div>1. As blog wrote:</div><div><br></div><div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:Arial,Helvetica,sans-serif">We can also take this opportunity to do a little further tuning by directly editing the XML.  On the host, run </span><span style="font-family:'Courier New',Courier,monospace">virsh edit <domain></span><span style="font-family:Arial,Helvetica,sans-serif"> as root or via sudo.  Before the <os> tag, you can optionally add something like the following:</span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">  <memoryBacking></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">    <hugepages/></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">  </memoryBacking></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">  <cputune></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">    <vcpupin vcpu='0' cpuset='2'/></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">    <vcpupin vcpu='1' cpuset='3'/></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">    <vcpupin vcpu='2' cpuset='6'/></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">    <vcpupin vcpu='3' cpuset='7'/></span></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace">  </cputune></span></div></div><div class="" style="font-family:Arial,Tahoma,Helvetica,FreeSans,sans-serif;font-size:13.1999998092651px;line-height:18.4799995422363px;clear:both"><span style="font-family:'Courier New',Courier,monospace"><br></span></div><div class="" style="clear:both">Because I found that WIndows 10 will get little delay if I run application or open window, does <span style="font-family:'Courier New',Courier,monospace;font-size:13.1999998092651px;line-height:18.4799995422363px"><memoryBacking> </span><span style="font-size:13.1999998092651px;line-height:18.4799995422363px"><font face="Arial, Helvetica, sans-serif">can make it better?</font></span></div><div class="" style="clear:both"><span style="font-size:13.1999998092651px;line-height:18.4799995422363px"><font face="Arial, Helvetica, sans-serif"><br></font></span></div><div class="" style="clear:both"><span style="font-size:13.1999998092651px;line-height:18.4799995422363px"><font face="Arial, Helvetica, sans-serif">2. I'm install QEMU from Fedora repository, how can I check QEMU support sound backend or not? And which backend and soundhw is better?</font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-25 11:53 GMT+08:00 Eddie Yen <span dir="ltr"><<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Not yet, because I'm still trying to launch VM by using vurt-manager.<div><br></div><div>And I found that there is too many bugs and problems of libvirt and virt-manager on Ubuntu.</div><div>So I'm already make my decision, given up Ubuntu, and trying on Fedora 22.</div><div><br></div><div>It may take some tome to understand how to build it, so I think I'm not trying the sound yet, but ASAP.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-09-25 11:47 GMT+08:00 Okky Hendriansyah <span dir="ltr"><<a href="mailto:okky@nostratech.com" target="_blank">okky@nostratech.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi Eddie, </div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="color:rgb(0,0,0);margin:0px"><span style="font-family:Helvetica,Arial;font-size:13px">I looked at Linux KVM’s page on Sound section [1], and since I didn’t like the sound coming from </span><font face="Courier">-soundhw hda</font><span style="font-family:Helvetica,Arial;font-size:13px"> I looked for alternatives there. Although in that page the </span><font face="Courier">-soundhw ac97</font> (Intel 82801AA AC97) should work using Windows 7’s built-in driver, it didn’t work for Windows 10 apparently. So instead I googled for Intel 82801AA AC97 and after several trials the ones from [2] that worked for me. The installer packages from [2] is similar to what Realtek site has, but I didn’t try it first in my case. My Windows 10 guest is a 64-bit one. Have you tried it? </div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">[1] <a href="http://www.linux-kvm.org/page/Sound" target="_blank">http://www.linux-kvm.org/page/Sound</a></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">[2] <a href="http://www.driverscape.com/download/intel%28r%29-82801aa-ac-97-audio-controller" target="_blank">http://www.driverscape.com/download/intel%28r%29-82801aa-ac-97-audio-controller</a> </div><span><font color="#888888"> <div><br></div> <div><font face="helvetica, arial">-- </font><br><span style="color:rgb(2,1,3)"><font face="Calibri"><b>Okky Hendriansyah</b></font></span></div></font></span><div><div><p style="color:#000">On September 24, 2015 at 21:42:03, Eddie Yen (<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>) wrote:</p> <blockquote type="cite"><span><div><div></div><div>






<div dir="ltr">I don't know, because this is my first time trying
to use audio. Before that, I using my VM without audio.
<div>And I'm still investigating how to install pulseaduio and how
to enable it in virt-manager.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-09-24 10:34 GMT+08:00 Robert
Obermeier <span dir="ltr"><<a href="mailto:obbi@u5b.de" target="_blank">obbi@u5b.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">as
far as I know, there are no drivers for x64 versions of windows.
That's y you should use hda. Doesn't hda work with pulse?<br>
<div>
<div><br>
On Sep 24, 2015 12:41 AM, Eddie Yen <<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>>
wrote:<br>
><br>
> Realtek driver?<br>
> Maybe can download from Realtek Official Website <a href="http://www.realtek.com.tw" rel="noreferrer" target="_blank">http://www.realtek.com.tw</a><br>
><br>
> But is it compatible for WIndows 10? Or maybe Windows 10 got
drivers itself?<br>
><br>
> 2015-09-23 20:04 GMT+08:00 Okky Hendriansyah <<a href="mailto:okky@nostratech.com" target="_blank">okky@nostratech.com</a>>:<br>
>><br>
>> Hi Eddie,<br>
>><br>
>> I used to use the hda sound card and use PulseAudio as the
backend. But I experienced a noticable delay and sometimes echoes
on between the guest and the host. After several trials, I end up
switching to ac97 with Alsa backend, which makes the sound more
stable now. I need to install the driver for ac97, kind of forgot
where I downloaded it from, but I think it was from
here <a href="https://downloadcenter.intel.com/download/8198/Audio-Realtek-AC97-Audio-Driver" rel="noreferrer" target="_blank">https://downloadcenter.intel.com/download/8198/Audio-Realtek-AC97-Audio-Driver</a><br>

>><br>
>> Best regards,<br>
>> -- <br>
>> Okky Hendriansyah<br>
>><br>
>> On September 23, 2015 at 18:51:22, Eddie Yen (<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>)
wrote:<br>
>>><br>
>>> OK, for about 7 days, now I'm 'almost' known about how
to install KVM VFIO on Ubuntu with new kernel.<br>
>>><br>
>>> But I still got a little problems on there:<br>
>>><br>
>>> 1. Now I still try to build VM by using
virt-manager, <br>
>>> and I'm using qemu-2.4.0 as emulator, and already
patched with alsa library.<br>
>>> Which virtual sound card should I use while in
virt-manager?<br>
>>><br>
>>> 2. When I tried to install virt-manager 1.2.1 on
Ubuntu 14.04, I got warning message during installation,<br>
>>> after that, I click virt-manager, but nothing<br>
>>> also I type virt-manager on terminal, I got:<br>
>>><br>
>>> /usr/local/bin/virt-manager 3 exec
/usr/share/virt-manager/virt-manager not found.<br>
>>><br>
>>><br>
>>> 3. I remember that I need to using root permission to
launch VM because VFIO need to work with root permission, do I
still need root permission to launch virt-manager now?<br>
>>><br>
>>><br>
>>> Sorry for many questions again :P<br>
>>> _______________________________________________<br>
>>> vfio-users mailing list<br>
>>> <a href="mailto:vfio-users@redhat.com" target="_blank">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>
><br></div>
</div>
</blockquote>
</div>
<br></div>


_______________________________________________
<br>vfio-users mailing list
<br><a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a>
<br><a href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a>
<br></div></div></span></blockquote></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>