Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

issue in A quick functionality test #15

@cszhoulei

Description

@cszhoulei

Hi, all

after I 'make' the qemu-sgx, I run the quick functionlity test:

~/sgx-qemu/qemu-sgx/build$ sudo x86_64-softmmu/qemu-system-x86_64 -nographic -enable-kvm -cpu host,+sgx -object memory-backend-epc,id=mem1,size=8M,prealloc=on -sgx-epc id=epc1,memdev=mem1

but get following problem:
qemu-system-x86_64: Could not enable SGX PROVISIONKEY: Invalid argument

Does anyone know the reason?

addition:

~/sgx-qemu/qemu-sgx/build$ dmesg | grep sgx
[    0.207209] sgx: EPC section 0xb0200000-0xb5f7ffff
[ 5708.702005] isgx: loading out-of-tree module taints kernel.
[ 5708.702444] intel_sgx: Intel SGX Driver v2.11.0
[ 5708.702459] intel_sgx INT0E0C:00: EPC bank 0xb0200000-0xb5f80000
[ 5708.703233] intel_sgx:  can not reset SGX LE public key hash MSRs
[ 5708.703265] intel_sgx: second initialization call skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions