Home
last modified time | relevance | path

Searched hist:"9 b8424d5735278ca382f11adc7c63072b632ab83" (Results 1 – 2 of 2) sorted by relevance

/qemu/scripts/
H A Ddump-guest-memory.py0c71d41e2aa3c7356500ae624166f3bb8c201aee Thu Aug 27 09:06:23 UTC 2015 Michael S. Tsirkin <mst@redhat.com> scripts/dump-guest-memory.py: fix after RAMBlock change

commit 9b8424d5735278ca382f11adc7c63072b632ab83
"exec: split length -> used_length/max_length"
changed field names in struct RAMBlock

It turns out that scripts/dump-guest-memory.py was
poking at this field, update it accordingly.

Cc: qemu-stable@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <1440666378-3152-1-git-send-email-mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/system/
H A Darch_init.c9b8424d5735278ca382f11adc7c63072b632ab83 Mon Dec 15 20:55:32 UTC 2014 Michael S. Tsirkin <mst@redhat.com> exec: split length -> used_length/max_length

This patch allows us to distinguish between two
length values for each block:
max_length - length of memory block that was allocated
used_length - length of block used by QEMU/guest

Currently, we set used_length - max_length, unconditionally.
Follow-up patches allow used_length <= max_length.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>