[virt-tools-list] How to make virt-manager targets the correct qemu emulators

Gabriel Laupre glaupre at chelsio.com
Thu Jun 25 01:52:54 UTC 2015


Hello,

I guess it will do the trick. But in my case I don’t want to change the XML config file. I want that my emulator under /usr/local/bin/ to be directly chosen by the virt-manager when I create a new VM using the GUI tool. I don’t know if it is possible though.

Thank you :)

From: Chen, Hanxiao [mailto:chenhanxiao at cn.fujitsu.com]
Sent: Wednesday, June 24, 2015 6:45 PM
To: Gabriel Laupre; virt-tools-list at redhat.com
Subject: RE: [virt-tools-list] How to make virt-manager targets the correct qemu emulators

Hi,

From: virt-tools-list-bounces at redhat.com<mailto:virt-tools-list-bounces at redhat.com> [mailto:virt-tools-list-bounces at redhat.com] On Behalf Of Gabriel Laupre
Sent: Thursday, June 25, 2015 9:35 AM
To: virt-tools-list at redhat.com<mailto:virt-tools-list at redhat.com>
Subject: [virt-tools-list] How to make virt-manager targets the correct qemu emulators

Hello,

I have an old version of qemu installed under the path /usr/bin/. I am using a Centos 7 machine.
I just got the last qemu code and made some modifications, recompiled it and I have my qemu emulators under /usr/local/bin.

When I launch the virt-manager, it seems that it targets the old one under /usr/bin/ and I want to change that the virt-manager will use my new one under /usr/local/bin.

Where can I specify this information?

You could:

1)      virsh edit  $YOU_VM


2)      find this:
<emulator>/usr/bin/qemu-kvm</emulator>


3)      change it to

<emulator>/usr/local/bin/qemu-kvm</emulator>



4)      you may need to disabled your selinux
vim /etc/selinux/config

Hope this could help.

Regards,
- Chen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20150625/3b53c2a0/attachment.htm>


More information about the virt-tools-list mailing list