[vfio-users] Some questions.

Eddie Yen missile0407 at gmail.com
Fri Sep 25 10:19:45 UTC 2015


Finally!

Today I successfully build VM by using virt-manager on Fedora 22. Almost
steps are followed AW's blog.

1. Update Fedora 22 system (Let Linux Kernel upgrade to 4.1.7)
2. Do some setting so that VFIO can loaded device automatically while boot.
3. Install QEMU, libvirt, virt-manager from Fedora Official package (dnf
install qemu libvirt virt-manager)
4. Download and install OVMF rpm
5. Launch virt-manager and following AW's step.

Now VM can installed Windows 10 and works fine with GTX980. But I got
another 2 questions:

1. As blog wrote:

We can also take this opportunity to do a little further tuning by directly
editing the XML.  On the host, run virsh edit <domain> as root or via
sudo.  Before the <os> tag, you can optionally add something like the
following:

  <memoryBacking>
    <hugepages/>
  </memoryBacking>
  <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='3'/>
    <vcpupin vcpu='2' cpuset='6'/>
    <vcpupin vcpu='3' cpuset='7'/>
  </cputune>

Because I found that WIndows 10 will get little delay if I run application
or open window, does <memoryBacking> can make it better?

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?

2015-09-25 11:53 GMT+08:00 Eddie Yen <missile0407 at gmail.com>:

> Not yet, because I'm still trying to launch VM by using vurt-manager.
>
> And I found that there is too many bugs and problems of libvirt and
> virt-manager on Ubuntu.
> So I'm already make my decision, given up Ubuntu, and trying on Fedora 22.
>
> It may take some tome to understand how to build it, so I think I'm not
> trying the sound yet, but ASAP.
>
> 2015-09-25 11:47 GMT+08:00 Okky Hendriansyah <okky at nostratech.com>:
>
>> Hi Eddie,
>>
>> I looked at Linux KVM’s page on Sound section [1], and since I didn’t
>> like the sound coming from -soundhw hda I looked for alternatives there.
>> Although in that page the -soundhw ac97 (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?
>>
>> [1] http://www.linux-kvm.org/page/Sound
>> [2]
>> http://www.driverscape.com/download/intel%28r%29-82801aa-ac-97-audio-controller
>>
>>
>> --
>> *Okky Hendriansyah*
>>
>> On September 24, 2015 at 21:42:03, Eddie Yen (missile0407 at gmail.com)
>> wrote:
>>
>> I don't know, because this is my first time trying to use audio. Before
>> that, I using my VM without audio.
>> And I'm still investigating how to install pulseaduio and how to enable
>> it in virt-manager.
>>
>> 2015-09-24 10:34 GMT+08:00 Robert Obermeier <obbi at u5b.de>:
>>
>>> 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?
>>>
>>> On Sep 24, 2015 12:41 AM, Eddie Yen <missile0407 at gmail.com> wrote:
>>> >
>>> > Realtek driver?
>>> > Maybe can download from Realtek Official Website
>>> http://www.realtek.com.tw
>>> >
>>> > But is it compatible for WIndows 10? Or maybe Windows 10 got drivers
>>> itself?
>>> >
>>> > 2015-09-23 20:04 GMT+08:00 Okky Hendriansyah <okky at nostratech.com>:
>>> >>
>>> >> Hi Eddie,
>>> >>
>>> >> 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
>>> https://downloadcenter.intel.com/download/8198/Audio-Realtek-AC97-Audio-Driver
>>> >>
>>> >> Best regards,
>>> >> --
>>> >> Okky Hendriansyah
>>> >>
>>> >> On September 23, 2015 at 18:51:22, Eddie Yen (missile0407 at gmail.com)
>>> wrote:
>>> >>>
>>> >>> OK, for about 7 days, now I'm 'almost' known about how to install
>>> KVM VFIO on Ubuntu with new kernel.
>>> >>>
>>> >>> But I still got a little problems on there:
>>> >>>
>>> >>> 1. Now I still try to build VM by using virt-manager,
>>> >>> and I'm using qemu-2.4.0 as emulator, and already patched with alsa
>>> library.
>>> >>> Which virtual sound card should I use while in virt-manager?
>>> >>>
>>> >>> 2. When I tried to install virt-manager 1.2.1 on Ubuntu 14.04, I got
>>> warning message during installation,
>>> >>> after that, I click virt-manager, but nothing
>>> >>> also I type virt-manager on terminal, I got:
>>> >>>
>>> >>> /usr/local/bin/virt-manager 3 exec
>>> /usr/share/virt-manager/virt-manager not found.
>>> >>>
>>> >>>
>>> >>> 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?
>>> >>>
>>> >>>
>>> >>> Sorry for many questions again :P
>>> >>> _______________________________________________
>>> >>> 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/20150925/1d523ef7/attachment.htm>


More information about the vfio-users mailing list