Skip to content

refine memory_device_get_free_addr

Wei Yang qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 15 repliesIn review
  2. v13 patches 12 repliesSuperseded

Changes in v2 from the cover letter

* remove #2 as suggested by Igor and David
* add some comment to inform address assignment stay the same as before this change

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2memory-device: not necessary to use goto for the last checkhw/mem/memory-device.c+0 -18 replies
2/2memory-device: break the loop if tmp exceed the hinted rangehw/mem/memory-device.c+2 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchIgor MammedovDavid Hildenbrand
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] refine memory_device_get_free_addr

When we iterate the memory-device list to get the available range, it is not necessary to iterate the whole list.

1) no more overlap for hinted range if tmp exceed it

v2:
* remove #2 as suggested by Igor and David
* add some comment to inform address assignment stay the same as before this change

Wei Yang (2):
memory-device: not necessary to use goto for the last check
memory-device: break the loop if tmp exceed the hinted range

 hw/mem/memory-device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1