Re: [Qemu-devel] [PATCH 01/30] memory: access FlatView from a local variable

2013-06-28 Thread Anthony Liguori
Paolo Bonzini writes: > We will soon require accesses to as->current_map to be placed under > a lock (with reference counting so as to keep the critical section > small). To simplify this change, always fetch as->current_map into > a local variable and access it through that variable. > > Signed

[Qemu-devel] [PATCH 01/30] memory: access FlatView from a local variable

2013-06-28 Thread Paolo Bonzini
We will soon require accesses to as->current_map to be placed under a lock (with reference counting so as to keep the critical section small). To simplify this change, always fetch as->current_map into a local variable and access it through that variable. Signed-off-by: Paolo Bonzini --- memory