Home
last modified time | relevance | path

Searched refs:sev_fd (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/kvm/lib/x86/
H A Dsev.c51 TEST_ASSERT_EQ(vm->arch.sev_fd, -1); in sev_vm_init()
52 vm->arch.sev_fd = open_sev_dev_path_or_exit(); in sev_vm_init()
64 TEST_ASSERT_EQ(vm->arch.sev_fd, -1); in sev_es_vm_init()
65 vm->arch.sev_fd = open_sev_dev_path_or_exit(); in sev_es_vm_init()
H A Dprocessor.c1317 vm->arch.sev_fd = open_sev_dev_path_or_exit(); in kvm_init_vm_address_properties()
1321 vm->arch.sev_fd = -1; in kvm_init_vm_address_properties()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dsev.h89 .sev_fd = (vm)->arch.sev_fd, \
H A Dkvm_util_arch.h42 int sev_fd; member
/linux/tools/testing/selftests/kvm/x86/
H A Dsev_init2_tests.c38 .sev_fd = open_sev_dev_path_or_exit(), in __sev_ioctl()
/linux/arch/x86/kvm/svm/
H A Dsev.c646 ret = __sev_issue_cmd(argp->sev_fd, SEV_CMD_LAUNCH_START, &start, error); in sev_launch_start()
667 sev->fd = argp->sev_fd; in sev_launch_start()
1786 ret = __sev_issue_cmd(argp->sev_fd, SEV_CMD_RECEIVE_START, &start, in sev_receive_start()
1807 sev->fd = argp->sev_fd; in sev_receive_start()
2187 rc = __sev_issue_cmd(argp->sev_fd, SEV_CMD_SNP_GCTX_CREATE, &data, &argp->error); in snp_context_create()
2250 rc = __sev_issue_cmd(argp->sev_fd, SEV_CMD_SNP_LAUNCH_START, &start, &argp->error); in snp_launch_start()
2258 sev->fd = argp->sev_fd; in snp_launch_start()
2276 int sev_fd; member
2321 ret = __sev_issue_cmd(sev_populate_args->sev_fd, SEV_CMD_SNP_LAUNCH_UPDATE, in sev_gmem_post_populate()
2415 sev_populate_args.sev_fd = argp->sev_fd; in snp_launch_update()
[all …]
/linux/Documentation/virt/kvm/x86/
H A Damd-memory-encryption.rst64 __u32 sev_fd;
69 another struct containing arguments specific to command. The ``sev_fd``
155 KVM_SEV_LAUNCH_START requires the ``sev_fd`` field to be valid.
/linux/arch/x86/include/uapi/asm/
H A Dkvm.h758 __u32 sev_fd; member
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h758 __u32 sev_fd; member