From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Cc: John Snow <jsnow@redhat.com>, Halil Pasic <pasic@linux.ibm.com>,
Juan Quintela <quintela@redhat.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Fam Zheng <fam@euphon.net>,
Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>,
Alex Williamson <alex.williamson@redhat.com>,
qemu-s390x@nongnu.org, Thomas Huth <thuth@redhat.com>,
Eric Farman <farman@linux.ibm.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
Eric Blake <eblake@redhat.com>,
Richard Henderson <richard.henderson@linaro.org>,
qemu-block@nongnu.org,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Ilya Leoshkevich <iii@linux.ibm.com>,
David Hildenbrand <david@redhat.com>
Subject: [PATCH v2 1/3] migration: In case of postcopy, the memory ends in res_postcopy_only
Date: Wed, 15 Feb 2023 18:03:43 +0100 [thread overview]
Message-ID: <20230215170345.6220-2-quintela@redhat.com> (raw)
In-Reply-To: <20230215170345.6220-1-quintela@redhat.com>
So remove last assignation of res_compatible.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
migration/ram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration/ram.c b/migration/ram.c
index 521912385d..ecf697a58d 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -3528,7 +3528,7 @@ static void ram_state_pending_exact(void *opaque,
if (migrate_postcopy_ram()) {
/* We can do postcopy, and all the data is postcopiable */
- *res_compatible += remaining_size;
+ *res_postcopy_only += remaining_size;
} else {
*res_precopy_only += remaining_size;
}
--
2.39.1
next prev parent reply other threads:[~2023-02-15 17:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-15 17:03 [PATCH v2 0/3] Remove res_compatible parameter Juan Quintela
2023-02-15 17:03 ` Juan Quintela [this message]
2023-02-15 17:34 ` [PATCH v2 1/3] migration: In case of postcopy, the memory ends in res_postcopy_only Vladimir Sementsov-Ogievskiy
2023-02-15 17:03 ` [PATCH v2 2/3] migration: Remove unused res_compatible Juan Quintela
2023-02-15 17:03 ` [PATCH v2 3/3] migration: Rename res_{postcopy,precopy}_only Juan Quintela
2023-02-15 17:53 ` Vladimir Sementsov-Ogievskiy
2023-02-15 18:15 ` Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230215170345.6220-2-quintela@redhat.com \
--to=quintela@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=borntraeger@linux.ibm.com \
--cc=david@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=fam@euphon.net \
--cc=farman@linux.ibm.com \
--cc=iii@linux.ibm.com \
--cc=jsnow@redhat.com \
--cc=pasic@linux.ibm.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
--cc=vsementsov@yandex-team.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).