aboutsummaryrefslogtreecommitdiff
path: root/kqemu.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-25 16:14:07 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-25 16:14:07 +0000
commit99c19686938a8c8df0256c62d26463ca881206aa (patch)
tree0f31a2566c538ed4dacd4e3a357d0773e7c21be1 /kqemu.c
parentf5b122688b8d7912e7094be60cca4d3a2ee5a3e7 (diff)
Improved kqemu error message, by Robert Millan.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2536 c046a42c-6fe2-441c-8c8c-71466251a162
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;