All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions regarding ivshmem spec
@ 2011-08-25 13:29 ` Sasha Levin
  0 siblings, 0 replies; 16+ messages in thread
From: Sasha Levin @ 2011-08-25 13:29 UTC (permalink / raw)
  To: cam; +Cc: David Evensky, Pekka Enberg, qemu-devel, kvm

Hello,

I am looking to implement an ivshmem device for KVM tools, the purpose
is to provide same functionality as QEMU and interoperability with QEMU.

Going through the spec (I found here:
https://gitorious.org/nahanni/guest-code/blobs/master/device_spec.txt )
and the code in QEMU I have gathered several questions, I'll be happy
for some help with it.

1. File handles and guest IDs are passed between the server and the
peers using sockets, is the protocol itself documented anywhere? I would
like to be able to work alongside QEMU servers/peers.

2. The spec describes DOORBELL as an array of DWORDs, when one guest
wants to poke a different guest it would write something into the offset
of the other guest in the DOORBELL array.
Looking at the implementation in QEMU, DOORBELL is one DWORD, when
writing to it the upper WORD is the guest id and the lower WORD is the
value.
What am I missing here?

3. There are 3 ways for guests to communicate between each other, and
I'm assuming all guests using the same SHM block must use the same
method. Is it safe to assume we'll always use ioeventfds as in the
implementation now?

Thanks!
	
-- 

Sasha.

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

end of thread, other threads:[~2011-08-30 17:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-25 13:29 Questions regarding ivshmem spec Sasha Levin
2011-08-25 13:29 ` [Qemu-devel] " Sasha Levin
2011-08-25 14:00 ` Avi Kivity
2011-08-25 14:00   ` Avi Kivity
2011-08-25 14:39   ` Sasha Levin
2011-08-25 14:39     ` Sasha Levin
2011-08-25 14:40     ` Avi Kivity
2011-08-25 14:40       ` Avi Kivity
2011-08-25 14:42       ` Sasha Levin
2011-08-25 14:42         ` [Qemu-devel] " Sasha Levin
2011-08-29 15:25 ` Sasha Levin
2011-08-29 15:25   ` [Qemu-devel] " Sasha Levin
2011-08-29 18:15   ` Cam Macdonell
2011-08-29 18:15     ` [Qemu-devel] " Cam Macdonell
2011-08-30 17:37 ` Cam Macdonell
2011-08-30 17:37   ` [Qemu-devel] " Cam Macdonell

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.