Re: [Virtio-fs] [PATCH] virtiofsd: use g_date_time_get_microsecond to get subsecond

2022-09-27 Thread Stefan Hajnoczi
On Tue, 20 Sept 2022 at 19:08, Vivek Goyal wrote: > > On Wed, Aug 24, 2022 at 01:41:29PM -0400, Stefan Hajnoczi wrote: > > On Thu, Aug 18, 2022 at 02:46:19PM -0400, Yusuke Okada wrote: > > > From: Yusuke Okada > > > > > > The "%f" specifier in g_date_time_format() is only available in glib > > >

Re: [Virtio-fs] [PATCH] virtiofsd: use g_date_time_get_microsecond to get subsecond

2022-09-20 Thread Vivek Goyal
On Wed, Aug 24, 2022 at 01:41:29PM -0400, Stefan Hajnoczi wrote: > On Thu, Aug 18, 2022 at 02:46:19PM -0400, Yusuke Okada wrote: > > From: Yusuke Okada > > > > The "%f" specifier in g_date_time_format() is only available in glib > > 2.65.2 or later. If combined with older glib, the function

Re: [Virtio-fs] [PATCH] virtiofsd: use g_date_time_get_microsecond to get subsecond

2022-08-18 Thread liuyd.f...@fujitsu.com
It works. I tested on RHEL8 Before this fix: ``` # /root/qemu/build/tools/virtiofsd/virtiofsd --socket-path=/tmp/sock -o source=/home/test -d [(null)] [ID: 00133152] virtio_session_mount: Waiting for vhost-user socket connection... ``` After applying this patch ``` #