]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
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)
committerLuis Henriques <luis.henriques@canonical.com>
Fri, 20 Jan 2017 13:04:58 +0000 (13:04 +0000)
commitdaec0897c84350cb0b3c678b3c0e8a9a15183862
treea941486cf72c01931a7c2245265d85640dfba436
parenta02b537eba2070565db5affec2f2ba50c37c646a
Drivers: hv: utils: Check VSS daemon is listening before a hot backup

BugLink: http://bugs.launchpad.net/bugs/1650059
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>
(cherry picked from commit db886e4d24c2b3d334be2cc1bd1bd05d547eb4c4)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/hv/hv_snapshot.c
tools/hv/hv_vss_daemon.c