]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 3 Dec 2013 22:05:41 +0000 (16:05 -0600)
commitbd821a9bc3cc4fc5fe8912deac883e6a4b00bc6a
treef79bf237babe4c8f1eec0bda2ea91335957247bd
parent7bda8555de4507685bc5713d1239f341718bbf1d
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>
(cherry picked from commit a66670c79c5c7d530d818430ffcdaa25cbf2c2ab)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
memory.c