aboutsummaryrefslogtreecommitdiff
path: root/linux-user/errno_defs.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-12-05 13:08:12 -0800
committerRichard Henderson <rth@twiddle.net>2017-01-22 18:14:10 -0800
commitfe8ed7d5794f6cecc69bb31ab1291e2356d31bcd (patch)
tree25721767d3d1c8ea0e5c782075ae2f0f2da6b2bd /linux-user/errno_defs.h
parent405b49150425a3570de4eab99870498d14712b11 (diff)
downloadqemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.zip
qemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.tar.gz
qemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.tar.bz2
linux-user: Handle ERFKILL and EHWPOISON
With definitions for generic, alpha and mips taken from 4.9-rc2. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/errno_defs.h')
-rw-r--r--linux-user/errno_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/errno_defs.h b/linux-user/errno_defs.h
index 65522c4..55fbebd 100644
--- a/linux-user/errno_defs.h
+++ b/linux-user/errno_defs.h
@@ -140,6 +140,9 @@
#define TARGET_EOWNERDEAD 130 /* Owner died */
#define TARGET_ENOTRECOVERABLE 131 /* State not recoverable */
+#define TARGET_ERFKILL 132 /* Operation not possible due to RF-kill */
+#define TARGET_EHWPOISON 133 /* Memory page has hardware error */
+
/* QEMU internal, not visible to the guest. This is returned when a
* system call should be restarted, to tell the main loop that it
* should wind the guest PC backwards so it will re-execute the syscall