[virt-tools-list] [PATCH rhsrvany] add a tool to wait for PnP installations to complete
Richard W.M. Jones
rjones at redhat.com
Fri Aug 12 11:58:48 UTC 2016
On Fri, Aug 12, 2016 at 02:14:47PM +0300, Roman Kagan wrote:
> 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.
That's fine. Anyway should be able to push this to the
rwmjones/rhsrvany repo. Let me know if you have any problems with
github.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
More information about the virt-tools-list
mailing list