summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2018-04-23 18:51:20 +0200
committerEduardo Habkost2018-05-07 15:00:02 +0200
commitbb0831bdf45a61c83fa1def44ae391260ce2662d (patch)
treed195a8f86381c9ef931000428af1d07766809ca3 /exec.c
parentpc-dimm: pass in the machine and to the MemoryHotplugState (diff)
downloadqemu-bb0831bdf45a61c83fa1def44ae391260ce2662d.tar.gz
qemu-bb0831bdf45a61c83fa1def44ae391260ce2662d.tar.xz
qemu-bb0831bdf45a61c83fa1def44ae391260ce2662d.zip
pc-dimm: factor out address search into MemoryDevice code
This mainly moves code, but does a handfull of optimizations: - We pass the machine instead of the address space properties - We check the hinted address directly and handle fragmented memory better - We make the search independent of pc-dimm Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20180423165126.15441-6-david@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions