[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] target-i386: sev: fail query-sev-capabilities if QEMU ca
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 2/2] target-i386: sev: fail query-sev-capabilities if QEMU cannot use SEV |
Date: |
Fri, 3 Jul 2020 18:10:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 03/07/20 18:08, Dr. David Alan Gilbert wrote:
>> + error_setg(errp, "KVM not enabled\n");
>> + return NULL;
>> + }
>> + if (kvm_vm_ioctl(kvm_state, KVM_MEMORY_ENCRYPT_OP, NULL) < 0) {
>> + error_setg(errp, "SEV is not enabled\n");
> Can you make that 'SEV is not enabled in KVM' so it's obvious
> that it's the KVM side and not the qemu side (like you've
> done in the previous patch).
Sure.
Paolo