Drivers: hv: utils: Check VSS daemon is listening before a hot backup
authorAlex Ng <alexng@messages.microsoft.com>
Fri, 2 Sep 2016 12:58:25 +0000 (05:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Sep 2016 15:22:51 +0000 (17:22 +0200)
commitdb886e4d24c2b3d334be2cc1bd1bd05d547eb4c4
tree760c8d3cc77fdc9eb50c27e642febdd3c687a224
parent497af84b81b98b27e9ba7aebb8a373412e328497
Drivers: hv: utils: Check VSS daemon is listening before a hot backup

Hyper-V host will send a VSS_OP_HOT_BACKUP request to check if guest is
ready for a live backup/snapshot. The driver should respond to the check
only if the daemon is running and listening to requests. This allows the
host to fallback to standard snapshots in case the VSS daemon is not
running.

Signed-off-by: Alex Ng <alexng@messages.microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_snapshot.c
tools/hv/hv_vss_daemon.c