[PATCH v2] KVM: VMX: Don't expose PLE enable if there is no hardware support

2017-09-28 Thread Wanpeng Li
From: Wanpeng Li PLE_Window: Software can configure this field as an upper bound on the amount of time a guest is allowed to execute in a PAUSE LOOP. KVM doesn't expose the PLE capability to the L1 hypervisor, however, ple_window still shows the default value on L1

[PATCH v2] KVM: VMX: Don't expose PLE enable if there is no hardware support

2017-09-28 Thread Wanpeng Li
From: Wanpeng Li PLE_Window: Software can configure this field as an upper bound on the amount of time a guest is allowed to execute in a PAUSE LOOP. KVM doesn't expose the PLE capability to the L1 hypervisor, however, ple_window still shows the default value on L1 hypervisor. This patch