All of lore.kernel.org
 help / color / mirror / Atom feed
* vhost-user: questions regarding migration
@ 2020-09-20  2:59 Anton Kuchin
  2020-09-22 19:07 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Kuchin @ 2020-09-20  2:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: yc-core, mst

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

Hi,

I'm implementing migration support in vhost-user backend and have a
couple of questions:

1. How master can be sure that logging was started?

We expect that right after set_fatures command with VHOST_F_LOG_ALL flag
all memory modifications will be tracked in log, but slave can need a
little time to process this command so there is a chance that some
requests can be untracked. Is there a way to ensure all requests are
logged or determine the moment since when tracking starts and master can
start migrating memory?

2. Why do we need separate log_addr for vring and how can it be not
covered by mem table?

As far as I understand slave receives used address in set_vring_addr
command and to map it correctly we do need valid entry in memory table.
So this field looks redundant to me. Am I missing something?

BTW the word "log_guest_addr" is mentioned only once in the document and
in "vring address description" payload it is just called "log",
shouldn't we should change this names to match?


[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2505 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-22 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-20  2:59 vhost-user: questions regarding migration Anton Kuchin
2020-09-22 19:07 ` Dr. David Alan Gilbert

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.