Re: [Qemu-devel] [PATCH v2] translate-all: use bitmap helpers for PageDesc's bitmap

2015-04-22 Thread Emilio G. Cota
On Wed, Apr 22, 2015 at 22:30:23 +0200, Paolo Bonzini wrote: > On 22/04/2015 18:53, Emilio G. Cota wrote: > > @@ -1221,8 +1194,9 @@ void tb_invalidate_phys_page_fast(tb_page_addr_t > > start, int len) > > return; > > } > > if (p->code_bitmap) { > > -offset = start & ~TAR

Re: [Qemu-devel] [PATCH v2] translate-all: use bitmap helpers for PageDesc's bitmap

2015-04-22 Thread Paolo Bonzini
On 22/04/2015 18:53, Emilio G. Cota wrote: > Here we have an open-coded byte-based bitmap implementation. > Get rid of it since there's a ulong-based implementation to be > used by all code. > > Signed-off-by: Emilio G. Cota > --- > translate-all.c | 40 +++-

[Qemu-devel] [PATCH v2] translate-all: use bitmap helpers for PageDesc's bitmap

2015-04-22 Thread Emilio G. Cota
Here we have an open-coded byte-based bitmap implementation. Get rid of it since there's a ulong-based implementation to be used by all code. Signed-off-by: Emilio G. Cota --- translate-all.c | 40 +++- 1 file changed, 7 insertions(+), 33 deletions(-) diff --