All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-dev] Request for a new device number for a virtio-audio device.
@ 2019-04-28 22:22 Marco Martinelli - 13Byte srl
  2019-04-29 13:47 ` Stefan Hajnoczi
  0 siblings, 1 reply; 29+ messages in thread
From: Marco Martinelli - 13Byte srl @ 2019-04-28 22:22 UTC (permalink / raw)
  To: virtio-dev

[-- Attachment #1: Type: text/plain, Size: 2699 bytes --]

Hi everyone,

my name is Marco, from Italy. I'm a developer that recently got an 
interest in improving the current situation of audio in qemu/kvm.

I've been working successfully on multiple patches for Scream 
(https://github.com/duncanthrax/scream 
<https://github.com/duncanthrax/scream> ), a virtual sound card for 
Microsoft Windows, that allow to transfer audio from a Windows VM to a 
Linux host. The project initially supported only stereo sound over the 
network, but with my patches now it support up to 7.1 surround and it 
can transfer the audio samples using shared memory between the VM and 
the host (based on IVSHMEM), for lower latency.

Now that was a good project, but I want to do more. I dream of an 
virtio-audio device that can handle multichannel audio in and out of the 
VM, to be used with more guest OSs than just Windows.

I know I have a long way to go to reach this goal, but I'm motivated and 
willing to learn. I admit I don't have much experience with the qemu 
source code or the virtio source code, but I learn fast.

My work on Scream was to familiarize with Windows driver development, 
VM-to-host communication and low latency audio processing.
My idea is to start with small self-contained projects to familiarize 
with the source codes of the various projects and gain the experience I 
lack, then moving on the real virtio-audio project.
This way I can both obtain more knowledge on the subjects and help the 
open source community that over the years have done so much for many.

As we speak I'm reading the VirtIO documentation, where I've found out 
that I need to require a new device number for this project (Appendix 
B.3). So, here I am.

I'm not quite sure if this email is enough to obtain a new number or if 
I need to follow some process I'm not aware of. In the meantime I'm 
using the device number 65535 as documented in the specifications.

Looking around I've seen there is a recent issue on GitHub to reserve a 
virtio-audio device id, and a patch was submitter to assign id 25 to 
audio devices.

I'm not sure how this works, is that number already assigned and I 
should use that or should I get a new one?

For last, I have a question to clear the things up for me. It is my 
understanding that in this mailing list you discuss about the 
specifications, not the actual code. What's the usual process when 
writing a new virtio device?
Should I start with writing the code and then document how it works or 
is it the opposite? Should I document it and have it approved and then 
implement the specifications?

I know that this may sound like a stupid question, but please be patient 
with me, it's my first time.


Best Regards,

Marco

[-- Attachment #2: Type: text/html, Size: 3289 bytes --]

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

end of thread, other threads:[~2019-05-16 10:24 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-28 22:22 [virtio-dev] Request for a new device number for a virtio-audio device Marco Martinelli - 13Byte srl
2019-04-29 13:47 ` Stefan Hajnoczi
2019-04-29 17:39   ` Marco Martinelli - 13Byte srl
2019-04-30 12:55     ` Michael S. Tsirkin
2019-04-30 13:56       ` Marco Martinelli - 13Byte srl
2019-04-30 14:00         ` Michael S. Tsirkin
2019-05-01 17:05     ` Stefan Hajnoczi
2019-05-02 11:18       ` Marco Martinelli - 13Byte srl
2019-05-03 16:45         ` Stefan Hajnoczi
2019-05-03 19:52           ` Marco Martinelli - 13Byte srl
2019-05-06  5:27             ` Gerd Hoffmann
2019-05-09 10:10               ` Marco Martinelli - 13Byte srl
2019-05-09 12:27                 ` Gerd Hoffmann
2019-05-10  9:45                   ` Mikhail Golubev
2019-05-10 12:16                     ` Gerd Hoffmann
2019-05-10 14:15                       ` Anton Yakovlev
2019-05-10 15:48                         ` Stefan Hajnoczi
2019-05-10 17:13                           ` Anton Yakovlev
2019-05-11 20:49                             ` Marco Martinelli - 13Byte srl
2019-05-12 20:01                               ` Matti Moell
2019-05-14 13:44                             ` Stefan Hajnoczi
2019-05-15  6:30                               ` Anton Yakovlev
2019-05-15  8:31                                 ` Anton Yakovlev
2019-05-15 16:03                                 ` Stefan Hajnoczi
2019-05-15 16:33                                   ` Anton Yakovlev
2019-05-16 10:24                                     ` Stefan Hajnoczi
2019-05-13  9:32                         ` Gerd Hoffmann
2019-05-14 19:14                           ` Anton Yakovlev
2019-05-10 10:34                   ` Stefan Hajnoczi

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.