Re: [PATCH v3 00/17] KVM: arm64: Allow using VHE in the nVHE hypervisor

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

 



On Wed, 10 Jul 2024 07:45:52 +0100,
Tangnianyao <tangnianyao@xxxxxxxxxx> wrote:
> 
> Hi Marz,
> 
> I'm trying to learn pKVM and have a question.
> 
> Why pKVM developed on E2H=0 firstly? It tried to avoid host access
> guest memory with stage2 translation, and it seems not necessarily
> rely on HCR_EL2.E2H=0.

Because we don't want to leave ARMv8.0 systems behind. They are still
a large portion of the arm64 HW running Linux.

> Is hVHE an alternative plan of pKVM ? To allow pKVM run on E2H res1 system ?

Supporting E2H RES1 implementations is indeed one of the motivations.
But there is a lot more to it, such as being able to use the two TTBRs
to perform address space isolation inside the hypervisor.

I presented this[1] at KVM Forum two years ago, which explains what we
could do (some of which is already in progress).

	M.

[1] https://static.sched.com/hosted_files/kvmforum2022/b4/NYSM-NYD-KVM-2022.pdf

-- 
Without deviation from the norm, progress is not possible.




[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