Re: [Qemu-devel] [PATCH] Fix calculation of number of bits in the migration bitmap

2012-10-31 Thread Orit Wasserman
On 10/31/2012 01:25 PM, Peter Maydell wrote: > On 31 October 2012 12:19, Orit Wasserman wrote: >> The number of bits is off by one, for example if last_ram_offset >> is 0x1000 (the guest has one page) we get 0 bits instead of 1. >> >> Signed-off-by: Orit Wasserman >> --- >> arch_init.c | 2 +- >>

Re: [Qemu-devel] [PATCH] Fix calculation of number of bits in the migration bitmap

2012-10-31 Thread Orit Wasserman
On 10/31/2012 01:24 PM, Avi Kivity wrote: > On 10/31/2012 01:19 PM, Orit Wasserman wrote: >> The number of bits is off by one, for example if last_ram_offset >> is 0x1000 (the guest has one page) we get 0 bits instead of 1. >> >> Signed-off-by: Orit Wasserman >> --- >> arch_init.c | 2 +- >> 1 fi

Re: [Qemu-devel] [PATCH] Fix calculation of number of bits in the migration bitmap

2012-10-31 Thread Peter Maydell
On 31 October 2012 12:19, Orit Wasserman wrote: > The number of bits is off by one, for example if last_ram_offset > is 0x1000 (the guest has one page) we get 0 bits instead of 1. > > Signed-off-by: Orit Wasserman > --- > arch_init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di

Re: [Qemu-devel] [PATCH] Fix calculation of number of bits in the migration bitmap

2012-10-31 Thread Avi Kivity
On 10/31/2012 01:19 PM, Orit Wasserman wrote: > The number of bits is off by one, for example if last_ram_offset > is 0x1000 (the guest has one page) we get 0 bits instead of 1. > > Signed-off-by: Orit Wasserman > --- > arch_init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > dif

[Qemu-devel] [PATCH] Fix calculation of number of bits in the migration bitmap

2012-10-31 Thread Orit Wasserman
The number of bits is off by one, for example if last_ram_offset is 0x1000 (the guest has one page) we get 0 bits instead of 1. Signed-off-by: Orit Wasserman --- arch_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch_init.c b/arch_init.c index b75a4c5..a80c3c8 10064