aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_domain_restore.c
diff options
context:
space:
mode:
authorGeorge Dunlap <george.dunlap@eu.citrix.com>2013-06-18 15:32:35 +0100
committerIan Jackson <Ian.Jackson@eu.citrix.com>2013-06-24 12:20:29 +0100
commit56fb55c42ec4cca9d7bd702d85b15a25c62da691 (patch)
treee110fa7bc613ccdf1f26ce334cbfca6f0a5b2413 /tools/libxc/xc_domain_restore.c
parent703e150231e26079d72ecca76701a825e7b9b927 (diff)
downloadxen-56fb55c42ec4cca9d7bd702d85b15a25c62da691.tar.gz
xen-56fb55c42ec4cca9d7bd702d85b15a25c62da691.tar.bz2
xen-56fb55c42ec4cca9d7bd702d85b15a25c62da691.zip
hvmloader: Load large devices into high MMIO space as needed
Keep track of how much mmio space is left total, as well as the amount of "low" MMIO space (<4GiB), and only load devices into high memory if there is not enough low memory for the rest of the devices to fit. Because devices are processed by size in order from large to small, this should preferentially relocate devices with large BARs to 64-bit space. v3: - Just use mmio_total rather than introducing a new variable. - Port to using mem_resource directly rather than low_mmio_left Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> CC: Ian Campbell <ian.campbell@citrix.com> CC: Stefano Stabellini <stefano.stabellini@citrix.com> CC: Hanweidong <hanweidong@huawei.com> CC: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc/xc_domain_restore.c')
0 files changed, 0 insertions, 0 deletions