On 10/18/18 3:31 PM, Paolo Bonzini wrote:
From: Artem Pisarenko <artem.k.pisare...@gmail.com>
Attributes are simple flags, associated with individual timers for their
whole lifetime. They intended to be used to mark individual timers for
special handling when they fire.
New/init functions family in timer interface updated and refactored (new
'attribute' argument added, timer_list replaced with timer_list_group+type
combinations, comments improved to avoid info duplication). Also existing
aio interface extended with attribute-enabled variants of functions,
which create/initialize timers.
Signed-off-by: Artem Pisarenko <artem.k.pisare...@gmail.com>
Message-Id:
<f47b81dbce734e9806f9516eba8ca588e6321c2f.1539764043.git.artem.k.pisare...@gmail.com>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
git bisect points to this patch as the reason that 'make check' is
failing for me with:
LINK tests/ptimer-test
LINK tests/test-qapi-util
hw/core/ptimer.o: In function `timer_new_tl':
/home/eblake/qemu/include/qemu/timer.h:536: undefined reference to
`timer_init_tl'
collect2: error: ld returned 1 exit status
make: *** [/home/eblake/qemu/rules.mak:124: tests/ptimer-test] Error 1
make: *** Waiting for unfinished jobs....
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org