Re: [Qemu-devel] [PATCH] vhost-user-test: revert changes to make 'make check' happy

2014-11-02 Thread Gonglei
Ping... Best regards, -Gonglei > On 2014/10/26 15:46, Gonglei (Arei) wrote: > >> From: Gonglei >> >> After commit 89b516d8, some logics is turbid. >> First, vhost-usr-test.c rely on glib-compat.h because >> of using G_TIME_SPAN_SECOND [glib < 2.26] and g_get_monotonic_time(), >> but vhost-usr-t

Re: [Qemu-devel] [PATCH] vhost-user-test: revert changes to make 'make check' happy

2014-10-28 Thread Gonglei
On 2014/10/26 15:46, Gonglei (Arei) wrote: > From: Gonglei > > After commit 89b516d8, some logics is turbid. > First, vhost-usr-test.c rely on glib-compat.h because > of using G_TIME_SPAN_SECOND [glib < 2.26] and g_get_monotonic_time(), > but vhost-usr-test.c defined QEMU_GLIB_COMPAT_H, which ma

Re: [Qemu-devel] [PATCH] vhost-user-test: revert changes to make 'make check' happy

2014-10-26 Thread Gonglei
On 2014/10/26 15:55, Paolo Bonzini wrote: > > > On 10/26/2014 08:46 AM, arei.gong...@huawei.com wrote: >> From: Gonglei >> >> After commit 89b516d8, some logics is turbid. >> First, vhost-usr-test.c rely on glib-compat.h because >> of using G_TIME_SPAN_SECOND [glib < 2.26] and g_get_monotonic_t

Re: [Qemu-devel] [PATCH] vhost-user-test: revert changes to make 'make check' happy

2014-10-26 Thread Paolo Bonzini
On 10/26/2014 08:46 AM, arei.gong...@huawei.com wrote: > From: Gonglei > > After commit 89b516d8, some logics is turbid. > First, vhost-usr-test.c rely on glib-compat.h because > of using G_TIME_SPAN_SECOND [glib < 2.26] and g_get_monotonic_time(), > but vhost-usr-test.c defined QEMU_GLIB_COMPA

[Qemu-devel] [PATCH] vhost-user-test: revert changes to make 'make check' happy

2014-10-26 Thread arei.gonglei
From: Gonglei After commit 89b516d8, some logics is turbid. First, vhost-usr-test.c rely on glib-compat.h because of using G_TIME_SPAN_SECOND [glib < 2.26] and g_get_monotonic_time(), but vhost-usr-test.c defined QEMU_GLIB_COMPAT_H, which make glib-compat.h will not be included. Second, if we rem