Unfortunately it is still not working with these two patches. The
"Unsupported syscall: 257" is gone, but now it fails on EINVAL. I attach
a little test C file which uses  a timer. It works fine on x86 and a
real arm machine, but under QEMU I get:

$ gcc -o timer_test -Wall  timer_test.c  -lrt
$ ./timer_test
Failed to create timer: Invalid argument
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)

So timer_create() does not actually seem to work? I tried some
variations like 50 ms, or using CLOCK_REALTIME instead of
CLOCK_MONOTONIC, all with the same result.

** Attachment added: "timer test script to test"
   
https://bugs.launchpad.net/qemu/+bug/1042388/+attachment/3948443/+files/timer_test.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1042388

Title:
  qemu: Unsupported syscall: 257 (timer_create)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1042388/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to