]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
memory: fix 128 arithmetic in info mtree
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 30 Aug 2013 08:10:38 +0000 (18:10 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Oct 2013 15:24:14 +0000 (17:24 +0200)
commita66670c79c5c7d530d818430ffcdaa25cbf2c2ab
treee48a351494c3fb6aece8fc75056c390fd1f06d6b
parent1680d485777ecf436d724631ea8722cc0c66990e
memory: fix 128 arithmetic in info mtree

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().

Cc: qemu-stable@nongnu.org
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c