Browse Source

include/system: Move exec/ramblock.h to system/ramblock.h

Convert the existing includes with sed.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
pull/291/head
Richard Henderson 1 year ago
parent
commit
548a01650c
  1. 2
      MAINTAINERS
  2. 2
      hw/display/virtio-gpu-udmabuf.c
  3. 2
      hw/hyperv/hv-balloon.c
  4. 2
      hw/virtio/vhost-user.c
  5. 2
      include/system/ram_addr.h
  6. 9
      include/system/ramblock.h
  7. 2
      migration/dirtyrate.c
  8. 2
      migration/file.c
  9. 2
      migration/multifd-nocomp.c
  10. 2
      migration/multifd-qatzip.c
  11. 2
      migration/multifd-qpl.c
  12. 2
      migration/multifd-uadk.c
  13. 2
      migration/multifd-zero-page.c
  14. 2
      migration/multifd-zlib.c
  15. 2
      migration/multifd-zstd.c
  16. 2
      migration/multifd.c
  17. 2
      migration/postcopy-ram.c
  18. 2
      tests/qtest/fuzz/generic_fuzz.c

2
MAINTAINERS

@ -3122,7 +3122,7 @@ F: include/system/ioport.h
F: include/exec/memop.h
F: include/system/memory.h
F: include/system/ram_addr.h
F: include/exec/ramblock.h
F: include/system/ramblock.h
F: include/system/memory_mapping.h
F: system/dma-helpers.c
F: system/ioport.c

2
hw/display/virtio-gpu-udmabuf.c

@ -19,7 +19,7 @@
#include "hw/virtio/virtio-gpu.h"
#include "hw/virtio/virtio-gpu-pixman.h"
#include "trace.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "system/hostmem.h"
#include <sys/ioctl.h>
#include <linux/memfd.h>

2
hw/hyperv/hv-balloon.c

@ -12,7 +12,7 @@
#include "system/address-spaces.h"
#include "exec/cpu-common.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "hw/boards.h"
#include "hw/hyperv/dynmem-proto.h"
#include "hw/hyperv/hv-balloon.h"

2
hw/virtio/vhost-user.c

@ -28,7 +28,7 @@
#include "system/cryptodev.h"
#include "migration/postcopy-ram.h"
#include "trace.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include <sys/ioctl.h>
#include <sys/socket.h>

2
include/system/ram_addr.h

@ -23,7 +23,7 @@
#include "system/tcg.h"
#include "exec/cputlb.h"
#include "exec/ramlist.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "exec/exec-all.h"
#include "system/memory.h"
#include "exec/target_page.h"

9
include/exec/ramblock.h → include/system/ramblock.h

@ -16,11 +16,10 @@
* The functions declared here will be removed soon.
*/
#ifndef QEMU_EXEC_RAMBLOCK_H
#define QEMU_EXEC_RAMBLOCK_H
#ifndef SYSTEM_RAMBLOCK_H
#define SYSTEM_RAMBLOCK_H
#ifndef CONFIG_USER_ONLY
#include "cpu-common.h"
#include "exec/cpu-common.h"
#include "qemu/rcu.h"
#include "exec/ramlist.h"
@ -91,5 +90,5 @@ struct RAMBlock {
*/
ram_addr_t postcopy_length;
};
#endif
#endif

2
migration/dirtyrate.c

@ -14,7 +14,7 @@
#include "qemu/error-report.h"
#include "hw/core/cpu.h"
#include "qapi/error.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "exec/target_page.h"
#include "qemu/rcu_queue.h"
#include "qemu/main-loop.h"

2
migration/file.c

@ -6,7 +6,7 @@
*/
#include "qemu/osdep.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "qemu/cutils.h"
#include "qemu/error-report.h"
#include "qapi/error.h"

2
migration/multifd-nocomp.c

@ -11,7 +11,7 @@
*/
#include "qemu/osdep.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "exec/target_page.h"
#include "file.h"
#include "migration-stats.h"

2
migration/multifd-qatzip.c

@ -13,7 +13,7 @@
*/
#include "qemu/osdep.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
#include "qapi/qapi-types-migration.h"

2
migration/multifd-qpl.c

@ -14,7 +14,7 @@
#include "qemu/module.h"
#include "qapi/error.h"
#include "qapi/qapi-types-migration.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "multifd.h"
#include "qpl/qpl.h"

2
migration/multifd-uadk.c

@ -13,7 +13,7 @@
#include "qemu/osdep.h"
#include "qemu/module.h"
#include "qapi/error.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "migration.h"
#include "multifd.h"
#include "options.h"

2
migration/multifd-zero-page.c

@ -12,7 +12,7 @@
#include "qemu/osdep.h"
#include "qemu/cutils.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "migration.h"
#include "migration-stats.h"
#include "multifd.h"

2
migration/multifd-zlib.c

@ -13,7 +13,7 @@
#include "qemu/osdep.h"
#include <zlib.h>
#include "qemu/rcu.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "exec/target_page.h"
#include "qapi/error.h"
#include "migration.h"

2
migration/multifd-zstd.c

@ -13,7 +13,7 @@
#include "qemu/osdep.h"
#include <zstd.h>
#include "qemu/rcu.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "exec/target_page.h"
#include "qapi/error.h"
#include "migration.h"

2
migration/multifd.c

@ -16,7 +16,7 @@
#include "qemu/rcu.h"
#include "exec/target_page.h"
#include "system/system.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "qemu/error-report.h"
#include "qapi/error.h"
#include "file.h"

2
migration/postcopy-ram.c

@ -31,7 +31,7 @@
#include "qemu/error-report.h"
#include "trace.h"
#include "hw/boards.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "socket.h"
#include "yank_functions.h"
#include "tls.h"

2
tests/qtest/fuzz/generic_fuzz.c

@ -21,7 +21,7 @@
#include "fuzz.h"
#include "string.h"
#include "system/memory.h"
#include "exec/ramblock.h"
#include "system/ramblock.h"
#include "hw/qdev-core.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_device.h"

Loading…
Cancel
Save