From: Avi Kivity <avi@redhat.com>
To: Vaibhav Nipunage <sysprocoder@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Guest to host communication in kvm
Date: Thu, 09 Jun 2011 11:17:33 +0300 [thread overview]
Message-ID: <4DF0819D.5050704@redhat.com> (raw)
In-Reply-To: <BANLkTi=cyi+iSZmbthnxAAdzoTn9uowOJg@mail.gmail.com>
On 06/08/2011 06:27 AM, Vaibhav Nipunage wrote:
> Hello,
>
> I am trying to understand the kvm code. I am writing simple code in
> which I want to send some message or notification from the guest to
> host (qemu-kvm).
>
> I thought of implementing some hypercalls in which, on some condition
> this hypercall will get called and it get handled in qemu-kvm. But I
> didn't understand how to handle this in qemu-kvm.
>
> Or is there any other better way to do this?
Look at
cpu_register_io_memory()
cpu_register_physical_memory()
or
ioport_register()
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2011-06-09 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-08 3:27 Guest to host communication in kvm Vaibhav Nipunage
2011-06-09 8:17 ` Avi Kivity [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=4DF0819D.5050704@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=sysprocoder@gmail.com \
/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