From: Vincent KHERBACHE <vincent.kherbache@inria.fr>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: gleb@redhat.com
Subject: Re: [Qemu-devel] [PATCH] kvm: fix kvm_set_migration_log() behavior
Date: Tue, 18 Feb 2014 18:58:40 +0100 [thread overview]
Message-ID: <53039F50.2020207@inria.fr> (raw)
In-Reply-To: <53038754.7000304@redhat.com>
Le 18/02/2014 17:16, Paolo Bonzini a écrit :
> This patch is not correct, because it introduces another one: if dirty
> logging was enabled on the memory region (kvm_dirty_pages_log_change),
> it will be disabled after migration.
Yes you're right that was my initial goal, I didn't distinguish the two
cases.
> Note that the effects of
> kvm_set_migration_log and kvm_dirty_pages_log_change should be logically
> ORed.
OK, but that's not really the case (see next comment)
> Can you explain better the problem? I cannot see anything wrong in the
> code, though it is not the clearest.
The problem is that if dirty logging is enabled by
kvm_set_migration_log(1) it will NOT be disabled by a
kvm_set_migration_log(0).
So, if this behavior is 'normal', kvm_log_global_stop (which call
kvm_set_migration_log) can not be used independently ?
Also, what I don't understand is why kvm_log_global_start/stop and
kvm_log_start/stop are so different: kvm_set_migration_log VS
kvm_dirty_pages_log_change.
Thank you for the support.
Regards,
--
Vincent KHERBACHE
prev parent reply other threads:[~2014-02-18 17:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 12:33 [Qemu-devel] [PATCH] kvm: fix kvm_set_migration_log() behavior Vincent KHERBACHE
2014-02-18 13:23 ` Eric Blake
2014-02-18 14:34 ` Vincent KHERBACHE
2014-02-18 16:16 ` Paolo Bonzini
2014-02-18 17:58 ` Vincent KHERBACHE [this message]
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=53039F50.2020207@inria.fr \
--to=vincent.kherbache@inria.fr \
--cc=gleb@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).