diff options
author | Wei Yang <richardw.yang@linux.intel.com> | 2019-07-30 08:37:40 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-10-15 18:18:08 -0300 |
commit | 64afc7c32bf1634df9d9ff77efbc39225400744a (patch) | |
tree | eb1628989b83962c680a9aefd737cae99d6b8c6b /target | |
parent | fc2db8501f3bfa57000c625c1f8b304e4a15976e (diff) | |
download | qemu-64afc7c32bf1634df9d9ff77efbc39225400744a.zip qemu-64afc7c32bf1634df9d9ff77efbc39225400744a.tar.gz qemu-64afc7c32bf1634df9d9ff77efbc39225400744a.tar.bz2 |
memory-device: break the loop if tmp exceed the hinted range
The memory-device list built by memory_device_build_list is ordered by
its address, this means if the tmp range exceed the hinted range, all
the following range will not overlap with it.
And this won't change default pc-dimm mapping and address assignment stay
the same as before this change.
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190730003740.20694-3-richardw.yang@linux.intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions