summaryrefslogtreecommitdiff
path: root/include/uapi/linux/hyperv.h
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2015-12-15 03:01:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-15 06:12:21 +0300
commitb4ed5d1682c6613988c2eb1de55df5ac9988afcc (patch)
treebca8e7647dbaf5c0e9f272b4cfeb3dcd0baa3fb3 /include/uapi/linux/hyperv.h
parent3cace4a616108539e2730f8dc21a636474395e0f (diff)
downloadlinux-b4ed5d1682c6613988c2eb1de55df5ac9988afcc.tar.xz
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/uapi/linux/hyperv.h')
-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