Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ian Campbell and committed by
Konrad Rzeszutek Wilk
e58f5b55 98104c34

+6 -2
+6 -2
include/xen/interface/grant_table.h
··· 519 519 #define GNTST_no_device_space (-7) /* Out of space in I/O MMU. */ 520 520 #define GNTST_permission_denied (-8) /* Not enough privilege for operation. */ 521 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 526 #define GNTTABOP_error_msgs { \ 525 527 "okay", \ ··· 534 532 "no spare translation slot in the I/O MMU", \ 535 533 "permission denied", \ 536 534 "bad page", \ 537 - "copy arguments cross page boundary" \ 535 + "copy arguments cross page boundary", \ 536 + "page address size too large", \ 537 + "operation not done; try again" \ 538 538 } 539 539 540 540 #endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */