aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2022-01-17 16:05:39 +0100
committerPaolo Bonzini <[email protected]>2022-01-17 12:25:46 -0500
commitee3a5f9e3d9bf94159f3cc80da542fbe83502dd8 (patch)
tree984415f8a96b776099ee7acb4ef5596d8a603a49 /lib/mpi/mpi-sub-ui.c
parenta21864486f7e220bd5938c6fb637613d9635739a (diff)
KVM: x86: Do runtime CPUID update before updating vcpu->arch.cpuid_entries
kvm_update_cpuid_runtime() mangles CPUID data coming from userspace VMM after updating 'vcpu->arch.cpuid_entries', this makes it impossible to compare an update with what was previously supplied. Introduce __kvm_update_cpuid_runtime() version which can be used to tweak the input before it goes to 'vcpu->arch.cpuid_entries' so the upcoming update check can compare tweaked data. No functional change intended. Signed-off-by: Vitaly Kuznetsov <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions