Re: [Qemu-devel] [PATCH 1/3] qemu-kvm: Invert svm-flag setting logic

Alexander Graf
2010-09-07T12:37:35Z

On 07.09.2010, at 14:35, Avi Kivity wrote:

> On 09/07/2010 03:33 PM, Alexander Graf wrote:
>>
>>> I agree that its much nicer for mgmt tools if svm/vmx CPU flags can just be
>>> toggled in the normal manner. Might we also want to have a enable/disable
>>> nesting flag, so we can mirror the way real hardware lets you disable virt
>>> in the BIOS even when the CPU(s) have the vmx/svm flags set ?
>> I don't see how that's useful. We don't model anything like this in the kvm kernel module, so whatever we expose in user space would not be useful for detection testing. Also I'm fairly sure you either want nesting or you don't :). And if you want nesting, you probably want -cpu host too, since you lose migration anyways.
>
> Why do you lost migration?

Is that part fixed already? Joerg worked so hard on so many things that I lost track of what works and what doesn't :).

Alex