Re: [PATCH 3/6] migration: Silence compiler warning in global_state_store_running()

2020-09-21 Thread Thomas Huth
On 21/09/2020 22.39, Cleber Rosa wrote: > On Fri, Sep 18, 2020 at 12:34:27PM +0200, Thomas Huth wrote: >> GCC 9.3.0 on Ubuntu complains: >> >> In file included from /usr/include/string.h:495, >> from /home/travis/build/huth/qemu/include/qemu/osdep.h:87, >> from ../

Re: [PATCH 3/6] migration: Silence compiler warning in global_state_store_running()

2020-09-21 Thread Cleber Rosa
On Fri, Sep 18, 2020 at 12:34:27PM +0200, Thomas Huth wrote: > GCC 9.3.0 on Ubuntu complains: > > In file included from /usr/include/string.h:495, > from /home/travis/build/huth/qemu/include/qemu/osdep.h:87, > from ../migration/global_state.c:13: > In function ‘st

[PATCH 3/6] migration: Silence compiler warning in global_state_store_running()

2020-09-18 Thread Thomas Huth
GCC 9.3.0 on Ubuntu complains: In file included from /usr/include/string.h:495, from /home/travis/build/huth/qemu/include/qemu/osdep.h:87, from ../migration/global_state.c:13: In function ‘strncpy’, inlined from ‘global_state_store_running’ at ../migration/gl