How do I emulate the vmx feature with QEMU?
<p>I read from <a href="https://www.kernel.org/doc/Documentation/virtual/kvm/nested-vmx.txt" rel="nofollow noreferrer">here</a> that vmx capability support on QEMU must be explicitly enabled by providing the +vmx option to the command but the problem is that it does not seem to work. In my system, the VMX feature is still undetected.</p>

<p>Command:</p>

<pre><code>qemu-system-x86_64 -no-kvm -cpu qemu64,+vmx,-svm  ...
</code></pre>

<p>In my guest OS, when I execute cpuid 1 I get ECX = 0x80802001; bit 5 = 0 meaning that my virtual CPU does not have VMX.</p>

<p>Is this a bug?</p>

<p>Or is there another way to enable the vmx feature in QEMU?</p>