public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Migration for SPP(Sub-Page Protection) bitmaps
@ 2019-04-17  9:59 Yang Weijiang
  2019-04-26  8:06 ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Yang Weijiang @ 2019-04-17  9:59 UTC (permalink / raw)
  To: pbonzini; +Cc: kvm

Hi, Paolo,

I'm working on migration support for SPP(Sub-Page Protection) feature,
the previous patch set is here:
https://lkml.org/lkml/2018/11/30/574, basically it's used to protect
128-byte subpages within a normal 4KB page.

but I'm not sure whether we need to add migration support for such kind of feature. 

Currently, my solution is to store the SPP bitmaps to destination KVM, when
there's EPT violation, search the bitmap mapping table to check if the
guest page needs to be protected.

Another solution is to setup EPT table directly at the end of migration.

Do you have perferred approach? 
Thanks for your comments!



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

end of thread, other threads:[~2019-04-28  2:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-17  9:59 Migration for SPP(Sub-Page Protection) bitmaps Yang Weijiang
2019-04-26  8:06 ` Paolo Bonzini
2019-04-26  8:57   ` Yang Weijiang
2019-04-27  7:37     ` Paolo Bonzini
2019-04-28  2:31       ` Yang Weijiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox