[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 03/20] vl: Add "sgx-epc" option to expose SG
From: |
Sean Christopherson |
Subject: |
Re: [Qemu-devel] [RFC PATCH 03/20] vl: Add "sgx-epc" option to expose SGX EPC sections to guest |
Date: |
Tue, 10 Sep 2019 12:45:57 -0700 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Fri, Sep 06, 2019 at 09:49:44PM +0000, Larry Dewey wrote:
> I was playing with the new objects, etc, and found if the user
> specifies -sgx-epc, and a memory device, but does not specify -cpu
> host, +sgx, the vm runs without any warnings, while obviously not doing
> anything to the memory. Perhaps some warnings if not everything which
> is required is provided?
Yeah, I waffled on what to do in this scenario. Ditto for the opposite
scenario of having SGX enabled without EPC. I agree a warning or error
would be helpful for EPC-without-SGX. The SGX-without-EPC case at least
makes some sense, e.g. to mimic BIOS not partitioning EPC, and doesn't
waste resources.