summaryrefslogtreecommitdiffstats
path: root/include/exec/memory.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin2014-12-15 21:55:32 +0100
committerMichael S. Tsirkin2015-01-08 12:17:54 +0100
commit9b8424d5735278ca382f11adc7c63072b632ab83 (patch)
treea7320e19b3418258eebda8d2b2164e9a9b830d3a /include/exec/memory.h
parentexec: cpu_physical_memory_set/clear_dirty_range (diff)
downloadqemu-9b8424d5735278ca382f11adc7c63072b632ab83.tar.gz
qemu-9b8424d5735278ca382f11adc7c63072b632ab83.tar.xz
qemu-9b8424d5735278ca382f11adc7c63072b632ab83.zip
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>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions