Re: [Qemu-devel] [PATCH] migration: fix bad string passed to error_report()

2016-02-04 Thread Greg Kurz
On Thu, 4 Feb 2016 15:30:11 +0530 Amit Shah wrote: > On (Thu) 04 Feb 2016 [10:20:07], Greg Kurz wrote: > > state->name does not contain a terminating '\0' and you may get: > > > > Machine type received is 'pseries-2.3y�?' and local is 'pseries-2.4' > > load of migration

Re: [Qemu-devel] [PATCH] migration: fix bad string passed to error_report()

2016-02-04 Thread Amit Shah
On (Thu) 04 Feb 2016 [10:20:07], Greg Kurz wrote: > state->name does not contain a terminating '\0' and you may get: > > Machine type received is 'pseries-2.3y�?' and local is 'pseries-2.4' > load of migration failed: Invalid argument > > Let's add a precision modifier to fix this. > >

[Qemu-devel] [PATCH] migration: fix bad string passed to error_report()

2016-02-04 Thread Greg Kurz
state->name does not contain a terminating '\0' and you may get: Machine type received is 'pseries-2.3y�?' and local is 'pseries-2.4' load of migration failed: Invalid argument Let's add a precision modifier to fix this. Signed-off-by: Greg Kurz ---

Re: [Qemu-devel] [PATCH] migration: fix bad string passed to error_report()

2016-02-04 Thread Eric Blake
On 02/04/2016 02:20 AM, Greg Kurz wrote: > state->name does not contain a terminating '\0' and you may get: > > Machine type received is 'pseries-2.3y�?' and local is 'pseries-2.4' > load of migration failed: Invalid argument > > Let's add a precision modifier to fix this. > > Signed-off-by: