[kvm:queue 75/85] arch/x86/kvm/vmx.c:798:9: sparse: cast truncates bits from constant value (20002 becomes 2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   03ac207029838424efaf311924cc5fbc68cd77ff
commit: 8ab1230635436c32fb0f26e7233a7aca77a5ac2e [75/85] kvm: vmx: Reduce size of vmcs_field_to_offset_table
reproduce:
        # apt-get install sparse
        git checkout 8ab1230635436c32fb0f26e7233a7aca77a5ac2e
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)


vim +798 arch/x86/kvm/vmx.c

efc644048e Feng Wu        2015-09-18  716  
8ab1230635 Jim Mattson    2017-12-22  717  #define ROL16(val, n) ((u16)(((u16)(val) << (n)) | ((u16)(val) >> (16 - (n)))))
22bd035868 Nadav Har'El   2011-05-25  718  #define VMCS12_OFFSET(x) offsetof(struct vmcs12, x)
8ab1230635 Jim Mattson    2017-12-22  719  #define FIELD(number, name)	[ROL16(number, 6)] = VMCS12_OFFSET(name)
8ab1230635 Jim Mattson    2017-12-22  720  #define FIELD64(number, name)						\
8ab1230635 Jim Mattson    2017-12-22  721  	FIELD(number, name),						\
8ab1230635 Jim Mattson    2017-12-22  722  	[ROL16(number##_HIGH, 6)] = VMCS12_OFFSET(name) + sizeof(u32)
22bd035868 Nadav Har'El   2011-05-25  723  
4607c2d7a2 Abel Gordon    2013-04-18  724  
c50d8c6b5c Paolo Bonzini  2017-12-13  725  static u16 shadow_read_only_fields[] = {
4607c2d7a2 Abel Gordon    2013-04-18  726  	/*
4607c2d7a2 Abel Gordon    2013-04-18  727  	 * We do NOT shadow fields that are modified when L0
4607c2d7a2 Abel Gordon    2013-04-18  728  	 * traps and emulates any vmx instruction (e.g. VMPTRLD,
4607c2d7a2 Abel Gordon    2013-04-18  729  	 * VMXON...) executed by L1.
4607c2d7a2 Abel Gordon    2013-04-18  730  	 * For example, VM_INSTRUCTION_ERROR is read
4607c2d7a2 Abel Gordon    2013-04-18  731  	 * by L1 if a vmx instruction fails (part of the error path).
4607c2d7a2 Abel Gordon    2013-04-18  732  	 * Note the code assumes this logic. If for some reason
4607c2d7a2 Abel Gordon    2013-04-18  733  	 * we start shadowing these fields then we need to
4607c2d7a2 Abel Gordon    2013-04-18  734  	 * force a shadow sync when L0 emulates vmx instructions
4607c2d7a2 Abel Gordon    2013-04-18  735  	 * (e.g. force a sync if VM_INSTRUCTION_ERROR is modified
4607c2d7a2 Abel Gordon    2013-04-18  736  	 * by nested_vmx_failValid)
4607c2d7a2 Abel Gordon    2013-04-18  737  	 */
c50d8c6b5c Paolo Bonzini  2017-12-13  738  	/* 32-bits */
4607c2d7a2 Abel Gordon    2013-04-18  739  	VM_EXIT_REASON,
4607c2d7a2 Abel Gordon    2013-04-18  740  	VM_EXIT_INTR_INFO,
4607c2d7a2 Abel Gordon    2013-04-18  741  	VM_EXIT_INSTRUCTION_LEN,
4607c2d7a2 Abel Gordon    2013-04-18  742  	IDT_VECTORING_INFO_FIELD,
4607c2d7a2 Abel Gordon    2013-04-18  743  	IDT_VECTORING_ERROR_CODE,
4607c2d7a2 Abel Gordon    2013-04-18  744  	VM_EXIT_INTR_ERROR_CODE,
c50d8c6b5c Paolo Bonzini  2017-12-13  745  
c50d8c6b5c Paolo Bonzini  2017-12-13  746  	/* Natural width */
4607c2d7a2 Abel Gordon    2013-04-18  747  	EXIT_QUALIFICATION,
4607c2d7a2 Abel Gordon    2013-04-18  748  	GUEST_LINEAR_ADDRESS,
c50d8c6b5c Paolo Bonzini  2017-12-13  749  
c50d8c6b5c Paolo Bonzini  2017-12-13  750  	/* 64-bit */
c50d8c6b5c Paolo Bonzini  2017-12-13  751  	GUEST_PHYSICAL_ADDRESS,
c50d8c6b5c Paolo Bonzini  2017-12-13  752  	GUEST_PHYSICAL_ADDRESS_HIGH,
4607c2d7a2 Abel Gordon    2013-04-18  753  };
fe2b201b3b Bandan Das     2014-04-21  754  static int max_shadow_read_only_fields =
4607c2d7a2 Abel Gordon    2013-04-18  755  	ARRAY_SIZE(shadow_read_only_fields);
4607c2d7a2 Abel Gordon    2013-04-18  756  
c50d8c6b5c Paolo Bonzini  2017-12-13  757  static u16 shadow_read_write_fields[] = {
c50d8c6b5c Paolo Bonzini  2017-12-13  758  	/* 16-bits */
c50d8c6b5c Paolo Bonzini  2017-12-13  759  	GUEST_CS_SELECTOR,
c50d8c6b5c Paolo Bonzini  2017-12-13  760  	GUEST_INTR_STATUS,
c50d8c6b5c Paolo Bonzini  2017-12-13  761  	GUEST_PML_INDEX,
c50d8c6b5c Paolo Bonzini  2017-12-13  762  	HOST_FS_SELECTOR,
c50d8c6b5c Paolo Bonzini  2017-12-13  763  	HOST_GS_SELECTOR,
c50d8c6b5c Paolo Bonzini  2017-12-13  764  
c50d8c6b5c Paolo Bonzini  2017-12-13  765  	/* 32-bits */
c50d8c6b5c Paolo Bonzini  2017-12-13  766  	CPU_BASED_VM_EXEC_CONTROL,
c50d8c6b5c Paolo Bonzini  2017-12-13  767  	EXCEPTION_BITMAP,
c50d8c6b5c Paolo Bonzini  2017-12-13  768  	VM_ENTRY_EXCEPTION_ERROR_CODE,
c50d8c6b5c Paolo Bonzini  2017-12-13  769  	VM_ENTRY_INTR_INFO_FIELD,
c50d8c6b5c Paolo Bonzini  2017-12-13  770  	VM_ENTRY_INSTRUCTION_LEN,
a7c0b07d57 Wanpeng Li     2014-08-21  771  	TPR_THRESHOLD,
c50d8c6b5c Paolo Bonzini  2017-12-13  772  	GUEST_CS_LIMIT,
c50d8c6b5c Paolo Bonzini  2017-12-13  773  	GUEST_CS_AR_BYTES,
c50d8c6b5c Paolo Bonzini  2017-12-13  774  	GUEST_INTERRUPTIBILITY_INFO,
c50d8c6b5c Paolo Bonzini  2017-12-13  775  	VMX_PREEMPTION_TIMER_VALUE,
c50d8c6b5c Paolo Bonzini  2017-12-13  776  
c50d8c6b5c Paolo Bonzini  2017-12-13  777  	/* Natural width */
4607c2d7a2 Abel Gordon    2013-04-18  778  	GUEST_RIP,
4607c2d7a2 Abel Gordon    2013-04-18  779  	GUEST_RSP,
4607c2d7a2 Abel Gordon    2013-04-18  780  	GUEST_CR0,
4607c2d7a2 Abel Gordon    2013-04-18  781  	GUEST_CR3,
4607c2d7a2 Abel Gordon    2013-04-18  782  	GUEST_CR4,
4607c2d7a2 Abel Gordon    2013-04-18  783  	GUEST_RFLAGS,
4607c2d7a2 Abel Gordon    2013-04-18  784  	GUEST_CS_BASE,
4607c2d7a2 Abel Gordon    2013-04-18  785  	GUEST_ES_BASE,
4607c2d7a2 Abel Gordon    2013-04-18  786  	CR0_GUEST_HOST_MASK,
4607c2d7a2 Abel Gordon    2013-04-18  787  	CR0_READ_SHADOW,
4607c2d7a2 Abel Gordon    2013-04-18  788  	CR4_READ_SHADOW,
4607c2d7a2 Abel Gordon    2013-04-18  789  	HOST_FS_BASE,
4607c2d7a2 Abel Gordon    2013-04-18  790  	HOST_GS_BASE,
4607c2d7a2 Abel Gordon    2013-04-18  791  };
fe2b201b3b Bandan Das     2014-04-21  792  static int max_shadow_read_write_fields =
4607c2d7a2 Abel Gordon    2013-04-18  793  	ARRAY_SIZE(shadow_read_write_fields);
4607c2d7a2 Abel Gordon    2013-04-18  794  
772e031899 Mathias Krause 2012-08-30  795  static const unsigned short vmcs_field_to_offset_table[] = {
22bd035868 Nadav Har'El   2011-05-25  796  	FIELD(VIRTUAL_PROCESSOR_ID, virtual_processor_id),
705699a139 Wincy Van      2015-02-03  797  	FIELD(POSTED_INTR_NV, posted_intr_nv),
22bd035868 Nadav Har'El   2011-05-25 @798  	FIELD(GUEST_ES_SELECTOR, guest_es_selector),
22bd035868 Nadav Har'El   2011-05-25  799  	FIELD(GUEST_CS_SELECTOR, guest_cs_selector),
22bd035868 Nadav Har'El   2011-05-25  800  	FIELD(GUEST_SS_SELECTOR, guest_ss_selector),
22bd035868 Nadav Har'El   2011-05-25  801  	FIELD(GUEST_DS_SELECTOR, guest_ds_selector),
22bd035868 Nadav Har'El   2011-05-25  802  	FIELD(GUEST_FS_SELECTOR, guest_fs_selector),
22bd035868 Nadav Har'El   2011-05-25  803  	FIELD(GUEST_GS_SELECTOR, guest_gs_selector),
22bd035868 Nadav Har'El   2011-05-25  804  	FIELD(GUEST_LDTR_SELECTOR, guest_ldtr_selector),
22bd035868 Nadav Har'El   2011-05-25  805  	FIELD(GUEST_TR_SELECTOR, guest_tr_selector),
608406e290 Wincy Van      2015-02-03  806  	FIELD(GUEST_INTR_STATUS, guest_intr_status),
c5f983f6e8 Bandan Das     2017-05-05  807  	FIELD(GUEST_PML_INDEX, guest_pml_index),
22bd035868 Nadav Har'El   2011-05-25  808  	FIELD(HOST_ES_SELECTOR, host_es_selector),
22bd035868 Nadav Har'El   2011-05-25 @809  	FIELD(HOST_CS_SELECTOR, host_cs_selector),
22bd035868 Nadav Har'El   2011-05-25  810  	FIELD(HOST_SS_SELECTOR, host_ss_selector),
22bd035868 Nadav Har'El   2011-05-25  811  	FIELD(HOST_DS_SELECTOR, host_ds_selector),
22bd035868 Nadav Har'El   2011-05-25  812  	FIELD(HOST_FS_SELECTOR, host_fs_selector),
22bd035868 Nadav Har'El   2011-05-25 @813  	FIELD(HOST_GS_SELECTOR, host_gs_selector),
22bd035868 Nadav Har'El   2011-05-25  814  	FIELD(HOST_TR_SELECTOR, host_tr_selector),
22bd035868 Nadav Har'El   2011-05-25  815  	FIELD64(IO_BITMAP_A, io_bitmap_a),
22bd035868 Nadav Har'El   2011-05-25 @816  	FIELD64(IO_BITMAP_B, io_bitmap_b),
22bd035868 Nadav Har'El   2011-05-25  817  	FIELD64(MSR_BITMAP, msr_bitmap),
22bd035868 Nadav Har'El   2011-05-25 @818  	FIELD64(VM_EXIT_MSR_STORE_ADDR, vm_exit_msr_store_addr),
22bd035868 Nadav Har'El   2011-05-25  819  	FIELD64(VM_EXIT_MSR_LOAD_ADDR, vm_exit_msr_load_addr),
22bd035868 Nadav Har'El   2011-05-25 @820  	FIELD64(VM_ENTRY_MSR_LOAD_ADDR, vm_entry_msr_load_addr),
22bd035868 Nadav Har'El   2011-05-25  821  	FIELD64(TSC_OFFSET, tsc_offset),
22bd035868 Nadav Har'El   2011-05-25 @822  	FIELD64(VIRTUAL_APIC_PAGE_ADDR, virtual_apic_page_addr),
22bd035868 Nadav Har'El   2011-05-25  823  	FIELD64(APIC_ACCESS_ADDR, apic_access_addr),
705699a139 Wincy Van      2015-02-03 @824  	FIELD64(POSTED_INTR_DESC_ADDR, posted_intr_desc_addr),
27c42a1bb8 Bandan Das     2017-08-03  825  	FIELD64(VM_FUNCTION_CONTROL, vm_function_control),
22bd035868 Nadav Har'El   2011-05-25 @826  	FIELD64(EPT_POINTER, ept_pointer),
608406e290 Wincy Van      2015-02-03 @827  	FIELD64(EOI_EXIT_BITMAP0, eoi_exit_bitmap0),
608406e290 Wincy Van      2015-02-03 @828  	FIELD64(EOI_EXIT_BITMAP1, eoi_exit_bitmap1),
608406e290 Wincy Van      2015-02-03 @829  	FIELD64(EOI_EXIT_BITMAP2, eoi_exit_bitmap2),
608406e290 Wincy Van      2015-02-03 @830  	FIELD64(EOI_EXIT_BITMAP3, eoi_exit_bitmap3),
41ab937274 Bandan Das     2017-08-03 @831  	FIELD64(EPTP_LIST_ADDRESS, eptp_list_address),
81dc01f749 Wanpeng Li     2014-12-04 @832  	FIELD64(XSS_EXIT_BITMAP, xss_exit_bitmap),
22bd035868 Nadav Har'El   2011-05-25 @833  	FIELD64(GUEST_PHYSICAL_ADDRESS, guest_physical_address),
22bd035868 Nadav Har'El   2011-05-25 @834  	FIELD64(VMCS_LINK_POINTER, vmcs_link_pointer),
c5f983f6e8 Bandan Das     2017-05-05 @835  	FIELD64(PML_ADDRESS, pml_address),
22bd035868 Nadav Har'El   2011-05-25 @836  	FIELD64(GUEST_IA32_DEBUGCTL, guest_ia32_debugctl),
22bd035868 Nadav Har'El   2011-05-25 @837  	FIELD64(GUEST_IA32_PAT, guest_ia32_pat),
22bd035868 Nadav Har'El   2011-05-25 @838  	FIELD64(GUEST_IA32_EFER, guest_ia32_efer),
22bd035868 Nadav Har'El   2011-05-25 @839  	FIELD64(GUEST_IA32_PERF_GLOBAL_CTRL, guest_ia32_perf_global_ctrl),
22bd035868 Nadav Har'El   2011-05-25 @840  	FIELD64(GUEST_PDPTR0, guest_pdptr0),
22bd035868 Nadav Har'El   2011-05-25 @841  	FIELD64(GUEST_PDPTR1, guest_pdptr1),
22bd035868 Nadav Har'El   2011-05-25 @842  	FIELD64(GUEST_PDPTR2, guest_pdptr2),
22bd035868 Nadav Har'El   2011-05-25 @843  	FIELD64(GUEST_PDPTR3, guest_pdptr3),
36be0b9deb Paolo Bonzini  2014-02-24 @844  	FIELD64(GUEST_BNDCFGS, guest_bndcfgs),
22bd035868 Nadav Har'El   2011-05-25 @845  	FIELD64(HOST_IA32_PAT, host_ia32_pat),
22bd035868 Nadav Har'El   2011-05-25 @846  	FIELD64(HOST_IA32_EFER, host_ia32_efer),
22bd035868 Nadav Har'El   2011-05-25 @847  	FIELD64(HOST_IA32_PERF_GLOBAL_CTRL, host_ia32_perf_global_ctrl),
22bd035868 Nadav Har'El   2011-05-25  848  	FIELD(PIN_BASED_VM_EXEC_CONTROL, pin_based_vm_exec_control),
22bd035868 Nadav Har'El   2011-05-25  849  	FIELD(CPU_BASED_VM_EXEC_CONTROL, cpu_based_vm_exec_control),
22bd035868 Nadav Har'El   2011-05-25  850  	FIELD(EXCEPTION_BITMAP, exception_bitmap),
22bd035868 Nadav Har'El   2011-05-25  851  	FIELD(PAGE_FAULT_ERROR_CODE_MASK, page_fault_error_code_mask),
22bd035868 Nadav Har'El   2011-05-25  852  	FIELD(PAGE_FAULT_ERROR_CODE_MATCH, page_fault_error_code_match),
22bd035868 Nadav Har'El   2011-05-25  853  	FIELD(CR3_TARGET_COUNT, cr3_target_count),
22bd035868 Nadav Har'El   2011-05-25  854  	FIELD(VM_EXIT_CONTROLS, vm_exit_controls),
22bd035868 Nadav Har'El   2011-05-25 @855  	FIELD(VM_EXIT_MSR_STORE_COUNT, vm_exit_msr_store_count),
22bd035868 Nadav Har'El   2011-05-25  856  	FIELD(VM_EXIT_MSR_LOAD_COUNT, vm_exit_msr_load_count),
22bd035868 Nadav Har'El   2011-05-25  857  	FIELD(VM_ENTRY_CONTROLS, vm_entry_controls),
22bd035868 Nadav Har'El   2011-05-25  858  	FIELD(VM_ENTRY_MSR_LOAD_COUNT, vm_entry_msr_load_count),
22bd035868 Nadav Har'El   2011-05-25  859  	FIELD(VM_ENTRY_INTR_INFO_FIELD, vm_entry_intr_info_field),
22bd035868 Nadav Har'El   2011-05-25  860  	FIELD(VM_ENTRY_EXCEPTION_ERROR_CODE, vm_entry_exception_error_code),
22bd035868 Nadav Har'El   2011-05-25  861  	FIELD(VM_ENTRY_INSTRUCTION_LEN, vm_entry_instruction_len),
22bd035868 Nadav Har'El   2011-05-25  862  	FIELD(TPR_THRESHOLD, tpr_threshold),
22bd035868 Nadav Har'El   2011-05-25  863  	FIELD(SECONDARY_VM_EXEC_CONTROL, secondary_vm_exec_control),
22bd035868 Nadav Har'El   2011-05-25 @864  	FIELD(VM_INSTRUCTION_ERROR, vm_instruction_error),
22bd035868 Nadav Har'El   2011-05-25  865  	FIELD(VM_EXIT_REASON, vm_exit_reason),
22bd035868 Nadav Har'El   2011-05-25  866  	FIELD(VM_EXIT_INTR_INFO, vm_exit_intr_info),
22bd035868 Nadav Har'El   2011-05-25  867  	FIELD(VM_EXIT_INTR_ERROR_CODE, vm_exit_intr_error_code),
22bd035868 Nadav Har'El   2011-05-25  868  	FIELD(IDT_VECTORING_INFO_FIELD, idt_vectoring_info_field),
22bd035868 Nadav Har'El   2011-05-25  869  	FIELD(IDT_VECTORING_ERROR_CODE, idt_vectoring_error_code),
22bd035868 Nadav Har'El   2011-05-25  870  	FIELD(VM_EXIT_INSTRUCTION_LEN, vm_exit_instruction_len),
22bd035868 Nadav Har'El   2011-05-25  871  	FIELD(VMX_INSTRUCTION_INFO, vmx_instruction_info),
22bd035868 Nadav Har'El   2011-05-25  872  	FIELD(GUEST_ES_LIMIT, guest_es_limit),
22bd035868 Nadav Har'El   2011-05-25  873  	FIELD(GUEST_CS_LIMIT, guest_cs_limit),
22bd035868 Nadav Har'El   2011-05-25  874  	FIELD(GUEST_SS_LIMIT, guest_ss_limit),
22bd035868 Nadav Har'El   2011-05-25  875  	FIELD(GUEST_DS_LIMIT, guest_ds_limit),
22bd035868 Nadav Har'El   2011-05-25  876  	FIELD(GUEST_FS_LIMIT, guest_fs_limit),
22bd035868 Nadav Har'El   2011-05-25  877  	FIELD(GUEST_GS_LIMIT, guest_gs_limit),
22bd035868 Nadav Har'El   2011-05-25  878  	FIELD(GUEST_LDTR_LIMIT, guest_ldtr_limit),
22bd035868 Nadav Har'El   2011-05-25  879  	FIELD(GUEST_TR_LIMIT, guest_tr_limit),
22bd035868 Nadav Har'El   2011-05-25  880  	FIELD(GUEST_GDTR_LIMIT, guest_gdtr_limit),
22bd035868 Nadav Har'El   2011-05-25  881  	FIELD(GUEST_IDTR_LIMIT, guest_idtr_limit),
22bd035868 Nadav Har'El   2011-05-25  882  	FIELD(GUEST_ES_AR_BYTES, guest_es_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  883  	FIELD(GUEST_CS_AR_BYTES, guest_cs_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  884  	FIELD(GUEST_SS_AR_BYTES, guest_ss_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  885  	FIELD(GUEST_DS_AR_BYTES, guest_ds_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  886  	FIELD(GUEST_FS_AR_BYTES, guest_fs_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  887  	FIELD(GUEST_GS_AR_BYTES, guest_gs_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  888  	FIELD(GUEST_LDTR_AR_BYTES, guest_ldtr_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  889  	FIELD(GUEST_TR_AR_BYTES, guest_tr_ar_bytes),
22bd035868 Nadav Har'El   2011-05-25  890  	FIELD(GUEST_INTERRUPTIBILITY_INFO, guest_interruptibility_info),
22bd035868 Nadav Har'El   2011-05-25  891  	FIELD(GUEST_ACTIVITY_STATE, guest_activity_state),
22bd035868 Nadav Har'El   2011-05-25  892  	FIELD(GUEST_SYSENTER_CS, guest_sysenter_cs),
22bd035868 Nadav Har'El   2011-05-25  893  	FIELD(HOST_IA32_SYSENTER_CS, host_ia32_sysenter_cs),
0238ea913c Jan Kiszka     2013-03-13  894  	FIELD(VMX_PREEMPTION_TIMER_VALUE, vmx_preemption_timer_value),
22bd035868 Nadav Har'El   2011-05-25  895  	FIELD(CR0_GUEST_HOST_MASK, cr0_guest_host_mask),
22bd035868 Nadav Har'El   2011-05-25  896  	FIELD(CR4_GUEST_HOST_MASK, cr4_guest_host_mask),
22bd035868 Nadav Har'El   2011-05-25  897  	FIELD(CR0_READ_SHADOW, cr0_read_shadow),
22bd035868 Nadav Har'El   2011-05-25  898  	FIELD(CR4_READ_SHADOW, cr4_read_shadow),
22bd035868 Nadav Har'El   2011-05-25  899  	FIELD(CR3_TARGET_VALUE0, cr3_target_value0),
22bd035868 Nadav Har'El   2011-05-25  900  	FIELD(CR3_TARGET_VALUE1, cr3_target_value1),
22bd035868 Nadav Har'El   2011-05-25  901  	FIELD(CR3_TARGET_VALUE2, cr3_target_value2),
22bd035868 Nadav Har'El   2011-05-25  902  	FIELD(CR3_TARGET_VALUE3, cr3_target_value3),
22bd035868 Nadav Har'El   2011-05-25  903  	FIELD(EXIT_QUALIFICATION, exit_qualification),
22bd035868 Nadav Har'El   2011-05-25  904  	FIELD(GUEST_LINEAR_ADDRESS, guest_linear_address),
22bd035868 Nadav Har'El   2011-05-25  905  	FIELD(GUEST_CR0, guest_cr0),
22bd035868 Nadav Har'El   2011-05-25  906  	FIELD(GUEST_CR3, guest_cr3),
22bd035868 Nadav Har'El   2011-05-25  907  	FIELD(GUEST_CR4, guest_cr4),
22bd035868 Nadav Har'El   2011-05-25  908  	FIELD(GUEST_ES_BASE, guest_es_base),
22bd035868 Nadav Har'El   2011-05-25  909  	FIELD(GUEST_CS_BASE, guest_cs_base),
22bd035868 Nadav Har'El   2011-05-25  910  	FIELD(GUEST_SS_BASE, guest_ss_base),
22bd035868 Nadav Har'El   2011-05-25  911  	FIELD(GUEST_DS_BASE, guest_ds_base),
22bd035868 Nadav Har'El   2011-05-25  912  	FIELD(GUEST_FS_BASE, guest_fs_base),
22bd035868 Nadav Har'El   2011-05-25  913  	FIELD(GUEST_GS_BASE, guest_gs_base),
22bd035868 Nadav Har'El   2011-05-25  914  	FIELD(GUEST_LDTR_BASE, guest_ldtr_base),
22bd035868 Nadav Har'El   2011-05-25  915  	FIELD(GUEST_TR_BASE, guest_tr_base),
22bd035868 Nadav Har'El   2011-05-25  916  	FIELD(GUEST_GDTR_BASE, guest_gdtr_base),
22bd035868 Nadav Har'El   2011-05-25  917  	FIELD(GUEST_IDTR_BASE, guest_idtr_base),
22bd035868 Nadav Har'El   2011-05-25  918  	FIELD(GUEST_DR7, guest_dr7),
22bd035868 Nadav Har'El   2011-05-25  919  	FIELD(GUEST_RSP, guest_rsp),
22bd035868 Nadav Har'El   2011-05-25  920  	FIELD(GUEST_RIP, guest_rip),
22bd035868 Nadav Har'El   2011-05-25  921  	FIELD(GUEST_RFLAGS, guest_rflags),
22bd035868 Nadav Har'El   2011-05-25  922  	FIELD(GUEST_PENDING_DBG_EXCEPTIONS, guest_pending_dbg_exceptions),
22bd035868 Nadav Har'El   2011-05-25  923  	FIELD(GUEST_SYSENTER_ESP, guest_sysenter_esp),
22bd035868 Nadav Har'El   2011-05-25  924  	FIELD(GUEST_SYSENTER_EIP, guest_sysenter_eip),
22bd035868 Nadav Har'El   2011-05-25  925  	FIELD(HOST_CR0, host_cr0),
22bd035868 Nadav Har'El   2011-05-25  926  	FIELD(HOST_CR3, host_cr3),
22bd035868 Nadav Har'El   2011-05-25  927  	FIELD(HOST_CR4, host_cr4),
22bd035868 Nadav Har'El   2011-05-25  928  	FIELD(HOST_FS_BASE, host_fs_base),
22bd035868 Nadav Har'El   2011-05-25  929  	FIELD(HOST_GS_BASE, host_gs_base),
22bd035868 Nadav Har'El   2011-05-25  930  	FIELD(HOST_TR_BASE, host_tr_base),
22bd035868 Nadav Har'El   2011-05-25  931  	FIELD(HOST_GDTR_BASE, host_gdtr_base),
22bd035868 Nadav Har'El   2011-05-25  932  	FIELD(HOST_IDTR_BASE, host_idtr_base),
22bd035868 Nadav Har'El   2011-05-25  933  	FIELD(HOST_IA32_SYSENTER_ESP, host_ia32_sysenter_esp),
22bd035868 Nadav Har'El   2011-05-25  934  	FIELD(HOST_IA32_SYSENTER_EIP, host_ia32_sysenter_eip),
22bd035868 Nadav Har'El   2011-05-25  935  	FIELD(HOST_RSP, host_rsp),
22bd035868 Nadav Har'El   2011-05-25  936  	FIELD(HOST_RIP, host_rip),
22bd035868 Nadav Har'El   2011-05-25  937  };
22bd035868 Nadav Har'El   2011-05-25  938  

:::::: The code at line 798 was first introduced by commit
:::::: 22bd035868b06a614debf7352c09fb3efdc7c269 KVM: nVMX: Add VMCS fields to the vmcs12

:::::: TO: Nadav Har'El <nyh@xxxxxxxxxx>
:::::: CC: Avi Kivity <avi@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux