Re: [PATCH V2 3/3] KVM/Hyper-V/VMX: Add direct tlb flush support

From: Paolo Bonzini
Date: Wed Aug 14 2019 - 09:33:22 EST


On 14/08/19 09:34, lantianyu1986@xxxxxxxxx wrote:
> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> index c5da875f19e3..479ad76661e6 100644
> --- a/include/linux/kvm_host.h
> +++ b/include/linux/kvm_host.h
> @@ -500,6 +500,7 @@ struct kvm {
> struct srcu_struct srcu;
> struct srcu_struct irq_srcu;
> pid_t userspace_pid;
> + struct hv_partition_assist_pg *hv_pa_pg;
> };
>
> #define kvm_err(fmt, ...) \

This does not exist on non-x86 architectures. Please move it to struct
kvm_arch.

Paolo