/* * Holds the relevant data for maintaining the vcpu state completely at hyp.
*/ struct pkvm_hyp_vcpu { struct kvm_vcpu vcpu;
/* Backpointer to the host's (untrusted) vCPU instance. */ struct kvm_vcpu *host_vcpu;
/* * If this hyp vCPU is loaded, then this is a backpointer to the * per-cpu pointer tracking us. Otherwise, NULL if not loaded.
*/ struct pkvm_hyp_vcpu **loaded_hyp_vcpu;
};
/* * Holds the relevant data for running a protected vm.
*/ struct pkvm_hyp_vm { struct kvm kvm;
/* Backpointer to the host's (untrusted) KVM instance. */ struct kvm *host_kvm;
/* The guest's stage-2 page-table managed by the hypervisor. */ struct kvm_pgtable pgt; struct kvm_pgtable_mm_ops mm_ops; struct hyp_pool pool;
hyp_spinlock_t lock;
/* Array of the hyp vCPU structures for this VM. */ struct pkvm_hyp_vcpu *vcpus[];
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.