Re: [PATCH 1/3 v2] KVM: x86: Create mask for guest CR4 reserved bits in kvm_update_cpuid()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/05/20 02:36, Krish Sadhukhan wrote:
> +extern u64 __guest_cr4_reserved_bits;
> +
>  int kvm_update_cpuid(struct kvm_vcpu *vcpu)

This cannot be a global, it is different for each guest since it depends
on their CPUID.  Please put it in vcpu->arch.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux