Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/kvm/lib/x86/
H A Dsev.c40 assert(vm->arch.sev_fd == -1); in sev_vm_init()
41 vm->arch.sev_fd = open_sev_dev_path_or_exit(); in sev_vm_init()
53 assert(vm->arch.sev_fd == -1); in sev_es_vm_init()
54 vm->arch.sev_fd = open_sev_dev_path_or_exit(); in sev_es_vm_init()
H A Dprocessor.c1160 vm->arch.sev_fd = open_sev_dev_path_or_exit(); in kvm_init_vm_address_properties()
1164 vm->arch.sev_fd = -1; in kvm_init_vm_address_properties()
/linux-6.15/tools/testing/selftests/kvm/include/x86/
H A Dsev.h57 .sev_fd = (vm)->arch.sev_fd, \
H A Dkvm_util_arch.h20 int sev_fd; member
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dsev_init2_tests.c37 .sev_fd = open_sev_dev_path_or_exit(), in __sev_ioctl()
/linux-6.15/arch/x86/kvm/svm/
H A Dsev.c591 ret = __sev_issue_cmd(argp->sev_fd, SEV_CMD_LAUNCH_START, &start, error); in sev_launch_start()
611 sev->fd = argp->sev_fd; in sev_launch_start()
1707 ret = __sev_issue_cmd(argp->sev_fd, SEV_CMD_RECEIVE_START, &start, in sev_receive_start()
1728 sev->fd = argp->sev_fd; in sev_receive_start()
2150 rc = __sev_issue_cmd(argp->sev_fd, SEV_CMD_SNP_GCTX_CREATE, &data, &argp->error); in snp_context_create()
2209 rc = __sev_issue_cmd(argp->sev_fd, SEV_CMD_SNP_LAUNCH_START, &start, &argp->error); in snp_launch_start()
2216 sev->fd = argp->sev_fd; in snp_launch_start()
2234 int sev_fd; member
2285 ret = __sev_issue_cmd(sev_populate_args->sev_fd, SEV_CMD_SNP_LAUNCH_UPDATE, in sev_gmem_post_populate()
2386 sev_populate_args.sev_fd = argp->sev_fd; in snp_launch_update()
[all …]
/linux-6.15/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-6.15/arch/x86/include/uapi/asm/
H A Dkvm.h719 __u32 sev_fd; member
/linux-6.15/tools/arch/x86/include/uapi/asm/
H A Dkvm.h719 __u32 sev_fd; member