]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit130b28fe9c4cee720c352f3c4d81c1b4edbc8f7e
tree721f4f0bdf5a8e1a1d6872b1743c916e8aab946e
parentaa9ae0117ca886b42b53842a11763cb62b4aa00c
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