qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU
@ 2018-12-04 18:37 Jintack Lim
  2018-12-05  1:30 ` Jason Wang
  0 siblings, 1 reply; 12+ messages in thread
From: Jintack Lim @ 2018-12-04 18:37 UTC (permalink / raw)
  To: QEMU Devel Mailing List; +Cc: Jason Wang, \ Michael S . Tsirkin \

Hi,

I'm wondering how the current implementation works when logging dirty
pages during migration from vhost-net (in kernel) when used vIOMMU.

I understand how vhost-net logs GPAs when not using vIOMMU. But when
we use vhost with vIOMMU, then shouldn't vhost-net need to log the
translated address (GPA) instead of the address written in the
descriptor (IOVA) ? The current implementation looks like vhost-net
just logs IOVA without translation in vhost_get_vq_desc() in
drivers/vhost/net.c. It seems like QEMU doesn't do any further
translation of the dirty log when syncing.

I might be missing something. Could somebody shed some light on this?

Thanks,
Jintack

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

end of thread, other threads:[~2018-12-09 18:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-04 18:37 [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU Jintack Lim
2018-12-05  1:30 ` Jason Wang
2018-12-05  1:59   ` Michael S. Tsirkin
2018-12-05  3:02     ` Jason Wang
2018-12-05 13:32       ` Michael S. Tsirkin
2018-12-06  7:27         ` Jason Wang
2018-12-05 14:47   ` Jintack Lim
2018-12-06  7:33     ` Jason Wang
2018-12-06 12:11       ` Jintack Lim
2018-12-06 12:44         ` Jason Wang
2018-12-07 12:37           ` Jason Wang
2018-12-09 18:31             ` Jintack Lim

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).