15 Dec, 2015
1 commit
-
Currently some "Unspecified error 0x80004005" is reported on the Windows
side if something fails. Handle the ENOSPC case and return
ERROR_DISK_FULL, which allows at least Copy-VMFile to report a meaning
full error.Signed-off-by: Olaf Hering
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Greg Kroah-Hartman
25 May, 2015
2 commits
-
Introduce FCOPY_VERSION_1 to support kernel replying to the negotiation
message with its own version.Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Greg Kroah-Hartman -
Introduce VSS_OP_REGISTER1 to support kernel replying to the negotiation
message with its own version.Signed-off-by: Vitaly Kuznetsov
Tested-by: Alex Ng
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Greg Kroah-Hartman
08 Nov, 2014
1 commit
-
An attempt to fix fcopy on i586 (bc5a5b0 Drivers: hv: util: Properly pack the data
for file copy functionality) led to a regression on x86_64 (and actually didn't fix
i586 breakage). Fcopy messages from Hyper-V host come in the following format:struct do_fcopy_hdr | 36 bytes
0000 | 4 bytes
offset | 8 bytes
size | 4 bytes
data | 6144 bytesOn x86_64 struct hv_do_fcopy matched this format without ' __attribute__((packed))'
and on i586 adding ' __attribute__((packed))' to it doesn't change anything. Keep
the structure packed and add padding to match re reality. Tested both i586 and x86_64
on Hyper-V Server 2012 R2.Signed-off-by: Vitaly Kuznetsov
Signed-off-by: K. Y. Srinivasan
Cc:
Signed-off-by: Greg Kroah-Hartman
24 Sep, 2014
1 commit
-
Properly pack the data for file copy functionality. Patch based on
investigation done by Matej MuzilaSigned-off-by: K. Y. Srinivasan
Reported-by:
Cc:
Acked-by: Jason Wang
Signed-off-by: Greg Kroah-Hartman
17 Apr, 2014
1 commit
-
Return the appropriate error code and handle the case when the target
file exists correctly. This fixes a bug.Signed-off-by: K. Y. Srinivasan
Cc: [3.14]
Signed-off-by: Greg Kroah-Hartman
19 Feb, 2014
1 commit
-
Implement the file copy service for Linux guests on Hyper-V. This permits the
host to copy a file (over VMBUS) into the guest. This facility is part of
"guest integration services" supported on the Windows platform.
Here is a link that provides additional details on this functionality:http://technet.microsoft.com/en-us/library/dn464282.aspx
In V1 version of the patch I have addressed comments from
Olaf Hering and Dan CarpenterIn V2 version of this patch I did some minor cleanup (making some globals
static). In V4 version of the patch I have addressed all of Olaf's
most recent set of comments/concerns.In V5 version of the patch I had addressed Greg's most recent comments.
I would like to thank Greg for suggesting that I use misc device; it has
significantly simplified the code.In V6 version of the patch I have cleaned up error message based on Olaf's
comments. I have also rebased the patch based on the current tip.In this version of the patch, I have addressed the latest comments from Greg.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Greg Kroah-Hartman
08 Feb, 2014
1 commit
-
This patch adds the hyperv.h header to the uapi folder, and adds it to the Kbuild file.
Doing this enables compiling userspace Hyper-V tools using the installed headers.Version 2: Split UAPI parts into new header, instead of duplicating.
Signed-off-by: Bjarke Istrup Pedersen
Signed-off-by: Greg Kroah-Hartman