linux/Documentation
Xiaoyao Li 1896409282 KVM: X86: Reset vcpu->arch.cpuid_nent to 0 if SET_CPUID* fails
Current implementation keeps userspace input of CPUID configuration and
cpuid->nent even if kvm_update_cpuid() fails. Reset vcpu->arch.cpuid_nent
to 0 for the case of failure as a simple fix.

Besides, update the doc to explicitly state that if IOCTL SET_CPUID*
fail KVM gives no gurantee that previous valid CPUID configuration is
kept.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20200708065054.19713-2-xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-07-08 16:22:00 -04:00
..
2020-06-02 19:59:25 -07:00
2020-06-13 13:09:38 -07:00
2020-06-03 20:59:38 -07:00
2020-06-11 10:33:13 -07:00
2020-05-08 00:12:42 +02:00
2020-06-06 11:01:58 -07:00
2020-06-05 12:39:30 -07:00
2020-04-02 17:03:53 -07:00
2020-06-04 20:11:25 -07:00
2020-06-03 20:59:38 -07:00