On 05/16/2011 12:50 PM, Avi Kivity wrote:
Or do you consider this not enough, and rather that it is necessary that
nested VMX should use exactly the same logic as nested SVM does -
namely,
use tricks like SVM's "exit_required" instead of our different tricks?
I think svm is rather simple here using svm_complete_interrupts() to
decode exit_int_info into the arch independent structures. I don't
think ->exit_required is a hack - it could probably be improved but I
think it does the right thing essentially. For example
svm_nmi_allowed() will return true if in guest mode and NMI
interception is enabled.
It would be better if it just returned true and let svm_inject_nmi() do
the vmexit.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html