diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2012-09-14 03:19:01 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-09-14 09:12:05 -0400 |
commit | e58f5b55113b8fd4eb8eb43f5508d87e4862f280 (patch) | |
tree | 3afccf799f8ef3ce923a8e87c59087dbfce3c2c8 /include/xen | |
parent | 98104c3480e568d9c145adbc7dc56c9d4d170e30 (diff) |
xen: resynchronise grant table status codes with upstream
Adds GNTST_address_too_big and GNTST_eagain.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/interface/grant_table.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/xen/interface/grant_table.h b/include/xen/interface/grant_table.h index 7da811bdd558..f9f8b975ae74 100644 --- a/include/xen/interface/grant_table.h +++ b/include/xen/interface/grant_table.h | |||
@@ -519,7 +519,9 @@ DEFINE_GUEST_HANDLE_STRUCT(gnttab_get_version); | |||
519 | #define GNTST_no_device_space (-7) /* Out of space in I/O MMU. */ | 519 | #define GNTST_no_device_space (-7) /* Out of space in I/O MMU. */ |
520 | #define GNTST_permission_denied (-8) /* Not enough privilege for operation. */ | 520 | #define GNTST_permission_denied (-8) /* Not enough privilege for operation. */ |
521 | #define GNTST_bad_page (-9) /* Specified page was invalid for op. */ | 521 | #define GNTST_bad_page (-9) /* Specified page was invalid for op. */ |
522 | #define GNTST_bad_copy_arg (-10) /* copy arguments cross page boundary */ | 522 | #define GNTST_bad_copy_arg (-10) /* copy arguments cross page boundary. */ |
523 | #define GNTST_address_too_big (-11) /* transfer page address too large. */ | ||
524 | #define GNTST_eagain (-12) /* Operation not done; try again. */ | ||
523 | 525 | ||
524 | #define GNTTABOP_error_msgs { \ | 526 | #define GNTTABOP_error_msgs { \ |
525 | "okay", \ | 527 | "okay", \ |
@@ -532,7 +534,9 @@ DEFINE_GUEST_HANDLE_STRUCT(gnttab_get_version); | |||
532 | "no spare translation slot in the I/O MMU", \ | 534 | "no spare translation slot in the I/O MMU", \ |
533 | "permission denied", \ | 535 | "permission denied", \ |
534 | "bad page", \ | 536 | "bad page", \ |
535 | "copy arguments cross page boundary" \ | 537 | "copy arguments cross page boundary", \ |
538 | "page address size too large", \ | ||
539 | "operation not done; try again" \ | ||
536 | } | 540 | } |
537 | 541 | ||
538 | #endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */ | 542 | #endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */ |