Hi Maxim,
Thanks for your emphasis. It's much clearer.
Best,
Harry
Hi Paolo and Sean,
It is clear to me now. Thanks much for your reply and help.
Best regards,
Harry
On 14/10/20 00:40, harry harry wrote:
> Q1: Is there any file like ``/proc/pid/pagemap'' to record the
> mappings between GPAs and HVAs in the host OS?
No, there isn't.
> Q2: Seems that there might be extra overhead (e.g., synchronization
> between EPT tables and host regular page tables; maintai
On Tue, 2020-10-13 at 16:36 -0400, harry harry wrote:
> Hi Paolo and Sean,
>
> Thanks much for your prompt replies and clear explanations.
>
> On Tue, Oct 13, 2020 at 2:43 AM Paolo Bonzini wrote:
> > No, the logic to find the HPA with a given HVA is the same as the
> > hardware logic to translat
On 13/10/20 22:36, harry harry wrote:
> Hi Paolo and Sean,
>
> Thanks much for your prompt replies and clear explanations.
>
> On Tue, Oct 13, 2020 at 2:43 AM Paolo Bonzini wrote:
>>
>> No, the logic to find the HPA with a given HVA is the same as the
>> hardware logic to translate HVA -> HPA.
Hi Sean,
Thanks much for your detailed replies. It's clear to me why GPAs are
different from HVAs in QEM/KVM. Thanks! I appreciate it if you could
help with the following two more questions.
On Tue, Oct 13, 2020 at 3:03 AM Sean Christopherson
wrote:
>
> This is where memslots come in. Think of
Hi Paolo and Sean,
Thanks much for your prompt replies and clear explanations.
On Tue, Oct 13, 2020 at 2:43 AM Paolo Bonzini wrote:
>
> No, the logic to find the HPA with a given HVA is the same as the
> hardware logic to translate HVA -> HPA. That is it uses the host
> "regular" page tables, n
On Tue, Oct 13, 2020 at 01:33:28AM -0400, harry harry wrote:
> > > Do you mean that GPAs are different from their corresponding HVAs when
> > > KVM does the walks (as you said above) in software?
> >
> > What do you mean by "different"? GPAs and HVAs are two completely
> different
> > address spac
On 13/10/20 07:46, harry harry wrote:
> Now, let's assume array[0]'s GPA is different from its corresponding
> HVA. I think there might be one issue like this: I think MMU's hardware
> logic to translate ``GPA ->[extended/nested page tables] -> HPA''[1]
> should be the same as ``VA-> [page tables]
BTW, I assume the software logic for KVM to find the HPA with a given HVA
(as you said like below) should be the same as the hardware logic in MMU
to translate ``GPA -> [extended/nested page tables] -> HPA''. If this is
true, I cannot understand how KVM can find a correct HPA with an HVA (e.g.,
ar
Hi Sean,
Thanks for the prompt reply. Please see my following reply. Thanks.
On Tue, Oct 13, 2020 at 12:52 AM Sean Christopherson <
sean.j.christopher...@intel.com> wrote:
>
> On Tue, Oct 13, 2020 at 12:30:39AM -0400, harry harry wrote:
> > Hi Sean,
> >
> > Thank you very much for your thorough e
BTW, I still have one more question as follows. Thanks!
On Mon, Oct 12, 2020 at 12:54 PM Sean Christopherson
wrote:
>
> No, the guest physical address spaces is not intrinsically tied to the host
> virtual address spaces. The fact that GPAs and HVAs are related in KVM is a
> property KVM's archi
On Tue, Oct 13, 2020 at 12:30:39AM -0400, harry harry wrote:
> Hi Sean,
>
> Thank you very much for your thorough explanations. Please see my
> inline replies as follows. Thanks!
>
> On Mon, Oct 12, 2020 at 12:54 PM Sean Christopherson
> wrote:
> >
> > No, the guest physical address spaces is no
Hi Sean,
Thank you very much for your thorough explanations. Please see my
inline replies as follows. Thanks!
On Mon, Oct 12, 2020 at 12:54 PM Sean Christopherson
wrote:
>
> No, the guest physical address spaces is not intrinsically tied to the host
> virtual address spaces. The fact that GPAs
On Sun, Oct 11, 2020 at 10:11:39AM -0400, harry harry wrote:
> Hi Maxim,
>
> Thanks much for your reply.
>
> On Sun, Oct 11, 2020 at 3:29 AM Maxim Levitsky wrote:
> >
> > On Sun, 2020-10-11 at 01:26 -0400, harry harry wrote:
> > > Hi QEMU/KVM developers,
> > >
> > > I am sorry if my email distur
Hi Maxim,
Thanks much for your reply.
On Sun, Oct 11, 2020 at 3:29 AM Maxim Levitsky wrote:
>
> On Sun, 2020-10-11 at 01:26 -0400, harry harry wrote:
> > Hi QEMU/KVM developers,
> >
> > I am sorry if my email disturbs you. I did an experiment and found the
> > guest physical addresses (GPAs) are
On Sun, 2020-10-11 at 01:26 -0400, harry harry wrote:
> Hi QEMU/KVM developers,
>
> I am sorry if my email disturbs you. I did an experiment and found the
> guest physical addresses (GPAs) are not the same as the corresponding
> host virtual addresses (HVAs). I am curious about why; I think they
>
Hi QEMU/KVM developers,
I am sorry if my email disturbs you. I did an experiment and found the
guest physical addresses (GPAs) are not the same as the corresponding
host virtual addresses (HVAs). I am curious about why; I think they
should be the same. I am very appreciated if you can give some
co
18 matches
Mail list logo