]> git.ipfire.org Git - people/ms/linux.git/blobdiff - arch/x86/include/asm/kvm_host.h
Merge branch 'kvm-sev-move-context' into kvm-master
[people/ms/linux.git] / arch / x86 / include / asm / kvm_host.h
index 0e9d1786c86504c68538cd23ea5b15306811816b..e061b3180b099b31aaed34d3e46a798e6c9732df 100644 (file)
@@ -689,18 +689,18 @@ struct kvm_vcpu_arch {
         *
         * Note that while the PKRU state lives inside the fpu registers,
         * it is switched out separately at VMENTER and VMEXIT time. The
-        * "guest_fpu" state here contains the guest FPU context, with the
+        * "guest_fpstate" state here contains the guest FPU context, with the
         * host PRKU bits.
         */
-       struct fpu *user_fpu;
-       struct fpu *guest_fpu;
+       struct fpu_guest guest_fpu;
 
        u64 xcr0;
        u64 guest_supported_xcr0;
 
        struct kvm_pio_request pio;
        void *pio_data;
-       void *guest_ins_data;
+       void *sev_pio_data;
+       unsigned sev_pio_count;
 
        u8 event_exit_inst_len;
 
@@ -1699,8 +1699,6 @@ void kvm_vcpu_deliver_sipi_vector(struct kvm_vcpu *vcpu, u8 vector);
 int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int idt_index,
                    int reason, bool has_error_code, u32 error_code);
 
-void kvm_free_guest_fpu(struct kvm_vcpu *vcpu);
-
 void kvm_post_set_cr0(struct kvm_vcpu *vcpu, unsigned long old_cr0, unsigned long cr0);
 void kvm_post_set_cr4(struct kvm_vcpu *vcpu, unsigned long old_cr4, unsigned long cr4);
 int kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);