KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

What --virt-type should I use with virt-install ?

4 replies [Last post]
Louise
Louise's picture
Offline
Joined: May 13 2010
Points: 35

When I look at "man virt-install" for Fedora 13 I see


--virt-type
The hypervisor to install on. Example choices are kvm, qemu, xen, or kqemu.
Availabile options are listed via 'virsh capabilities'
in the tags.

But which should I use for which guest OS?

My host is a Fedora 13 with KVM.

So should I use --virt-type=kvm or --virt-type=qemu ?

And how do they differ?

Haydn Solomon
Offline
Joined: Mar 7 2008
Points: 458
virt-type

Louise,

You should use kvm but this requires a cpu with the virtualization extensions. The qemu option uses only emulation so guest will run much slower in this mode.

Louise
Louise's picture
Offline
Joined: May 13 2010
Points: 35
Cool. Thanks. I was under the

Cool. Thanks.

I was under the impression, that KVM only worked on CPU's with AMD-V or VT, as RHEL doesn't give you KVM install options, if the CPU doesn't have either of these.

Is that because Red Hat doesn't want there customers to, by mistake, use QEMU rather than KVM?

Haydn Solomon
Offline
Joined: Mar 7 2008
Points: 458
Louise, Yes, KVM *only* works

Louise,

Yes, KVM *only* works on cpus with virtualization extensions.  If your cpu doesn't have those features it will fallback to qemu so you don't have a choice in that case.  You can also use kqemu if you have that option but kqemu isn't being maintained very much since most of the focus is now on kvm.

Louise
Louise's picture
Offline
Joined: May 13 2010
Points: 35
Awesome. Thanks for clearing

Awesome. Thanks for clearing that out about KVM/QEMU/KQEMU.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.