commit | 81760dccf8d1fe5b128b58736fe3f56a566133cb | [log] [tgz] |
---|---|---|
author | Chen Yucong <slaoub@gmail.com> | Tue Sep 23 10:44:35 2014 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Sep 24 14:07:56 2014 +0200 |
tree | a7026b56a0e800c368c0e2ec6a53aa2fed608030 | |
parent | d5262739cbb8a6414ba521a79bf0549717459a09 [diff] |
kvm: x86: use macros to compute bank MSRs Avoid open coded calculations for bank MSRs by using well-defined macros that hide the index of higher bank MSRs. No semantic changes. Signed-off-by: Chen Yucong <slaoub@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>