Re: [RFC] driver core: add a virtual bus for use when a simple device/bus is needed

From: Greg Kroah-Hartman
Date: Mon Feb 03 2025 - 09:48:12 EST


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.

thanks,

greg k-h


>
> thanks,
>
> greg k-h
>