KVM: SVM: Use svm_msrpm_offset in nested_svm_exit_handled_msr
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 1 Mar 2010 14:34:38 +0000 (15:34 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:13 +0000 (12:15 +0300)
There is a generic function now to calculate msrpm offsets.
Use that function in nested_svm_exit_handled_msr() remove
the duplicate logic (which had a bug anyway).

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found