Re: [PATCH 1/7] MIPS: KVM/locore.S: Don't preserve host ASID around vcpu_run

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

 




On 06/05/2016 15:36, James Hogan wrote:
> - It is actually redundant, since the host ASID will be restored
>   correctly by kvm_arch_vcpu_put(), which is called almost immediately
>   after kvm_arch_vcpu_ioctl_run() returns.

What happens if the guest does a rogue access to the area where the host
kernel resides?  Would that cause a wrong entry in the TLB?

Paolo




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux