qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/11] Another cleanup of includes
@ 2017-05-18 17:25 Juan Quintela
  2017-05-18 17:25 ` [Qemu-devel] [PATCH 01/11] migration: Create savevm.h for functions exported from savevm.c Juan Quintela
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Juan Quintela @ 2017-05-18 17:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, lvivier, peterx

Hi

This series:
- make all migration methods export its functions in its own header
- move block.h into migration/
- create migration/savevm.h for functions exported in savevm.c
- create migration/ram.h for functions from ram.c
- split qemu-file.h into it an qemu-file-types.h
  only the last one is used outside of migration/
- move migration.h to be private
- create include/migration/misc.h for misc exported functions that
  don't belong anywhere

Please review.

Thanks, Juan.



Juan Quintela (11):
  migration: Create savevm.h for functions exported from savevm.c
  migration: Remove unneeded includes of migration/vmstate.h
  migration: Split qemu-file.h
  migration: Export exec.c functions in its own file
  migration: Export fd.c functions in its own file
  migration: Export socket.c functions in its own file
  migration: Export tls.c functions in its own file
  migration: Export rdma.c functions in its own file
  migration: Create include for migration snapshots
  migration: Export ram.c functions in its own file
  migration: Move include/migration/block.h into migration/

 hmp.c                                        |   5 +-
 hw/core/qdev.c                               |   1 -
 hw/i2c/i2c-ddc.c                             |   1 +
 hw/intc/s390_flic.c                          |   1 -
 hw/intc/s390_flic_kvm.c                      |   1 -
 hw/s390x/s390-skeys.c                        |   1 -
 include/block/block_int.h                    |   4 +-
 include/hw/acpi/memory_hotplug.h             |   1 -
 include/hw/acpi/pcihp.h                      |   1 -
 include/hw/hw.h                              |   2 +-
 include/hw/pci/shpc.h                        |   1 -
 include/migration/migration.h                |  68 -----------
 include/migration/misc.h                     |  29 +++++
 include/migration/qemu-file-types.h          | 164 +++++++++++++++++++++++++++
 include/migration/snapshot.h                 |  20 ++++
 include/net/net.h                            |   1 -
 include/sysemu/sysemu.h                      |  50 --------
 migration/block.c                            |   5 +-
 {include/migration => migration}/block.h     |   2 -
 migration/channel.c                          |   1 +
 migration/colo.c                             |   5 +-
 migration/exec.c                             |   1 +
 migration/exec.h                             |  26 +++++
 migration/fd.c                               |   1 +
 migration/fd.h                               |  23 ++++
 migration/migration.c                        |  11 +-
 migration/postcopy-ram.c                     |   4 +-
 migration/qemu-file-channel.c                |   3 +-
 migration/qemu-file.c                        |   2 +-
 {include/migration => migration}/qemu-file.h | 157 +------------------------
 migration/ram.c                              |   4 +-
 migration/ram.h                              |  70 ++++++++++++
 migration/rdma.c                             |   5 +-
 migration/rdma.h                             |  25 ++++
 migration/savevm.c                           |  36 +++++-
 migration/savevm.h                           |  41 +++++++
 migration/socket.c                           |   3 +-
 migration/socket.h                           |  28 +++++
 migration/tls.c                              |   1 +
 migration/tls.h                              |  34 ++++++
 migration/vmstate-types.c                    |   3 +-
 migration/vmstate.c                          |   2 +-
 replay/replay-snapshot.c                     |   5 +-
 target/alpha/cpu.c                           |   1 -
 target/hppa/cpu.c                            |   1 -
 target/s390x/cpu.c                           |   1 -
 target/tilegx/cpu.c                          |   1 -
 tests/test-vmstate.c                         |   3 +-
 vl.c                                         |   5 +-
 49 files changed, 544 insertions(+), 317 deletions(-)
 create mode 100644 include/migration/misc.h
 create mode 100644 include/migration/qemu-file-types.h
 create mode 100644 include/migration/snapshot.h
 rename {include/migration => migration}/block.h (93%)
 create mode 100644 migration/exec.h
 create mode 100644 migration/fd.h
 rename {include/migration => migration}/qemu-file.h (62%)
 create mode 100644 migration/ram.h
 create mode 100644 migration/rdma.h
 create mode 100644 migration/savevm.h
 create mode 100644 migration/socket.h
 create mode 100644 migration/tls.h

-- 
2.9.3

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-05-31 11:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18 17:25 [Qemu-devel] [PATCH 00/11] Another cleanup of includes Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 01/11] migration: Create savevm.h for functions exported from savevm.c Juan Quintela
2017-05-24 16:03   ` Laurent Vivier
2017-05-18 17:25 ` [Qemu-devel] [PATCH 02/11] migration: Remove unneeded includes of migration/vmstate.h Juan Quintela
2017-05-24 16:20   ` Laurent Vivier
2017-05-30 15:27     ` Juan Quintela
2017-05-31 11:15       ` Laurent Vivier
2017-05-18 17:25 ` [Qemu-devel] [PATCH 03/11] migration: Split qemu-file.h Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 04/11] migration: Export exec.c functions in its own file Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 05/11] migration: Export fd.c " Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 06/11] migration: Export socket.c " Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 07/11] migration: Export tls.c " Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 08/11] migration: Export rdma.c " Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 09/11] migration: Create include for migration snapshots Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 10/11] migration: Export ram.c functions in its own file Juan Quintela
2017-05-18 17:25 ` [Qemu-devel] [PATCH 11/11] migration: Move include/migration/block.h into migration/ Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).