[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 15/18] guest memory protection: Decouple kvm_memcrypt_*() he
From: |
Richard Henderson |
Subject: |
Re: [RFC v2 15/18] guest memory protection: Decouple kvm_memcrypt_*() helpers from KVM |
Date: |
Mon, 1 Jun 2020 21:13:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 5/20/20 8:43 PM, David Gibson wrote:
> The kvm_memcrypt_enabled() and kvm_memcrypt_encrypt_data() helper functions
> don't conceptually have any connection to KVM (although it's not possible
> in practice to use them without it).
Yet?
I would expect TCG implementations of these interfaces eventually, for
simulation of such hardware. Or are we expecting *this* interface to be used
only with kvm/any-other-hw-accel, as the nested guest inside of the outermost
tcg qemu that's simulating hardware that supports...
Anyway, the actual code looks ok.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- Re: [RFC v2 15/18] guest memory protection: Decouple kvm_memcrypt_*() helpers from KVM,
Richard Henderson <=