On Sat, 2014-04-12 at 01:35 +0800, Jet Chen wrote:

> Hi Ben,
> 
> I re-tested this case with/without option -enable-kvm.
> 
> qemu-system-x86_64 -cpu Haswell,+smep,+smap                   invalid op
> qemu-system-x86_64 -cpu kvm64                                 invalid op
> qemu-system-x86_64 -cpu Haswell,+smep,+smap -enable-kvm       everything OK
> qemu-system-x86_64 -cpu kvm64 -enable-kvm                     everything OK
> 
> I think this is probably a bug in QEMU.
> Sorry for misleading you. I am not experienced in QEMU usage. I don't realize 
> I need try this case with different options Until read Peter's reply.
> 
> As Peter said, QEMU probably should *not* set the hypervisor bit. But based 
> on my testing, I think KVM works properly in this case.
> 
> Thanks,
> Jet

Great, thanks! Sorry for the trouble. :)

-- Ben


Reply via email to