Re: [Qemu-devel] [PATCH 3/9] runstate: Add runstate store

2015-06-16 Thread Juan Quintela
"Denis V. Lunev" wrote: > On 14/05/15 19:28, Juan Quintela wrote: >> This allows us to store the current state to send it through migration. >> >> Signed-off-by: Juan Quintela >> --- >> include/sysemu/sysemu.h | 1 + >> vl.c| 11 +++ >> 2 files changed, 12 inserti

Re: [Qemu-devel] [PATCH 3/9] runstate: Add runstate store

2015-06-16 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Juan Quintela (quint...@redhat.com) wrote: >> This allows us to store the current state to send it through migration. >> >> Signed-off-by: Juan Quintela >> --- >> include/sysemu/sysemu.h | 1 + >> vl.c| 11 +++ >> 2 files changed,

Re: [Qemu-devel] [PATCH 3/9] runstate: Add runstate store

2015-05-18 Thread Eric Blake
On 05/18/2015 04:38 AM, Denis V. Lunev wrote: > On 14/05/15 19:28, Juan Quintela wrote: >> This allows us to store the current state to send it through migration. >> >> Signed-off-by: Juan Quintela >> --- >> +if (strlen(state)+1 > size) { >> +return -1; >> +} >> +strncpy(str,

Re: [Qemu-devel] [PATCH 3/9] runstate: Add runstate store

2015-05-18 Thread Denis V. Lunev
On 14/05/15 19:28, Juan Quintela wrote: This allows us to store the current state to send it through migration. Signed-off-by: Juan Quintela --- include/sysemu/sysemu.h | 1 + vl.c| 11 +++ 2 files changed, 12 insertions(+) diff --git a/include/sysemu/sysemu.h

Re: [Qemu-devel] [PATCH 3/9] runstate: Add runstate store

2015-05-18 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > This allows us to store the current state to send it through migration. > > Signed-off-by: Juan Quintela > --- > include/sysemu/sysemu.h | 1 + > vl.c| 11 +++ > 2 files changed, 12 insertions(+) > > diff --git a/includ

[Qemu-devel] [PATCH 3/9] runstate: Add runstate store

2015-05-14 Thread Juan Quintela
This allows us to store the current state to send it through migration. Signed-off-by: Juan Quintela --- include/sysemu/sysemu.h | 1 + vl.c| 11 +++ 2 files changed, 12 insertions(+) diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 8a52934..c1a4