hv: vmsr: rename msr_num to msr_index in struct msr_store_entry

Rename the field msr_num to msr_index, which is more accurate,
in struct msr_store_entry.

Tracked-On: #2834
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Binbin Wu
2019-03-22 09:21:14 +08:00
committed by wenlingz
parent 5585084c00
commit 273381b372
3 changed files with 4 additions and 4 deletions

View File

@@ -235,7 +235,7 @@ struct cpu_context {
/* Intel SDM 24.8.2, the address must be 16-byte aligned */
struct msr_store_entry {
uint32_t msr_num;
uint32_t msr_index;
uint32_t reserved;
uint64_t value;
} __aligned(16);