* inter-VM communication?
@ 2006-11-30 6:35 Jun Koi
[not found] ` <fdaac4d50611292235p79633d2cn21970e4b28455882-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Jun Koi @ 2006-11-30 6:35 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
Do we have any inter-VM communication technique in KVM (something for
example like event-channel in Xen) ?
Thanks,
Jun
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <fdaac4d50611292235p79633d2cn21970e4b28455882-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: inter-VM communication? [not found] ` <fdaac4d50611292235p79633d2cn21970e4b28455882-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2006-11-30 7:09 ` Dor Laor [not found] ` <64F9B87B6B770947A9F8391472E03216094CB08C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Dor Laor @ 2006-11-30 7:09 UTC (permalink / raw) To: Jun Koi, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f > Hi, > > Do we have any inter-VM communication technique in KVM (something for > example like event-channel in Xen) ? > > Thanks, > Jun Currently there is full isolation of the guests. Such mechanism would not be complicated to add since we anyway map memory from user space & inject interrupt from there also. Do you have any specific interest in inter VM channel? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <64F9B87B6B770947A9F8391472E03216094CB08C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>]
* Re: inter-VM communication? [not found] ` <64F9B87B6B770947A9F8391472E03216094CB08C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> @ 2006-11-30 10:17 ` Jun Koi [not found] ` <fdaac4d50611300217t1e667ad6gd7224cd3a0be8314-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Jun Koi @ 2006-11-30 10:17 UTC (permalink / raw) To: Dor Laor; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On 11/30/06, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote: > > Hi, > > > > Do we have any inter-VM communication technique in KVM (something for > > example like event-channel in Xen) ? > > > > Thanks, > > Jun > > Currently there is full isolation of the guests. > Such mechanism would not be complicated to add since we anyway map > memory from user space & inject interrupt from there also. > Do you have any specific interest in inter VM channel? I want to exchange some data between a VM and hypervisor. One solution is to map some memory of that VM (from hypervisor), and read/write data thru that memory area. However, I need to a mechanism to notify the other partner when data is ready to read/write. Without any inter-VM communication mechanism, I dont see any clean way to achieve this. Any idea? Thanks, Jun ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <fdaac4d50611300217t1e667ad6gd7224cd3a0be8314-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: inter-VM communication? [not found] ` <fdaac4d50611300217t1e667ad6gd7224cd3a0be8314-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2006-11-30 10:21 ` Avi Kivity [not found] ` <456EB0AB.30508-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Avi Kivity @ 2006-11-30 10:21 UTC (permalink / raw) To: Jun Koi; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Jun Koi wrote: > On 11/30/06, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote: > >>> Hi, >>> >>> Do we have any inter-VM communication technique in KVM (something for >>> example like event-channel in Xen) ? >>> >>> Thanks, >>> Jun >>> >> Currently there is full isolation of the guests. >> Such mechanism would not be complicated to add since we anyway map >> memory from user space & inject interrupt from there also. >> Do you have any specific interest in inter VM channel? >> > > I want to exchange some data between a VM and hypervisor. One solution > is to map some memory of that VM (from hypervisor), and read/write > data thru that memory area. However, I need to a mechanism to notify > the other partner when data is ready to read/write. > > Without any inter-VM communication mechanism, I dont see any clean way > to achieve this. Any idea? > Write a pci device for qemu to do what you want. The pci device can communicate through a unix domain socket, shared memory, or any other ipc mechanism with any other process on the host (including other virtual machines). Guest->host communication is performed by writing the device's mmio registers. Host->guest communications are done by raising a virtual interrupt. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <456EB0AB.30508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: inter-VM communication? [not found] ` <456EB0AB.30508-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2006-11-30 10:26 ` Dor Laor 0 siblings, 0 replies; 5+ messages in thread From: Dor Laor @ 2006-11-30 10:26 UTC (permalink / raw) To: Avi Kivity, Jun Koi; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f > Jun Koi wrote: > > On 11/30/06, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote: > > > >>> Hi, > >>> > >>> Do we have any inter-VM communication technique in KVM (something for > >>> example like event-channel in Xen) ? > >>> > >>> Thanks, > >>> Jun > >>> > >> Currently there is full isolation of the guests. > >> Such mechanism would not be complicated to add since we anyway map > >> memory from user space & inject interrupt from there also. > >> Do you have any specific interest in inter VM channel? > >> > > > > I want to exchange some data between a VM and hypervisor. One solution > > is to map some memory of that VM (from hypervisor), and read/write > > data thru that memory area. However, I need to a mechanism to notify > > the other partner when data is ready to read/write. > > > > Without any inter-VM communication mechanism, I dont see any clean way > > to achieve this. Any idea? > > > > Write a pci device for qemu to do what you want. The pci device can > communicate through a unix domain socket, shared memory, or any other > ipc mechanism with any other process on the host (including other > virtual machines). > > Guest->host communication is performed by writing the device's mmio > registers. Host->guest communications are done by raising a virtual > interrupt. If you would like a reference for writing such device, there was a thread in the Qemu mailing list about such interface: http://lists.gnu.org/archive/html/qemu-devel/2006-11/msg00149.html Such an interface is on the roadmap but quick patches would certainly help :) > > -- > error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-11-30 10:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-30 6:35 inter-VM communication? Jun Koi
[not found] ` <fdaac4d50611292235p79633d2cn21970e4b28455882-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-30 7:09 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E03216094CB08C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2006-11-30 10:17 ` Jun Koi
[not found] ` <fdaac4d50611300217t1e667ad6gd7224cd3a0be8314-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-30 10:21 ` Avi Kivity
[not found] ` <456EB0AB.30508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-11-30 10:26 ` Dor Laor
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.