diff options
author | Juan Quintela <quintela@redhat.com> | 2023-02-08 14:41:06 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-02-15 20:04:30 +0100 |
commit | 24f254ed794bbd217fbceb6b5840dd4fa6545383 (patch) | |
tree | a991164ff0cd6796b1f84b0a7e9b218459ee7a94 /migration/savevm.c | |
parent | abbbd04da2b2bdda5ee7dcbbbc89e03e019ade6b (diff) | |
download | qemu-24f254ed794bbd217fbceb6b5840dd4fa6545383.zip qemu-24f254ed794bbd217fbceb6b5840dd4fa6545383.tar.gz qemu-24f254ed794bbd217fbceb6b5840dd4fa6545383.tar.bz2 |
migration: Remove unused res_compatible
Nothing assigns to it after previous commit.
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/savevm.c')
-rw-r--r-- | migration/savevm.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/migration/savevm.c b/migration/savevm.c index b5e6962..80b7f12 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -1542,13 +1542,11 @@ flush: * for units that can't do postcopy. */ void qemu_savevm_state_pending_estimate(uint64_t *res_precopy_only, - uint64_t *res_compatible, uint64_t *res_postcopy_only) { SaveStateEntry *se; *res_precopy_only = 0; - *res_compatible = 0; *res_postcopy_only = 0; QTAILQ_FOREACH(se, &savevm_state.handlers, entry) { @@ -1561,19 +1559,17 @@ void qemu_savevm_state_pending_estimate(uint64_t *res_precopy_only, } } se->ops->state_pending_estimate(se->opaque, - res_precopy_only, res_compatible, + res_precopy_only, res_postcopy_only); } } void qemu_savevm_state_pending_exact(uint64_t *res_precopy_only, - uint64_t *res_compatible, uint64_t *res_postcopy_only) { SaveStateEntry *se; *res_precopy_only = 0; - *res_compatible = 0; *res_postcopy_only = 0; QTAILQ_FOREACH(se, &savevm_state.handlers, entry) { @@ -1586,7 +1582,7 @@ void qemu_savevm_state_pending_exact(uint64_t *res_precopy_only, } } se->ops->state_pending_exact(se->opaque, - res_precopy_only, res_compatible, + res_precopy_only, res_postcopy_only); } } |