Home
last modified time | relevance | path

Searched refs:sev_ioctl (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dsev_migrate_tests.c39 static void sev_ioctl(int vm_fd, int cmd_id, void *data) in sev_ioctl() function
57 sev_ioctl(vm->fd, es ? KVM_SEV_ES_INIT : KVM_SEV_INIT, NULL); in sev_vm_create()
62 sev_ioctl(vm->fd, KVM_SEV_LAUNCH_START, &start); in sev_vm_create()
64 sev_ioctl(vm->fd, KVM_SEV_LAUNCH_UPDATE_VMSA, NULL); in sev_vm_create()
184 sev_ioctl(sev_es_vm_no_vmsa->fd, KVM_SEV_ES_INIT, NULL); in test_sev_migrate_parameters()
266 sev_ioctl(vm_fd, KVM_SEV_GUEST_STATUS, &status); in verify_mirror_allowed_cmds()
284 sev_ioctl(dst_vm->fd, KVM_SEV_LAUNCH_UPDATE_VMSA, NULL); in test_sev_mirror()
/openbmc/qemu/target/i386/
H A Dsev.c245 sev_ioctl(int fd, int cmd, void *data, int *error) in sev_ioctl() function
707 ret = sev_ioctl(sev_common->sev_fd, KVM_SEV_GET_ATTESTATION_REPORT, in sev_get_attestation_report()
776 rc = sev_ioctl(sev_common->sev_fd, KVM_SEV_SNP_LAUNCH_START, in sev_snp_launch_start()
920 ret = sev_ioctl(SEV_COMMON(sev_snp_guest)->sev_fd, in sev_snp_launch_update()
994 ret = sev_ioctl(sev_common->sev_fd, KVM_SEV_LAUNCH_UPDATE_DATA, in sev_launch_update_data()
1042 ret = sev_ioctl(sev_common->sev_fd, KVM_SEV_LAUNCH_MEASURE, in sev_launch_get_measure()
1054 ret = sev_ioctl(sev_common->sev_fd, KVM_SEV_LAUNCH_MEASURE, in sev_launch_get_measure()
1110 ret = sev_ioctl(sev_common->sev_fd, KVM_SEV_LAUNCH_FINISH, 0, in sev_launch_finish()
1336 ret = sev_ioctl(sev_common->sev_fd, KVM_SEV_SNP_LAUNCH_FINISH, in sev_snp_launch_finish()
1520 ret = sev_ioctl(sev_common->sev_fd, cmd, NULL, &fw_error); in sev_common_kvm_init()
[all …]
/openbmc/linux/drivers/crypto/ccp/
H A Dsev-dev.c1073 static long sev_ioctl(struct file *file, unsigned int ioctl, unsigned long arg) in sev_ioctl() function
1139 .unlocked_ioctl = sev_ioctl,