Re: [RFC PATCH 02/23] kvm: Switch KVM_CAP_READONLY_MEM to a per-VM ioctl()

2021-02-22 Thread Isaku Yamahata
On Tue, Feb 16, 2021 at 08:56:45AM +0100, Philippe Mathieu-Daudé wrote: > Hi Isaku, > > On 2/16/21 3:12 AM, Isaku Yamahata wrote: > > Switch to making a VM ioctl() call for KVM_CAP_READONLY_MEM, which may > > be conditional on VM type in recent versions of KVM, e.g. when TDX is > > supported. >

Re: [RFC PATCH 02/23] kvm: Switch KVM_CAP_READONLY_MEM to a per-VM ioctl()

2021-02-15 Thread Philippe Mathieu-Daudé
Hi Isaku, On 2/16/21 3:12 AM, Isaku Yamahata wrote: > Switch to making a VM ioctl() call for KVM_CAP_READONLY_MEM, which may > be conditional on VM type in recent versions of KVM, e.g. when TDX is > supported. > > Signed-off-by: Isaku Yamahata > --- > accel/kvm/kvm-all.c | 2 +- > 1 file change

[RFC PATCH 02/23] kvm: Switch KVM_CAP_READONLY_MEM to a per-VM ioctl()

2021-02-15 Thread Isaku Yamahata
Switch to making a VM ioctl() call for KVM_CAP_READONLY_MEM, which may be conditional on VM type in recent versions of KVM, e.g. when TDX is supported. Signed-off-by: Isaku Yamahata --- accel/kvm/kvm-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel/kvm/kvm-all.c b/