Re: [PATCH v5 10/13] KVM: Register private memslot to memory backing store

2022-04-12 Thread Chao Peng
On Tue, Mar 29, 2022 at 07:01:52PM +, Sean Christopherson wrote: > On Thu, Mar 10, 2022, Chao Peng wrote: > > Add 'notifier' to memslot to make it a memfile_notifier node and then > > register it to memory backing store via memfile_register_notifier() when > > memslot gets created. When memslot

Re: [PATCH v5 10/13] KVM: Register private memslot to memory backing store

2022-03-29 Thread Sean Christopherson
On Thu, Mar 10, 2022, Chao Peng wrote: > Add 'notifier' to memslot to make it a memfile_notifier node and then > register it to memory backing store via memfile_register_notifier() when > memslot gets created. When memslot is deleted, do the reverse with > memfile_unregister_notifier(). Note each K

[PATCH v5 10/13] KVM: Register private memslot to memory backing store

2022-03-10 Thread Chao Peng
Add 'notifier' to memslot to make it a memfile_notifier node and then register it to memory backing store via memfile_register_notifier() when memslot gets created. When memslot is deleted, do the reverse with memfile_unregister_notifier(). Note each KVM memslot can be registered to different memor