Hi David,

> From: David Hildenbrand <[email protected]>
> Sent: Wednesday, January 11, 2023 9:14 AM
> To: Parav Pandit <[email protected]>; [email protected]; [email protected]
> open.org; [email protected]
> Cc: [email protected]
> Subject: Re: [virtio-dev] [PATCH v3 06/20] virtio-mem-balloon: Maintain mem
> balloon device spec in separate directory
> 
> On 11.01.23 00:03, Parav Pandit wrote:
> > Move virtio memory balloon device specification to its own file
> > similar to recent virtio devices.
> > While at it, place device specification, its driver and device
> > conformance into its own directory to have self contained device
> > specification.
> >
> > Fixes: https://github.com/oasis-tcs/virtio-spec/issues/153
> > Signed-off-by: Parav Pandit <[email protected]>
> >
> 
> There is virtio-mem and there is virtio-balloon. Calling virtio-balloon 
> "virtio-
> mem-balloon" can easily lead to quite some confusion. Any particular reason
> why not to stick to "virtio-balloon" ?
> 
Historically Linux memory balloon driver in linux is placed as virtio_balloon.c
In virtio spec, in the device type is it named as "Traditional memory balloon 
device".
So, I named the directory name close to actual spec content name.
Adding legacy/traditional was too long. :)
May be virtio-mem-legacy is better to differentiate between legacy and new mem 
device?

In this patchset, directories are named with "virtio-" prefix such as 
virtio-pmem, virtio-sound.

Another option (which I prefer as I write now) is,
How about we drop "virtio-" prefix in the directory name because this is the 
virtio spec.

And have names as
device-types/sound
device-types/legacy-mem-balloon
device-types/mem
device-types/pmem

This is short and covers balloon part too?

Reply via email to