Skip to content

qemu-file: Move QEMUFileOps implementations to separate files

Eduardo Habkost qemu-devel 1 version Applied

Status from this message: Applied. Minor conflicts with David qemu-file on buffer on Makefiles

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4qemu-file: Make qemu_file_is_writable() non-staticinclude/migration/qemu-file.h qemu-file.c+2 -10 replies
2/4qemu-file: Use qemu_file_is_writable() on stdio_fclose()qemu-file.c+1 -10 replies
3/4qemu-file: Move unix and socket implementations to qemu-file-unix.cMakefile.objs qemu-file-unix.c qemu-file.c +1 more+225 -1970 replies
4/4qemu-file: Move stdio implementation to qemu-file-stdio.cMakefile.objs qemu-file-stdio.c qemu-file.c+195 -1690 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarkus ArmbrusterJuan Quintela
SeriesR-b R-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] qemu-file: Move QEMUFileOps implementations to separate files

With this, code that uses symbols from qemu-file.c don't need to bring extra dependencies because of the actual QEMUFile operation implementations.

Eduardo Habkost (4):
qemu-file: Make qemu_file_is_writable() non-static
qemu-file: Use qemu_file_is_writable() on stdio_fclose()
qemu-file: Move unix and socket implementations to qemu-file-unix.c
qemu-file: Move stdio implementation to qemu-file-stdio.c

 Makefile.objs                 |   2 +-
 include/migration/qemu-file.h |   1 +
 qemu-file-stdio.c             | 194 ++++++++++++++++++++++
 qemu-file-unix.c              | 223 ++++++++++++++++++++++++++
 qemu-file.c                   | 365 +-----------------------------------------
 tests/Makefile                |   2 +-
 6 files changed, 421 insertions(+), 366 deletions(-)
 create mode 100644 qemu-file-stdio.c
 create mode 100644 qemu-file-unix.c
Signature · 1 line
1.9.3