From mboxrd@z Thu Jan 1 00:00:00 1970 From: riel@redhat.com Subject: [PATCH v2 0/2] x86,kvm: move qemu/guest FPU switching out to kvm_arch_vcpu_ioctl_run Date: Tue, 14 Nov 2017 16:54:22 -0500 Message-ID: <20171114215424.32214-1-riel@redhat.com> Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, david@redhat.com, borntraeger@de.ibm.com, tglx@linutronix.de, rkrcmar@redhat.com To: pbonzini@redhat.com Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org This code moves FPU handling from the non-preemptible part of running a VCPU, way further out into the KVM_RUN ioctl handling. That way there is no need to continuously save and load the qemu FPU user context every time a VCPU context switches, or goes to sleep in the host kernel. v2: - move FPU switching out to kvm_arch_vcpu_ioctl_run (David Hildenbrand) - remove fpu handling from arch/x86/kvm/emulator.c (no longer needed)