[libvirt] Changing the default qemu path in libvirt

Osier Yang jyang at redhat.com
Thu Dec 29 13:50:45 UTC 2011


On 2011年12月29日 21:49, Pankaj Rawat wrote:
> 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

As far as I known, no. :-)

>
> -----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
> type.
>
> 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.
>
> Regards,
> Osier
>
>
>
> DISCLAIMER:
> -----------------------------------------------------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and
> intended
> 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