mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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:
parent
f5b122688b
commit
99c1968693
1 changed files with 2 additions and 1 deletions
3
kqemu.c
3
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue