From: Juan Quintela <quintela@redhat.com>
To: Alexey Perevalov <a.perevalov@samsung.com>
Cc: qemu-devel@nongnu.org, peterx@redhat.com, i.maximets@samsung.com,
heetae82.ahn@samsung.com, dgilbert@redhat.com
Subject: Re: [Qemu-devel] [PATCH v12 2/6] migration: add postcopy blocktime ctx into MigrationIncomingState
Date: Tue, 02 Jan 2018 21:51:08 +0100 [thread overview]
Message-ID: <87y3lg3ryb.fsf@secure.laptop> (raw)
In-Reply-To: <1509369390-8285-3-git-send-email-a.perevalov@samsung.com> (Alexey Perevalov's message of "Mon, 30 Oct 2017 16:16:26 +0300")
Alexey Perevalov <a.perevalov@samsung.com> wrote:
> This patch adds request to kernel space for UFFD_FEATURE_THREAD_ID,
> in case when this feature is provided by kernel.
>
> PostcopyBlocktimeContext is incapsulated inside postcopy-ram.c,
> due to it's postcopy only feature.
> Also it defines PostcopyBlocktimeContext's instance live time.
> Information from PostcopyBlocktimeContext instance will be provided
> much after postcopy migration end, instance of PostcopyBlocktimeContext
> will live till QEMU exit, but part of it (vcpu_addr,
> page_fault_vcpu_time) used only during calculation, will be released
> when postcopy ended or failed.
>
> To enable postcopy blocktime calculation on destination, need to request
> proper capabiltiy (Patch for documentation will be at the tail of the patch
> set).
>
> As an example following command enable that capability, assume QEMU was
> started with
> -chardev socket,id=charmonitor,path=/var/lib/migrate-vm-monitor.sock
> option to control it
>
> [root@host]#printf "{\"execute\" : \"qmp_capabilities\"}\r\n \
> {\"execute\": \"migrate-set-capabilities\" , \"arguments\": {
> \"capabilities\": [ { \"capability\": \"postcopy-blocktime\", \"state\":
> true } ] } }" | nc -U /var/lib/migrate-vm-monitor.sock
>
> Or just with HMP
> (qemu) migrate_set_capability postcopy-blocktime on
>
> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
next prev parent reply other threads:[~2018-01-02 20:51 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20171030131646eucas1p14d2fcb39b4916be2960719f68413c082@eucas1p1.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 0/6] calculate blocktime for postcopy live migration Alexey Perevalov
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 1/6] migration: introduce postcopy-blocktime capability Alexey Perevalov
2018-01-02 20:49 ` Juan Quintela
2018-01-02 21:20 ` Eric Blake
2018-01-05 12:10 ` Alexey Perevalov
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 2/6] migration: add postcopy blocktime ctx into MigrationIncomingState Alexey Perevalov
2018-01-02 20:51 ` Juan Quintela [this message]
2018-01-02 21:22 ` Eric Blake
2018-01-03 8:25 ` Juan Quintela
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 3/6] migration: calculate vCPU blocktime on dst side Alexey Perevalov
2017-12-01 18:54 ` Dr. David Alan Gilbert
2018-01-02 20:53 ` Juan Quintela
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 4/6] migration: postcopy_blocktime documentation Alexey Perevalov
2018-01-03 8:18 ` Juan Quintela
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 5/6] migration: add blocktime calculation into migration-test Alexey Perevalov
2018-01-03 8:19 ` Juan Quintela
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 6/6] migration: add postcopy total blocktime into query-migrate Alexey Perevalov
2018-01-02 21:26 ` Eric Blake
2018-01-05 12:15 ` Alexey Perevalov
2018-01-05 16:21 ` Eric Blake
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=87y3lg3ryb.fsf@secure.laptop \
--to=quintela@redhat.com \
--cc=a.perevalov@samsung.com \
--cc=dgilbert@redhat.com \
--cc=heetae82.ahn@samsung.com \
--cc=i.maximets@samsung.com \
--cc=peterx@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.