Commit 99c19686938a8c8df0256c62d26463ca881206aa

Authored by ths
1 parent f5b12268

Improved kqemu error message, by Robert Millan.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2536 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 1 deletions
... ... @@ -177,7 +177,8 @@ int kqemu_init(CPUState *env)
177 177 kqemu_fd = open(KQEMU_DEVICE, O_RDWR);
178 178 #endif
179 179 if (kqemu_fd == KQEMU_INVALID_FD) {
180   - fprintf(stderr, "Could not open '%s' - QEMU acceleration layer not activated\n", KQEMU_DEVICE);
  180 + fprintf(stderr, "Could not open '%s' - QEMU acceleration layer not activated: %s\n",
  181 + KQEMU_DEVICE, strerror(errno));
181 182 return -1;
182 183 }
183 184 version = 0;
... ...