diff options
| author | Sean Christopherson <[email protected]> | 2021-09-20 17:02:59 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-09-30 04:27:06 -0400 |
| commit | 583d369b36a90753d8b169f041b39078ac4e1633 (patch) | |
| tree | f61b67a626a6ec249a4f295e48547a71d5e1cb44 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | e8f65b9bb4832028cdbd5927ddb67f66c6ccdd27 (diff) | |
KVM: x86: Fold fx_init() into kvm_arch_vcpu_create()
Move the few bits of relevant fx_init() code into kvm_arch_vcpu_create(),
dropping the superfluous check on vcpu->arch.guest_fpu that was blindly
and wrongly added by commit ed02b213098a ("KVM: SVM: Guest FPU state
save/restore not needed for SEV-ES guest").
Note, KVM currently allocates and then frees FPU state for SEV-ES guests,
rather than avoid the allocation in the first place. While that approach
is inarguably inefficient and unnecessary, it's a cleanup for the future.
No functional change intended.
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions