diff options
author | Alex Williamson | 2013-07-19 20:42:12 +0200 |
---|---|---|
committer | Anthony Liguori | 2013-07-22 22:40:41 +0200 |
commit | fd1d9926e91f421bc851f9dd19875f14799c6e4b (patch) | |
tree | 8818f95e01525913bebeea64a58a8bf7298c8d1e /include | |
parent | configure: Remove ldscripts (diff) | |
download | qemu-fd1d9926e91f421bc851f9dd19875f14799c6e4b.tar.gz qemu-fd1d9926e91f421bc851f9dd19875f14799c6e4b.tar.xz qemu-fd1d9926e91f421bc851f9dd19875f14799c6e4b.zip |
memory: Fix zero-sized memory region print
if mr->size == 0, then
int128_get64(int128_sub(mr->size, int128_make64(1))) => assert(!a.hi)
Also, use int128_one().
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20130719184124.15864.20803.stgit@bling.home
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions