diff options
author | 2024-05-24 18:16:08 +0200 | |
---|---|---|
committer | 2024-05-25 13:28:02 +0200 | |
commit | 70eb5fde05bdd051c087669ffcf2aee39e0c8170 (patch) | |
tree | 4ae95bb52a5b5caacacc73c40fe8195349c3c499 /migration | |
parent | meson: do not query modules before they are processed (diff) | |
download | qemu-70eb5fde05bdd051c087669ffcf2aee39e0c8170.tar.xz qemu-70eb5fde05bdd051c087669ffcf2aee39e0c8170.zip |
migration: remove unnecessary zlib dependency
zlib code is only used by the emulators, not by the tests.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/dirtyrate.c | 1 | ||||
-rw-r--r-- | migration/meson.build | 2 | ||||
-rw-r--r-- | migration/qemu-file.c | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index d02d70b7b4..1d9db81299 100644 --- a/migration/dirtyrate.c +++ b/migration/dirtyrate.c @@ -12,7 +12,6 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" -#include <zlib.h> #include "hw/core/cpu.h" #include "qapi/error.h" #include "exec/ramblock.h" diff --git a/migration/meson.build b/migration/meson.build index 8815f80837..bdc3244bce 100644 --- a/migration/meson.build +++ b/migration/meson.build @@ -29,7 +29,7 @@ system_ss.add(files( 'socket.c', 'tls.c', 'threadinfo.c', -), gnutls) +), gnutls, zlib) if get_option('replication').allowed() system_ss.add(files('colo-failover.c', 'colo.c')) diff --git a/migration/qemu-file.c b/migration/qemu-file.c index 9ccbbb0099..b6d2f588bd 100644 --- a/migration/qemu-file.c +++ b/migration/qemu-file.c @@ -22,7 +22,6 @@ * THE SOFTWARE. */ #include "qemu/osdep.h" -#include <zlib.h> #include "qemu/madvise.h" #include "qemu/error-report.h" #include "qemu/iov.h" |