[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About two-dimensional page translation (e.g., Intel EPT) and shadow
From: |
harry harry |
Subject: |
Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM |
Date: |
Wed, 28 Jul 2021 14:00:01 -0500 |
Sean, sorry for the late reply. Thanks for your careful explanations.
> For emulation of any instruction/flow that starts with a guest virtual
> address.
> On Intel CPUs, that includes quite literally any "full" instruction emulation,
> since KVM needs to translate CS:RIP to a guest physical address in order to
> fetch
> the guest's code stream. KVM can't avoid "full" emulation unless the guest is
> heavily enlightened, e.g. to avoid string I/O, among many other things.
Do you mean the emulated MMU is needed when it *only* wants to
translate GVAs to GPAs in the guest level?
In such cases, the hardware MMU cannot be used because hardware MMU
can only translate GVAs to HPAs, right?
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, (continued)
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, Maxim Levitsky, 2021/07/12
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, harry harry, 2021/07/12
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, Maxim Levitsky, 2021/07/12
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, Sean Christopherson, 2021/07/12
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, harry harry, 2021/07/14
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, Sean Christopherson, 2021/07/14
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, harry harry, 2021/07/15
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, Sean Christopherson, 2021/07/15
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, harry harry, 2021/07/15
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, Sean Christopherson, 2021/07/21
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM,
harry harry <=
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, Sean Christopherson, 2021/07/28
- Re: About two-dimensional page translation (e.g., Intel EPT) and shadow page table in Linux QEMU/KVM, harry harry, 2021/07/14