public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Guest to host communication in kvm
@ 2011-06-08  3:27 Vaibhav Nipunage
  2011-06-09  8:17 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Vaibhav Nipunage @ 2011-06-08  3:27 UTC (permalink / raw)
  To: kvm

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?

Please help me.

Thanks in advance.

Thanks,
Vaibhav

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Guest to host communication in kvm
  2011-06-08  3:27 Guest to host communication in kvm Vaibhav Nipunage
@ 2011-06-09  8:17 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-06-09  8:17 UTC (permalink / raw)
  To: Vaibhav Nipunage; +Cc: kvm

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-09  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08  3:27 Guest to host communication in kvm Vaibhav Nipunage
2011-06-09  8:17 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox