[systemd-devel] systemd-detect-virt and vendors

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Oct 8 07:37:49 PDT 2014


On Wed, Oct 08, 2014 at 10:35:25AM -0400, Rahul Sundaram wrote:
> Hi
> 
> On Wed, Oct 8, 2014 at 9:46 AM, Lennart Poettering <lennart at poettering.net>
> wrote:
> 
> >
> > I think what would make a lot of sense though is to add a section to
> > the man page somewhere, that explains which ID refers to which
> > software from which vendor. Also, it might make sense to add a new
> > switch to the tool, that dumps the table of known identifiers plus
> > some description.
> >
> 
> Fair enough.  I will see if I can do that.  Would it be ok to add
> appropriate aliases to existing terms, virtualbox - oracle and hyperv -
> microsoft and mark the vendor names as deprecated?  That way we retain
This would break compatibility, because systemd-detect-virt would 
have to start returning different strings.

Zbyszek

> compatibility while having the consistency (this is more than just about
> being pretty!) that everything is named after the technology and not the
> mismash of vendors names (oracle, microsoft) and technology names (kvm...)
> in a list.  I will write up some patches to see if I can implement this
> cleanly and we will see how it goes.



More information about the systemd-devel mailing list