[libvirt] How to config my VM to use KVM with libvirt?

Jun Koi junkoi2004 at gmail.com
Tue Jul 21 10:27:26 UTC 2009


On Tue, Jul 21, 2009 at 7:14 PM, Daniel P. Berrange<berrange at redhat.com> wrote:
> On Tue, Jul 21, 2009 at 05:47:15PM +0900, Jun Koi wrote:
>> Hi,
>>
>> I have a VM running under libvirt, and it is currently run with
>> -no-kvm option (I saw that in "ps" output).
>> Now I want to run this VM with KVM. How can I reconfigure it for that?
>>
>> I looked into its configuration file under /etc/libvirt/qemu, but
>> didnt see any option to turn KVM on.
>
> Run 'virsh edit GUEST'  and on the top <domain> element, change the
> type attribute to be 'kvm' instead of 'qemu'. ALso in the
> <emulator> element change the path to point to /usr/bin/qemu-kvm
>

exellent, thanks!

J




More information about the libvir-list mailing list