Skip to content

Bring savevm.c to the wonderful world of sys-queue.h

Juan Quintela qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Changes in v1 from the cover letter

- replace first_se by a TAILQ (savevm_handlers)
- replace first_le by a LIST (loadvm_handlers)
- add LIST_FOREACH_SAFe that didn't exist before

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3savevm: Convert savevm handlers list to TAILQsavevm.c+42 -520 replies
2/3Add LIST_FOREACH_SAFE() definitionsys-queue.h+5 -00 replies
3/3savevm: Convert loadvm handlers list to LISTsavevm.c+12 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] Bring savevm.c to the wonderful world of sys-queue.h

Hi

V2:
- Initialize loadvm_handlers with LIST_HEAD_INITIALIZER. Reported by Luiz Capitulino.

v1:
- replace first_se by a TAILQ (savevm_handlers)
- replace first_le by a LIST (loadvm_handlers)
- add LIST_FOREACH_SAFe that didn't exist before

Later, Juan.

Juan Quintela (3):
savevm: Convert savevm handlers list to TAILQ
Add LIST_FOREACH_SAFE() definition
savevm: Convert loadvm handlers list to LIST

 savevm.c    |  115 +++++++++++++++++++++++++++-------------------------------
 sys-queue.h |    5 +++
 2 files changed, 59 insertions(+), 61 deletions(-)