History

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull first set of KVM updates from Paolo Bonzini: "PPC: - minor code cleanups x86: - PCID emulation and CR3 caching for shadow page tables - nested VMX live migration - nested VMCS shadowing - optimized IPI hypercall - some optimizations ARM will come next week" * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (85 commits) kvm: x86: Set highest physical address bits in non-present/reserved SPTEs KVM/x86: Use CC_SET()/CC_OUT in arch/x86/kvm/vmx.c KVM: X86: Implement PV IPIs in linux guest KVM: X86: Add kvm hypervisor init time platform setup callback KVM: X86: Implement "send IPI" hypercall KVM/x86: Move X86_CR4_OSXSAVE check into kvm_valid_sregs() KVM: x86: Skip pae_root shadow allocation if tdp enabled KVM/MMU: Combine flushing remote tlb in mmu_set_spte() KVM: vmx: skip VMWRITE of HOST_{FS,GS}_BASE when possible KVM: vmx: skip VMWRITE of HOST_{FS,GS}_SEL when possible KVM: vmx: always initialize HOST_{FS,GS}_BASE to zero during setup KVM: vmx: move struct host_state usage to struct loaded_vmcs KVM: vmx: compute need to reload FS/GS/LDT on demand KVM: nVMX: remove a misleading comment regarding vmcs02 fields KVM: vmx: rename __vmx_load_host_state() and vmx_save_host_state() KVM: vmx: add dedicated utility to access guest's kernel_gs_base KVM: vmx: track host_state.loaded using a loaded_vmcs pointer KVM: vmx: refactor segmentation code in vmx_save_host_state() kvm: nVMX: Fix fault priority for VMX operations kvm: nVMX: Fix fault vector for VMX operation at CPL > 0 ...

Linus Torvalds committed 8 years ago

Commit e61cf2e2 parents 1009aa1 28a1f3a53 files · +3110 −726Browse files

Showing the changes to include/uapi/linux (2 of 53 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/kvm.h +4 −0
  2. include/uapi/linux/kvm_para.h +2 −0
include/uapi/linux/kvm.h+4−0
@@ -950,6 +950,7 @@ struct kvm_ppc_resize_hpt { · 949 unmodified lines
950950 #define KVM_CAP_HYPERV_EVENTFD 154
951951 #define KVM_CAP_HYPERV_TLBFLUSH 155
952952 #define KVM_CAP_S390_HPAGE_1M 156
953+#define KVM_CAP_NESTED_STATE 157
953954
954955 #ifdef KVM_CAP_IRQ_ROUTING
955956
@@ -1392,6 +1393,9 @@ struct kvm_enc_region { · 436 unmodified lines
13921393 /* Available with KVM_CAP_HYPERV_EVENTFD */
13931394 #define KVM_HYPERV_EVENTFD _IOW(KVMIO, 0xbd, struct kvm_hyperv_eventfd)
13941395
1396+/* Available with KVM_CAP_NESTED_STATE */
1397+#define KVM_GET_NESTED_STATE _IOWR(KVMIO, 0xbe, struct kvm_nested_state)
1398+#define KVM_SET_NESTED_STATE _IOW(KVMIO, 0xbf, struct kvm_nested_state)
13951399
13961400 /* Secure Encrypted Virtualization command */
13971401 enum sev_cmd_id {
include/uapi/linux/kvm_para.h+2−0
@@ -13,6 +13,7 @@ · 12 unmodified lines
1313 /* Return values for hypercalls */
1414 #define KVM_ENOSYS 1000
1515 #define KVM_EFAULT EFAULT
16+#define KVM_EINVAL EINVAL
1617 #define KVM_E2BIG E2BIG
1718 #define KVM_EPERM EPERM
1819 #define KVM_EOPNOTSUPP 95
@@ -26,6 +27,7 @@ · 7 unmodified lines
2627 #define KVM_HC_MIPS_EXIT_VM 7
2728 #define KVM_HC_MIPS_CONSOLE_OUTPUT 8
2829 #define KVM_HC_CLOCK_PAIRING 9
30+#define KVM_HC_SEND_IPI 10
2931
3032 /*
3133 * hypercalls use architecture specific