On Wed, Nov 11, 2020 at 04:28:10PM +0100, Cornelia Huck wrote: > On Wed, 11 Nov 2020 15:10:14 +0000 > Stefan Hajnoczi <stefa...@redhat.com> wrote: > > On Tue, Nov 10, 2020 at 01:14:04PM -0700, Alex Williamson wrote: > > > On Tue, 10 Nov 2020 09:53:49 +0000 > > > Stefan Hajnoczi <stefa...@redhat.com> wrote: > > Or we could create a kobject for each migration parameter, but that > > seems wrong too. > > Hm, ISTR that you can do something with ksets.
Thanks for the idea! Researching it turned up kobject_create_and_add(), which seems to solve the problem without the heavyweight stuff I was concerned about (defining dummy ktypes, sending uevents, etc). I'll bring back the sysfs hierarchy in the next revision. Stefan
signature.asc
Description: PGP signature