aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Olaf Hering <olaf@aepfle.de> 2015-12-14 16:01:34 -0800
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2015-12-14 19:12:21 -0800
commitb4ed5d1682c6613988c2eb1de55df5ac9988afcc (patch)
treebca8e7647dbaf5c0e9f272b4cfeb3dcd0baa3fb3 /include
parentDrivers: hv: utils: run polling callback always in interrupt context (diff)
downloadlinux-b4ed5d1682c6613988c2eb1de55df5ac9988afcc.tar.gz
linux-b4ed5d1682c6613988c2eb1de55df5ac9988afcc.tar.bz2
linux-b4ed5d1682c6613988c2eb1de55df5ac9988afcc.zip
tools: hv: report ENOSPC errors in hv_fcopy_daemon
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 <olaf@aepfle.de> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/hyperv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/hyperv.h b/include/uapi/linux/hyperv.h
index e4c0a35d6417..e347b24ef9fb 100644
--- a/include/uapi/linux/hyperv.h
+++ b/include/uapi/linux/hyperv.h
@@ -313,6 +313,7 @@ enum hv_kvp_exchg_pool {
#define HV_INVALIDARG 0x80070057
#define HV_GUID_NOTFOUND 0x80041002
#define HV_ERROR_ALREADY_EXISTS 0x80070050
+#define HV_ERROR_DISK_FULL 0x80070070
#define ADDR_FAMILY_NONE 0x00
#define ADDR_FAMILY_IPV4 0x01