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

francesco dicarlo evilsephiroth at gmail.com
Tue Sep 22 08:42:24 UTC 2015


you can take it from here

https://www.kraxel.org/repos/jenkins/edk2/

precisely edk2.git-ovmf-x64-0-20150921.b1222.g8cfd008.noarch.rpm
<https://www.kraxel.org/repos/jenkins/edk2/edk2.git-ovmf-x64-0-20150921.b1222.g8cfd008.noarch.rpm>

download, extract rpm with rpm2cpio and the put in /usr/share/ovmf/ or
where you want :D

2015-09-22 10:27 GMT+02:00 Blank Field <ihatethisfield at gmail.com>:

> Ovmf is a separate package, but i get it from git autobuilds.
> On Sep 22, 2015 11:25 AM, "Eddie Yen" <missile0407 at gmail.com> wrote:
>
>> Update:
>>
>> Still fail to install dracut on Ubuntu, so I decide to give up this step.
>>
>> Also I tried the ppa source of libvirt and virt-manager, got some
>> problems.
>>
>> First, I can't call boot menu out on Seabios, and if I added virtio
>> driver iso into hardware list, bios can't boot because virtio disc is 1st
>> boot device.
>> So I can only install Windows 10 with non-virtio drive.
>> And I know there is a settings that can make Seabios show boot menu, but
>> I don't know how to edit by using virsh.
>>
>> Second, looks like it still not included OVMF file inside the libvirt and
>> virt-manager.Where can I get it? And put where?
>>
>> Sorry for so many questions
>>
>> 2015-09-21 19:40 GMT+08:00 Eddie Yen <missile0407 at gmail.com>:
>>
>>> 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/20150922/5d8b8bc7/attachment.htm>


More information about the vfio-users mailing list