On Sun, Jan 6, 2013 at 12:27 PM, lei yang <yanglei.fage@gmail.com> wrote:
> What's the different with below combos?
The difference is historical, it's just how the command-line options
evolved over time.
> 1)qemu --enable-kvm
The old way. Still useful because it's slightly easier to type than
--machine accel=kvm.
> 2)qemu accel=kvm
The "modern" way.
> 3)qemu without above parameters when kvm kmod has been load
There is a difference in behavior between QEMU and qemu-kvm here:
QEMU uses TCG and not KVM by default, regardless of whether the kvm.ko
module has been loaded or not. qemu-kvm uses KVM by default, if
available.
The qemu-kvm fork has been retired so it's best not to rely on this
behavior. Future distro packages will be built from QEMU and unless a
code change is made, the default accelerator is TCG.
Stefan
> What's the different with below combos?
The difference is historical, it's just how the command-line options
evolved over time.
> 1)qemu --enable-kvm
The old way. Still useful because it's slightly easier to type than
--machine accel=kvm.
> 2)qemu accel=kvm
The "modern" way.
> 3)qemu without above parameters when kvm kmod has been load
There is a difference in behavior between QEMU and qemu-kvm here:
QEMU uses TCG and not KVM by default, regardless of whether the kvm.ko
module has been loaded or not. qemu-kvm uses KVM by default, if
available.
The qemu-kvm fork has been retired so it's best not to rely on this
behavior. Future distro packages will be built from QEMU and unless a
code change is made, the default accelerator is TCG.
Stefan
本文探讨了QEMU模拟器使用KVM加速的不同方式及其历史演变。详细对比了三种命令行选项:“qemu --enable-kvm”、“qemu accel=kvm”以及当KVM模块已加载时直接运行qemu的行为差异。
3839

被折叠的 条评论
为什么被折叠?



