History

Drivers: hv: Add a new driver to support host initiated backup

This driver supports host initiated backup of the guest. On Windows guests, the host can generate application consistent backups using the Windows VSS framework. On Linux, we ensure that the backup will be file system consistent. This driver allows the host to initiate a "Freeze" operation on all the mounted file systems in the guest. Once the mounted file systems in the guest are frozen, the host snapshots the guest's file systems. Once this is done, the guest's file systems are "thawed". This driver has a user-level component (daemon) that invokes the appropriate operation on all the mounted file systems in response to the requests from the host. The duration for which the guest is frozen is very short - a few seconds. During this interval, the diff disk is comitted. In this version of the patch I have addressed the feedback from Olaf Herring. Also, some of the connector related issues have been fixed.

K. Y. Srinivasan committed 13 years ago

Commit 96dd86f1 parent c8705976 files · +591 −2Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/connector.h+4−1
@@ -44,8 +44,11 @@ · 43 unmodified lines
4444 #define CN_VAL_DRBD 0x1
4545 #define CN_KVP_IDX 0x9 /* HyperV KVP */
4646 #define CN_KVP_VAL 0x1 /* queries from the kernel */
47+#define CN_VSS_IDX 0xA /* HyperV VSS */
48+#define CN_VSS_VAL 0x1 /* queries from the kernel */
4749
48−#define CN_NETLINK_USERS 10 /* Highest index + 1 */
50+
51+#define CN_NETLINK_USERS 11 /* Highest index + 1 */
4952
5053 /*
5154 * Maximum connector's message size.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t