Messages in this thread | | | From | "Kalra, Ashish" <> | Subject | Re: [PATCH v6 1/5] x86/kvm: Add AMD SEV specific Hypercall3 | Date | Tue, 28 Sep 2021 19:26:32 +0000 |
| |
> On Sep 28, 2021, at 2:05 PM, Steve Rutherford <srutherford@google.com> wrote: > > On Wed, Sep 22, 2021 at 6:54 AM Borislav Petkov <bp@alien8.de> wrote: >> >>> On Wed, Sep 22, 2021 at 12:10:08PM +0000, Ashish Kalra wrote: >>> Then isn't it cleaner to simply do it via the paravirt_ops interface, >>> i.e, pv_ops.mmu.notify_page_enc_status_changed() where the callback >>> is only set when SEV and live migration feature are supported and >>> invoked through early_set_memory_decrypted()/encrypted(). >>> >>> Another memory encryption platform can set it's callback accordingly. >> >> Yeah, that sounds even cleaner to me. > If I'm not mistaken, this is what the patch set does now?
Yes that’s what I mentioned to Boris.
Thanks, Ashish
| |