KVM: SVM: Return correct values in nested_svm_exit_handled_msr
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 1 Mar 2010 14:34:34 +0000 (15:34 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:07 +0000 (12:15 +0300)
commitd24778265ac9b2602889a5e99c6e7ba777a236df
tree721f4f0bdf5a8e1a1d6872b1743c916e8aab946e
parent0fc5c3a54d68d0e6c2f3b346dcc924ba928c4d0e
KVM: SVM: Return correct values in nested_svm_exit_handled_msr

The nested_svm_exit_handled_msr() returned an bool which is
a bug. I worked by accident because the exected integer
return values match with the true and false values. This
patch changes the return value to int and let the function
return the correct values.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c