[vfio-users] How to let libvirt recognize manual install QEMU?

Eddie Yen missile0407 at gmail.com
Mon Sep 21 11:40:17 UTC 2015


OK, for today's test and included 4 times re-install Ubuntu, now I can
build VM with virt-manager, thanks for Francesco's repository.
But not test VFIO bind yet.

Here is a preliminary result:
First, looks like dracut can't install on Ubuntu, and no longer support on
Ubuntu 14.04
Everytime I tried to install dracut by using apt-get, it gets error.
So I guess that I still need to use pci-stub on Ubuntu.
A bit of trouble, but there is no other ways.

Second, I found that I didn't get any OVMF binaries after I installed QEMU,
libvirt, and virt-manager.
Looks like I need to find out. Which versions of OVMF are stable for
WIndows 10 right now?
Because I got movement delay on WIndows 8.1 and 10 with OVMF, and both
guest and host will crash (screen frozen) randomly.

Does anyone had suggestions?

2015-09-21 17:24 GMT+08:00 francesco dicarlo <evilsephiroth at gmail.com>:

> you can use this ppa on ubuntu  14.04
>
> https://launchpad.net/~jacob/+archive/ubuntu/virtualisation
>
> includes also qemu 1.2.0
>
> 2015-09-21 10:59 GMT+02:00 Eddie Yen <missile0407 at gmail.com>:
>
>> Yes, I successfully installed QEMU with --perfix=/usr, also virt-manager
>> can recognize QEMU right now.
>> But there is another problem, bacause virt-manager on Ubuntu's repository
>> is too old (0.9.3)
>> Now I'm trying to install it downloaded from website.
>>
>> 2015-09-21 16:12 GMT+08:00 Blank Field <ihatethisfield at gmail.com>:
>>
>>> If you have virt-manager installed, it greatly simplifies network setup
>>> and management.
>>> Also, libvirt searches for qemu binaries in PATH env.variable and those
>>> binaries should be qemu:qemu user-grouped.
>>> On Sep 21, 2015 8:17 AM, "Eddie Yen" <missile0407 at gmail.com> wrote:
>>>
>>>> Thanks for reply, and you just let me got a point!
>>>>
>>>> And the other thing is networking. Recently I'm using qemu-ifup as my
>>>> virtual NAT network.
>>>> For now I want to use virtual NAT by qemu-bridge-helper and using on VM
>>>> script.
>>>> But I don't know how to write on script.
>>>>
>>>> Recently, I'm using:
>>>>
>>>> -net tap -net nic,macaddr=<Mac-Address>
>>>>
>>>> If I want to use native QEMU virtual network without add qemu-ifup,
>>>> what should I do?
>>>>
>>>> 2015-09-21 12:51 GMT+08:00 Blank Field <ihatethisfield at gmail.com>:
>>>>
>>>>> There was <emulator> attribute in the device section, but i am afraid
>>>>> it's only related to device emulator.
>>>>> Anyway, i think something's wrong with the paths. Like qemu
>>>>> make-installed into opt instead of usr-bin. You can make a symlink from
>>>>> usual usr-bin location of stock old qemu to your fresh install.
>>>>> On Sep 21, 2015 7:36 AM, "Eddie Yen" <missile0407 at gmail.com> wrote:
>>>>>
>>>>>> Hello everyone, I got another question.
>>>>>>
>>>>>> I re-installed Ubuntu because it may crash while I'm running VM with
>>>>>> UEFI mode.
>>>>>> So this time, I'm trying to install KVM step by step according from
>>>>>> AW's blog.
>>>>>>
>>>>>> But I don't know the QEMU version on Ubuntu repository is 2.4.0 or
>>>>>> not,
>>>>>> (According to Launchpad, it wrote 2.0.0)
>>>>>> So I decided to install kernel and QEMU by manual and install libvirt
>>>>>> and virt-manager by apt-get.
>>>>>>
>>>>>> After that, I found that libvirt can't recognize QEMU during creating
>>>>>> the VM.
>>>>>>
>>>>>> How can I let libvirt to recognize the manual install QEMU?
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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/20150921/c0dbb3d6/attachment.htm>


More information about the vfio-users mailing list