public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Cutter 409 <cutter409@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Mapping guest memory from another process?
Date: Mon, 09 Sep 2013 12:01:26 +0200	[thread overview]
Message-ID: <522D9C76.6030902@redhat.com> (raw)
In-Reply-To: <CAG4Ohu_T5SneP_wFxeT44qOXkCNejRg5j=W=CD8ic3CL1Xx0xQ@mail.gmail.com>

Il 04/09/2013 19:10, Cutter 409 ha scritto:
> 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.

I think you could use the ivshmem device.

http://lwn.net/Articles/380869/

To QEMU, your application would look like a shared memory server.

Paolo

  reply	other threads:[~2013-09-09 10:01 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 [this message]
2013-09-09  9:33       ` Stefan Hajnoczi

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=522D9C76.6030902@redhat.com \
    --to=pbonzini@redhat.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