virtio: make check regression with glib2 < 2.28
commit 70556264 "libqos: use microseconds instead of iterations for virtio timeout" regressed 'make check' when qemu is build with glib2 version less than 2.28
causing following error:
#make check
...
LINK tests/virtio-blk-test
Undefined symbols for architecture x86_64:
"_g_get_monotonic_time", referenced from:
_qvirtio_wait_queue_isr in virtio.o _qvirtio_wait_status_byte_no_isr in virtio.o _qvirtio_wait_config_isr in virtio.o
ld: symbol(s) not found for architecture x86_64
Quoted 4 lines · Igor Mammedov
commit 70556264 "libqos: use microseconds instead of iterations for virtio timeout" regressed 'make check' when qemu is build with glib2 version less than 2.28
Quoted 10 lines
causing following error:
#make check
...
LINK tests/virtio-blk-test
Undefined symbols for architecturex86_64:
"_g_get_monotonic_time", referenced from:
_qvirtio_wait_queue_isrin virtio.o_qvirtio_wait_status_byte_no_isrin virtio.o_qvirtio_wait_config_isrin virtio.o
ld: symbol(s) not found for architecturex86_64
Yes, I noticed that as well. See here for my suggestion for how we should deal with this:
http://lists.gnu.org/archive/html/qemu-devel/2014-10/msg01250.html
-- PMM