commit | 455716fa941ec7a03c04bd54e1b906698171b15c | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Mon Mar 01 15:34:35 2010 +0100 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:15:08 2010 +0300 |
tree | 0bd3cef05eaf333e6c9d9d51d369bb3fcdac723c | |
parent | d24778265ac9b2602889a5e99c6e7ba777a236df [diff] |
KVM: SVM: Move msrpm offset calculation to seperate function The algorithm to find the offset in the msrpm for a given msr is needed at other places too. Move that logic to its own function. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>