aboutsummaryrefslogtreecommitdiff
path: root/kqemu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kqemu.c')
-rw-r--r--kqemu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kqemu.c b/kqemu.c
index 96ca5826c2..baf3ebae74 100644
--- a/kqemu.c
+++ b/kqemu.c
@@ -177,7 +177,8 @@ int kqemu_init(CPUState *env)
kqemu_fd = open(KQEMU_DEVICE, O_RDWR);
#endif
if (kqemu_fd == KQEMU_INVALID_FD) {
- fprintf(stderr, "Could not open '%s' - QEMU acceleration layer not activated\n", KQEMU_DEVICE);
+ fprintf(stderr, "Could not open '%s' - QEMU acceleration layer not activated: %s\n",
+ KQEMU_DEVICE, strerror(errno));
return -1;
}
version = 0;