Improved kqemu error message, by Robert Millan.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2536 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-03-25 16:14:07 +00:00
parent f5b122688b
commit 99c1968693
1 changed files with 2 additions and 1 deletions

View File

@ -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;