Qemu与kvm相关的命令行参数含意

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值