Lines Matching refs:sev_populate_args
2271 struct sev_gmem_populate_args *sev_populate_args = opaque; in sev_gmem_post_populate() local
2277 if (WARN_ON_ONCE(sev_populate_args->type != KVM_SEV_SNP_PAGE_TYPE_ZERO && !src)) in sev_gmem_post_populate()
2313 fw_args.page_type = sev_populate_args->type; in sev_gmem_post_populate()
2315 ret = __sev_issue_cmd(sev_populate_args->sev_fd, SEV_CMD_SNP_LAUNCH_UPDATE, in sev_gmem_post_populate()
2316 &fw_args, &sev_populate_args->fw_error); in sev_gmem_post_populate()
2338 sev_populate_args->type == KVM_SEV_SNP_PAGE_TYPE_CPUID && in sev_gmem_post_populate()
2339 sev_populate_args->fw_error == SEV_RET_INVALID_PARAM) { in sev_gmem_post_populate()
2353 __func__, ret, sev_populate_args->fw_error, n_private); in sev_gmem_post_populate()
2363 struct sev_gmem_populate_args sev_populate_args = {0}; in snp_launch_update() local
2416 sev_populate_args.sev_fd = argp->sev_fd; in snp_launch_update()
2417 sev_populate_args.type = params.type; in snp_launch_update()
2421 sev_gmem_post_populate, &sev_populate_args); in snp_launch_update()
2423 argp->error = sev_populate_args.fw_error; in snp_launch_update()