[virt-tools-list] [PATCH rhsrvany] add a tool to wait for PnP installations to complete
Roman Kagan
rkagan at virtuozzo.com
Fri Aug 12 11:14:47 UTC 2016
On Fri, Aug 12, 2016 at 11:27:33AM +0100, Richard W.M. Jones wrote:
> On Fri, Aug 12, 2016 at 12:48:52PM +0300, Roman Kagan wrote:
> > Windows PnP manager may start driver installations asynchronously upon
> > receiving notifications from kernel mode PnP system about discovery of
> > new devices.
> >
> > Those installations may interact destructively with other
> > installation/uninstallation activities, either initiated by a user or
> > started from another service.
> >
> > Add a tool which can wait until the installations initiated by the PnP
> > manager are finished (or the timeout elapses), which allows to serialize
> > them with user- or script- initiated ones.
> >
> > A foreseen user of this tool is libguestfs/v2v.
> >
> > Signed-off-by: Roman Kagan <rkagan at virtuozzo.com>
>
> I've added you as a committer on github.com/rwmjones/rhsrvany (which
> given the confusion here I'm not sure is the true upstream, or if it
> should be).
At least libguestfs code refers to it so I believe for rhsrvany de facto
it is.
> Anyway you can commit this if you like.
>
> Perhaps we should make / choose a better upstream for this?
I don't mind. I just wanted to publish it somehow as I'm about to post
a patch to libguestfs which uses it. Creating a dedicated public repo
for a trivial program like this looked like an overkill, so I posted it
as a patch against rhsrvany repo. If anybody has a better idea I'm all
open.
Thanks,
Roman.
More information about the virt-tools-list
mailing list