All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen PV audio XenStore
@ 2011-07-04 22:16 George Boutsioukis
  2011-07-05 12:02 ` Ian Campbell
  0 siblings, 1 reply; 7+ messages in thread
From: George Boutsioukis @ 2011-07-04 22:16 UTC (permalink / raw)
  To: xen-devel

Hello everyone, as some of you may remember there is a GSoC project
this year to implement a paravirtualized audio driver and I am the
student undertaking this effort.

As the rest of the PV audio drivers, my frontend uses XenStore to pass
the event channel & grant reference to the backend, along with a few
configuration data. Although the driver is far from usable, the
XenStore layout is not going to change much in the future, so I think
it would be useful to describe it to the community.

First of all, although the frontend is implemented in userspace, I
tried to follow the scheme used by the rest of the PV drivers. This
looks something like:

/local/domain/<domID>/device/audio/<devID>/event-channel
/local/domain/<domID>/device/audio/<devID>/ring-ref
/local/domain/<domID>/device/audio/<devID>/format
/local/domain/<domID>/device/audio/<devID>/rate
/local/domain/<domID>/device/audio/<devID>/channels

where devID is a unique device ID for the guest system.

Accordingly the backend will use something like:

/local/domain/0/backend/audio/default-*

which will likely be a way for the backend to advertise the
capabilities of the sound hardware to the guests and perhaps pass a
few other parameters.
This looked like the simplest way to go. Of course I'm only new here
and I might be missing something grave, so please let me know what you
think.

-- 
George Boutsioukis

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

end of thread, other threads:[~2011-07-07  7:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-04 22:16 Xen PV audio XenStore George Boutsioukis
2011-07-05 12:02 ` Ian Campbell
2011-07-05 14:54   ` Konrad Rzeszutek Wilk
     [not found]     ` <CANnAuxCF_5FAW=h-az_2gDvkPfFA=UyVTxhhjB0QYU4R682epQ@mail.gmail.com>
2011-07-06 13:15       ` Konrad Rzeszutek Wilk
     [not found]       ` <20110706131429.GA3454@dumpdata.com>
2011-07-06 13:15         ` Konrad Rzeszutek Wilk
     [not found]   ` <CANnAuxCKWduOkkd6Kh6-_7Eo-R9hoWed4iZbu4R0oOGcV2_gjQ@mail.gmail.com>
2011-07-06  8:31     ` Ian Campbell
2011-07-07  7:31       ` George Boutsioukis

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.