Re: [Qemu-devel] [PATCH] memory: fix 128 arithmetic in info mtree

2013-09-25 Thread Alexey Kardashevskiy
On 09/10/2013 02:19 PM, Alexey Kardashevskiy wrote: On 08/30/2013 06:10 PM, Alexey Kardashevskiy wrote: mtree_print_mr() calls int128_get64() in 3 places but only 2 places handle 2^64 correctly. This fixes the third call of int128_get64(). Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru

Re: [Qemu-devel] [PATCH] memory: fix 128 arithmetic in info mtree

2013-09-25 Thread Paolo Bonzini
Il 30/08/2013 10:10, Alexey Kardashevskiy ha scritto: mtree_print_mr() calls int128_get64() in 3 places but only 2 places handle 2^64 correctly. This fixes the third call of int128_get64(). Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- memory.c | 4 +++- 1 file changed, 3

Re: [Qemu-devel] [PATCH] memory: fix 128 arithmetic in info mtree

2013-09-09 Thread Alexey Kardashevskiy
On 08/30/2013 06:10 PM, Alexey Kardashevskiy wrote: mtree_print_mr() calls int128_get64() in 3 places but only 2 places handle 2^64 correctly. This fixes the third call of int128_get64(). Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- memory.c | 4 +++- 1 file changed, 3

[Qemu-devel] [PATCH] memory: fix 128 arithmetic in info mtree

2013-08-30 Thread Alexey Kardashevskiy
mtree_print_mr() calls int128_get64() in 3 places but only 2 places handle 2^64 correctly. This fixes the third call of int128_get64(). Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- memory.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/memory.c b/memory.c