From: Stefan Hajnoczi <stefanha@gmail.com>
To: Cutter 409 <cutter409@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Mapping guest memory from another process?
Date: Mon, 9 Sep 2013 11:33:44 +0200 [thread overview]
Message-ID: <20130909093344.GD16629@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <CAG4Ohu-6Rksa3UgirBAKBEuWst6gG2yc4EUWebfn2U=MU9FwnA@mail.gmail.com>
On Wed, Sep 04, 2013 at 10:35:56AM -0400, Cutter 409 wrote:
> Thanks, I'll try that. Do you know of any way to get at the VCPU structure
> from another process? I'm looking to have an event triggered from the guest
> which will notify my application. In Xen I use an event channel, and then I
> can call a function to retrieve the relevant VCPU context.
At this point it might be worthwhile to describe what you're trying to
achieve.
I can think of two ways to get vcpu state from a third process: QMP
monitor or kvm.ko file descriptors. (Ignoring the possibility of using
the gdbstub.)
But the cleanest and best way depends on what exactly you are trying to
do.
Stefan
prev parent reply other threads:[~2013-09-09 9:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAG4Ohu_ZxZodnVpA=ym0WdM++Bdhwkx8MUg69aQHG8kOfTUB=A@mail.gmail.com>
2013-09-03 23:56 ` Mapping guest memory from another process? Cutter 409
2013-09-04 8:47 ` Stefan Hajnoczi
[not found] ` <CAG4Ohu-6Rksa3UgirBAKBEuWst6gG2yc4EUWebfn2U=MU9FwnA@mail.gmail.com>
2013-09-04 17:10 ` Cutter 409
2013-09-09 10:01 ` Paolo Bonzini
2013-09-09 9:33 ` Stefan Hajnoczi [this message]
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=20130909093344.GD16629@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=cutter409@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