kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: xitler adole <zqyleo@gmail.com>
To: kvm@vger.kernel.org
Subject: problems about EPT in kvm
Date: Fri, 27 Mar 2020 11:54:56 +0800	[thread overview]
Message-ID: <CA+9FcC=PGZ76Tj5Sn1se-GkjpiQDUunKM0fzpdKRzvivTkiEqw@mail.gmail.com> (raw)

Dear developer:

I am facing confusing problems, there is no way for me to figure it
out, so I have to ask for help:

1.  I am using the <asm/kvm_host.h> <linux/kvm_host.h> for using kvm
in my module, but there are always some function undefined like
kvm_arch_mmu_notifier_invalidate_range. Are those functions not
visiable from outside?

2.   With the ept technology, If I use "alloc_page" inside the guest
virtual machine, and use "page_to_pfn" to get the pfn of the certain
page, Is the pfn I get the gfn or the pfn of the host machine?

3.  I want to modify the EPT table, so that I can make the gva point
to certain hpa just to share information between vm, Given the
condition that I can not modify the kvm code, Is that possible?

4. Do you have some technology about sharing memory between virtual
machine with some example code?

sorry for trouble, but I really find it hart to solve it only by myself.

             reply	other threads:[~2020-03-27  3:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27  3:54 xitler adole [this message]
2020-03-27 13:58 ` problems about EPT in kvm Vitaly Kuznetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+9FcC=PGZ76Tj5Sn1se-GkjpiQDUunKM0fzpdKRzvivTkiEqw@mail.gmail.com' \
    --to=zqyleo@gmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).