Lines Matching refs:SevCommonState

45 OBJECT_DECLARE_TYPE(SevCommonState, SevCommonStateClass, SEV_COMMON)
91 struct SevCommonState { struct
118 bool (*build_kernel_loader_hashes)(SevCommonState *sev_common, argument
122 int (*launch_start)(SevCommonState *sev_common);
123 void (*launch_finish)(SevCommonState *sev_common);
124 int (*launch_update_data)(SevCommonState *sev_common, hwaddr gpa, uint8_t *ptr, size_t len);
139 SevCommonState parent_obj;
151 SevCommonState parent_obj;
292 sev_check_state(const SevCommonState *sev_common, SevState state) in sev_check_state()
299 sev_set_guest_state(SevCommonState *sev_common, SevState new_state) in sev_set_guest_state()
401 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_get_cbit_position()
409 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_get_reduced_phys_bits()
417 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_get_info()
577 SevCommonState *sev_common; in sev_get_capabilities()
679 SevCommonState *sev_common; in sev_get_attestation_report()
763 sev_snp_launch_start(SevCommonState *sev_common) in sev_snp_launch_start()
792 sev_launch_start(SevCommonState *sev_common) in sev_launch_start()
981 sev_launch_update_data(SevCommonState *sev_common, hwaddr gpa, in sev_launch_update_data()
1022 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_launch_get_measure()
1105 sev_launch_finish(SevCommonState *sev_common) in sev_launch_finish()
1143 sev_snp_launch_update_data(SevCommonState *sev_common, hwaddr gpa, in sev_snp_launch_update_data()
1304 sev_snp_launch_finish(SevCommonState *sev_common) in sev_snp_launch_finish()
1362 SevCommonState *sev_common = opaque; in sev_vm_state_change()
1385 SevCommonState *sev_common = SEV_COMMON(cg); in sev_kvm_type()
1442 SevCommonState *sev_common = SEV_COMMON(cgs); in sev_common_kvm_init()
1613 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_encrypt_flash()
1645 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_inject_launch_secret()
1797 SevCommonState *sev_common = SEV_COMMON( in sev_es_set_reset_vector()
1825 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_es_save_reset_vector()
1938 static bool sev_snp_build_kernel_loader_hashes(SevCommonState *sev_common, in sev_snp_build_kernel_loader_hashes()
1954 static bool sev_build_kernel_loader_hashes(SevCommonState *sev_common, in sev_build_kernel_loader_hashes()
1998 SevCommonState *sev_common = SEV_COMMON(MACHINE(qdev_get_machine())->cgs); in sev_add_kernel_loader_hashes()
2069 SevCommonState *sev_common = SEV_COMMON(obj); in sev_common_instance_init()
2086 .instance_size = sizeof(SevCommonState),