Eric Auger wrote:
> Instead of inserting read elements at the head and
> then reversing the list, it is simpler to add
> each element after the previous one. Introduce
> QLIST_RAW_INSERT_AFTER helper and use it in
> get_qlist().
>
> Signed-off-by: Eric Auger
> Suggested-by: Juan Quintela
Review
Instead of inserting read elements at the head and
then reversing the list, it is simpler to add
each element after the previous one. Introduce
QLIST_RAW_INSERT_AFTER helper and use it in
get_qlist().
Signed-off-by: Eric Auger
Suggested-by: Juan Quintela
---
---
include/qemu/queue.h | 19