search for: timer_gettime

Displaying 12 results from an estimated 12 matches for "timer_gettime".

2012 Dec 05
3
[PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17
configure uses clock_gettime to check whether -lrt is needed - and don''t check other functions. With glibc 2.17 clock_gettime is part of libc, so use timer_gettime instead, which is in -lrt in old and new versions of glibc. Signed-off-by: Olaf Hering <olaf@aepfle.de> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 904e019..ace3c3e 100755 --- a/configure +++ b/configure @@ -1097,7 +1097,7 @@...
2013 May 07
3
Re: [PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17
...> > > > > > On Wed, Dec 05, Olaf Hering wrote: > > > > > > > configure uses clock_gettime to check whether -lrt is needed - and don''t > > > > check other functions. With glibc 2.17 clock_gettime is part of libc, so > > > > use timer_gettime instead, which is in -lrt in old and new versions of > > > > glibc. > > > > > > > > Signed-off-by: Olaf Hering <olaf@aepfle.de> > > > > --- > > > > configure | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-)...
2014 Jul 31
0
Re: hang after seabios
Hi Richard thanks for the info. I took the strace approach and ran into this looping over and over again. Is it failing to get time? timer_gettime(0x8, {it_interval={0, 0}, it_value={0, 0}}) = 0 timer_settime(0x8, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0 timer_gettime(0x8, {it_interval={0, 0}, it_value={0, 204443}}) = 0 select(16, [0 6 9 13 15], [], [], {1, 0}) = 2 (in [6 13], left {0, 999998}) read(13, "\1\0\0\0\0\0\0\0&...
2014 Jul 31
2
Re: hang after seabios
On Wed, Jul 30, 2014 at 03:58:43PM -0700, Zetan Drableg wrote: > [00183ms] /usr/libexec/qemu-kvm \ > -global virtio-blk-pci.scsi=off \ > -nodefconfig \ > -nodefaults \ > -nographic \ > -machine accel=kvm:tcg \ > -cpu host,+kvmclock \ > -m 500 \ > -no-reboot \ > -kernel /var/tmp/.guestfs-0/kernel.47903 \
2015 May 09
3
Centos 7 and qemu-kvm
Still trying to migrate to CentOS 7. I used to use qemu-kvm on centos 6. tried to compile on centos 7 and get error about undefined reference to timer_gettime searching for that says basically use virt-manager so I installed virt-manager - I have file images and those work. some times I do directly to a USB connected disk. I do not see how to do that in virt-manager ??? How do I use a device like /dev/sdh as my disk??? Thanks, Jerry
2012 Feb 18
0
Re: [Qemu-devel] [PATCH] build: add needed missing libraries libm and librt
...man page [0], -lm should be used when linking. >> >> librt is used in qemu-time.c, but again the library was not specified >> at link time, throwing the following error: >> >> /home/royger/xen-clean/tools/qemu-xen-dir/qemu-timer.c:597: undefined >> reference to `timer_gettime' >> /home/royger/xen-clean/tools/qemu-xen-dir/qemu-timer.c:610: undefined >> reference to `timer_settime' >> ../qemu-timer.o: In function `dynticks_start_timer': >> /home/royger/xen-clean/tools/qemu-xen-dir/qemu-timer.c:565: undefined >> reference to `timer...
2015 May 09
0
Centos 7 and qemu-kvm
On 05/09/2015 08:26 AM, Jerry Geis wrote: > Still trying to migrate to CentOS 7. > > I used to use qemu-kvm on centos 6. tried to compile on > centos 7 and get error about undefined reference to timer_gettime > searching for that says basically use virt-manager > > so I installed virt-manager - I have file images and those work. > some times I do directly to a USB connected disk. > > I do not see how to do that in virt-manager ??? > > How do I use a device like /dev/sdh as my dis...
2012 Feb 27
0
Re: [Qemu-devel] [PATCH 2/2] build: replace librt check function
On Mon, 27 Feb 2012, Ian Campbell wrote: > On Thu, 2012-02-23 at 13:34 +0000, Roger Pau Monné wrote: > > 2012/2/22 Anthony Liguori <anthony@codemonkey.ws>: > > > On 02/20/2012 06:11 AM, Roger Pau Monne wrote: > > >> > > >> Replace clock_gettime with timer_gettime, since at least under > > >> uclibc 0.9.33 the clock_getttime function can be used without linking > > >> against librt (although the manual page states the opposite). > > >> > > >> Signed-off-by: Roger Pau Monne<roger.pau@entel.upc.edu> > &g...
2013 Oct 12
0
Xen 4.2.1 compilation error from source
..._start_timer'': /home/prapulla/Documents/xen/xen-4.2.3/tools/qemu-xen-traditional/vl.c:1585: undefined reference to `timer_create'' vl.o: In function `dynticks_rearm_timer'': /home/prapulla/Documents/xen/xen-4.2.3/tools/qemu-xen-traditional/vl.c:1620: undefined reference to `timer_gettime'' /home/prapulla/Documents/xen/xen-4.2.3/tools/qemu-xen-traditional/vl.c:1633: undefined reference to `timer_settime'' collect2: error: ld returned 1 exit status make[5]: *** [qemu-dm] Error 1 make[5]: Leaving directory `/home/prapulla/Documents/xen/xen-4.2.3/tools/qemu-xen-traditio...
2013 May 09
1
Bug#707434: xen: FTBFS: vl.c:1575: undefined reference to `timer_create'
...t; vl.o: In function `dynticks_start_timer': > /?PKGBUILDDIR?/debian/build/build-utils_amd64/qemu/vl.c:1575: undefined reference to `timer_create' > vl.o: In function `dynticks_rearm_timer': > /?PKGBUILDDIR?/debian/build/build-utils_amd64/qemu/vl.c:1610: undefined reference to `timer_gettime' > /?PKGBUILDDIR?/debian/build/build-utils_amd64/qemu/vl.c:1623: undefined reference to `timer_settime' > vl.o: In function `dynticks_stop_timer': > /?PKGBUILDDIR?/debian/build/build-utils_amd64/qemu/vl.c:1593: undefined reference to `timer_delete' > collect2: error: ld...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...gqueueinfo SYSCALL FOUND: nanosleep SYSCALL FOUND: fanotify_init SYSCALL FOUND: lremovexattr SYSCALL FOUND: read SYSCALL FOUND: fadvise64_64 SYSCALL FOUND: sched_setparam SYSCALL FOUND: swapon SYSCALL FOUND: io_getevents SYSCALL FOUND: olduname SYSCALL FOUND: link SYSCALL FOUND: recv SYSCALL FOUND: timer_gettime SYSCALL FOUND: sendmmsg SYSCALL FOUND: ulimit SYSCALL FOUND: truncate64 SYSCALL FOUND: timerfd_create SYSCALL FOUND: gettid SYSCALL FOUND: set_tid_address SYSCALL FOUND: setregid SYSCALL FOUND: inotify_rm_watch SYSCALL FOUND: mq_unlink SYSCALL FOUND: oldfstat SYSCALL FOUND: lchown SYSCALL FOUND: re...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux