Thomas Huth <th...@redhat.com> writes:
> On 11/11/2019 13.55, Alex Bennée wrote: >> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > > Could you please add at least a short patch description? (Why is this > change necessary / a good idea?) It's just a minor clean-up Dave happened to comment on last week. Using the helper function is preferable given it abstracts away any system differences for the same information. This is unlike linux-user which has it's own reasons for using syscall wrappers. > > Thanks, > Thomas > > >> --- >> tests/migration/stress.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/tests/migration/stress.c b/tests/migration/stress.c >> index 0c239646934..915389b53ae 100644 >> --- a/tests/migration/stress.c >> +++ b/tests/migration/stress.c >> @@ -31,7 +31,7 @@ const char *argv0; >> >> static int gettid(void) >> { >> - return syscall(SYS_gettid); >> + return qemu_get_thread_id(); >> } >> >> static __attribute__((noreturn)) void exit_failure(void) >> -- Alex Bennée