]> git.proxmox.com Git - qemu.git/commit
use an uint64_t for the max_sz parameter in load_image_targphys
authorMark Langsdorf <mark.langsdorf@calxeda.com>
Mon, 12 Mar 2012 16:33:25 +0000 (11:33 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 May 2012 20:40:50 +0000 (15:40 -0500)
commit80a2ba3d3cf33b777d6a45776b0625b9a4283951
tree85bb0d3c5d34f91d36e8847dff800085b4f1008d
parentb4f1a7ca72fcd0bfdf89d089c6739650f7b14f2a
use an uint64_t for the max_sz parameter in load_image_targphys

Allow load_image_targphys to load files on systems with more than 2G of
emulated memory by changing the max_sz parameter from an int to an
uint64_t.

Reviewed-by: Andreas F=E4rber <afaerber@suse.de>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/loader.c
hw/loader.h