Patch in the attachment
--- qemu-0.9.0.orig/linux-user/syscall.c 2007-02-28 22:44:24 +0300 +++ qemu-0.9.0/linux-user/syscall.c 2007-02-28 22:46:01 +0300 @@ -4163,6 +4163,28 @@ case TARGET_NR_getdomainname: goto unimplemented_nowarn; #endif +#ifdef TARGET_NR_clock_gettime + case TARGET_NR_clock_gettime: + { + struct timespec ts; + ret = get_errno(clock_gettime(arg1, &ts)); + if (!is_error(ret)) { + host_to_target_timespec(arg2, &ts); + } + break; + } +#endif +#ifdef TARGET_NR_clock_getres + case TARGET_NR_clock_getres: + { + struct timespec ts; + ret = get_errno(clock_getres(arg1, &ts)); + if (!is_error(ret)) { + host_to_target_timespec(arg2, &ts); + } + break; + } +#endif default: unimplemented: gemu_log("qemu: Unsupported syscall: %d\n", num); --- qemu-0.9.0.orig/Makefile.target 2007-02-28 22:53:44 +0300 +++ qemu-0.9.0/Makefile.target 2007-02-28 23:00:21 +0300 @@ -206,6 +206,7 @@ ifdef CONFIG_LINUX_USER OBJS= main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o \ elfload.o linuxload.o +LIBS+= -lrt ifdef TARGET_HAS_BFLT OBJS+= flatload.o endif
signature.asc
Description: Digital signature
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel