Re: [Qemu-devel] [PATCH 29/51] ram: Move last_req_rb to RAMState

2017-03-30 Thread Peter Xu
On Thu, Mar 30, 2017 at 06:08:45PM +0200, Juan Quintela wrote: > Peter Xu wrote: > > On Thu, Mar 23, 2017 at 09:45:22PM +0100, Juan Quintela wrote: > >> It was on MigrationState when it is only used inside ram.c for > >> postcopy. Problem is that we need to access it without being able to > >> pa

Re: [Qemu-devel] [PATCH 29/51] ram: Move last_req_rb to RAMState

2017-03-30 Thread Juan Quintela
Peter Xu wrote: > On Thu, Mar 23, 2017 at 09:45:22PM +0100, Juan Quintela wrote: >> It was on MigrationState when it is only used inside ram.c for >> postcopy. Problem is that we need to access it without being able to >> pass it RAMState directly. >> >> Signed-off-by: Juan Quintela >> --- >>

Re: [Qemu-devel] [PATCH 29/51] ram: Move last_req_rb to RAMState

2017-03-29 Thread Peter Xu
On Thu, Mar 23, 2017 at 09:45:22PM +0100, Juan Quintela wrote: > It was on MigrationState when it is only used inside ram.c for > postcopy. Problem is that we need to access it without being able to > pass it RAMState directly. > > Signed-off-by: Juan Quintela > --- > include/migration/migratio

[Qemu-devel] [PATCH 29/51] ram: Move last_req_rb to RAMState

2017-03-23 Thread Juan Quintela
It was on MigrationState when it is only used inside ram.c for postcopy. Problem is that we need to access it without being able to pass it RAMState directly. Signed-off-by: Juan Quintela --- include/migration/migration.h | 2 -- migration/migration.c | 1 - migration/ram.c