[libvirt] Changing the default qemu path in libvirt

Pankaj Rawat pankaj.rawat at nechclst.in
Thu Dec 29 13:49:23 UTC 2011

Is'nt there is any shortcut for the problem then to request virt-install because that is a very long procedure and might take weeks or months

-----Original Message-----
From: Osier Yang [mailto:jyang at redhat.com] 
Sent: Thursday, December 29, 2011 5:35 PM
To: Pankaj Rawat
Cc: libvir-list at redhat.com
Subject: Re: [libvirt] Changing the default qemu path in libvirt

On 2011年12月29日 19:12, Pankaj Rawat wrote:
> I want to change the default path of qemu emulator in libvirt
> By default the path is /usr/libexec/qemu-kvm
> Which is defined in every guest xml<emulator>  tag
> I want to change this default path. Can any one help ???

If no emulator is specified in the XML, libvirt will probe
a proper emulator from the driver's capabilities (See
virsh capabilities) by the requested OS, arch, and domain

The problem is virt-install doesn't has an option for you
to specify the emulator path. And thus libvirt will always
probe the emulator. So you might want to request virt-install
to add an option for the emulator in virt-tools list.


The contents of this e-mail and any attachment(s) are confidential and
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 

More information about the libvir-list mailing list