Home
last modified time | relevance | path

Searched refs:sev_cmd (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/x86/kvm/svm/
Dsev.c1854 struct kvm_sev_cmd sev_cmd; in sev_mem_enc_ioctl() local
1863 if (copy_from_user(&sev_cmd, argp, sizeof(struct kvm_sev_cmd))) in sev_mem_enc_ioctl()
1870 !is_cmd_allowed_from_mirror(sev_cmd.id)) { in sev_mem_enc_ioctl()
1875 switch (sev_cmd.id) { in sev_mem_enc_ioctl()
1883 r = sev_guest_init(kvm, &sev_cmd); in sev_mem_enc_ioctl()
1886 r = sev_launch_start(kvm, &sev_cmd); in sev_mem_enc_ioctl()
1889 r = sev_launch_update_data(kvm, &sev_cmd); in sev_mem_enc_ioctl()
1892 r = sev_launch_update_vmsa(kvm, &sev_cmd); in sev_mem_enc_ioctl()
1895 r = sev_launch_measure(kvm, &sev_cmd); in sev_mem_enc_ioctl()
1898 r = sev_launch_finish(kvm, &sev_cmd); in sev_mem_enc_ioctl()
[all …]
/linux-6.6.21/include/linux/
Dpsp-sev.h33 enum sev_cmd { enum