David Hildenbrand bb0831bdf4 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>
2018-05-07 10:00:02 -03:00
..
2016-10-04 13:28:07 +01:00
2017-01-27 18:07:59 +01:00
2018-03-01 11:05:45 +00:00
2016-05-18 15:04:27 +03:00
2013-04-08 18:13:10 +02:00
2018-02-09 05:05:11 +01:00
2018-02-09 05:05:11 +01:00
2017-01-27 18:07:59 +01:00
2018-03-13 11:17:31 -06:00
2018-02-09 05:05:11 +01:00
2017-01-27 18:07:59 +01:00
2017-04-24 12:32:12 +01:00
2017-06-01 18:49:22 +02:00
2013-04-08 18:13:10 +02:00