Skip to content

Add qemu_get_counted_string

Dr. David Alan Gilbert (git) qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

Terminate return buffer at read length rather than expected length

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Add qemu_get_counted_string to read a string prefixed by a count bytearch_init.c include/migration/qemu-file.h migration/qemu-file.c +1 more+31 -91 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchAmit Shah
1/1R-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/1] Add qemu_get_counted_string

From: "Dr. David Alan Gilbert" <[email protected]>

Move the reading of length first encoded strings into it's own function.

v2:
Terminate return buffer at read length rather than expected length

Dr. David Alan Gilbert (1):
Add qemu_get_counted_string to read a string prefixed by a count byte

 arch_init.c                   |  9 +++++----
 include/migration/qemu-file.h |  3 +++
 migration/qemu-file.c         | 17 +++++++++++++++++
 savevm.c                      | 11 ++++++-----
 4 files changed, 31 insertions(+), 9 deletions(-)
Signature · 1 line
2.4.1