[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z6DhlC2t4R5vHtam@phenom.ffwll.local>
Date: Mon, 3 Feb 2025 16:32:36 +0100
From: Simona Vetter <simona.vetter@...ll.ch>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Danilo Krummrich <dakr@...nel.org>, Lyude Paul <lyude@...hat.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
MaĆra Canal <mairacanal@...eup.net>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Zijun Hu <quic_zijuhu@...cinc.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Robin Murphy <robin.murphy@....com>,
Alexander Lobakin <aleksander.lobakin@...el.com>,
Lukas Wunner <lukas@...ner.de>, Bjorn Helgaas <bhelgaas@...gle.com>,
Simona Vetter <simona.vetter@...ll.ch>
Subject: Re: [RFC] driver core: add a virtual bus for use when a simple
device/bus is needed
On Mon, Feb 03, 2025 at 03:33:32PM +0100, Greg Kroah-Hartman wrote:
> On Mon, Feb 03, 2025 at 12:25:23PM +0100, Greg Kroah-Hartman wrote:
> > > The more I think about it, the less I think it's a good idea, since it'd
> > > probably trick people into coming up with questionable constructs...
> >
> > No, I think it will work, let me do some replacements later today after
> > I get some other work done, I think it does make sense, don't doubt
> > yourself :)
>
> New version is now at:
> https://lore.kernel.org/r/2025020324-thermal-quilt-1bae@gregkh
>
> I've renamed it from "virtual" to "faux" as virtual can easily get
> confused with virtio stuff, and we already have a /sys/devices/virtual/
> that is for something else at the moment.
>
> Let me know if there's anything I can change that would make a rust
> binding simpler.
I think this should work, for vkms we can prefix the names with "vkms-"
and then add whatever the user used as name in configfs (the instance
directory name or whatever it's called) and it should all work out. Unless
the user does something stupid, in which case it's not our problem.
-Sima
--
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Powered by blists - more mailing lists