68 virtual std::unique_ptr<Domain>
attach_domain(
const std::string& domain_name) = 0;
Information about a domain.
Definition Hypervisor.hh:32
uint32_t domain_id
The numeric idenifier of the domain.
Definition Hypervisor.hh:42
std::string domain_name
The name of the domain.
Definition Hypervisor.hh:37
Abstract class for managing a hypervisor.
Definition Hypervisor.hh:48
virtual ~Hypervisor()
Destroy the instance.
virtual std::string library_version() const =0
Gets the version of the hypervisor library as a string.
virtual std::string hypervisor_patch_version() const =0
Gets the version of the hypervisor's IntroVirt patch as a string.
virtual std::string hypervisor_name() const =0
Gets the name of the hypervisor.
static std::unique_ptr< Hypervisor > instance()
Get an instance of the hypervisor.
virtual std::vector< DomainInformation > get_running_domains()=0
Get information about the running domains.
virtual std::unique_ptr< Domain > attach_domain(const std::string &domain_name)=0
Attach to a Domain based on name.
virtual std::string hypervisor_version() const =0
Gets the version of the hypervisor as a string.
Hypervisor()
Construct a new Hypervisor object.
virtual std::string library_name() const =0
Gets the name of the library used for interacting with the hypervisor.
virtual std::unique_ptr< Domain > attach_domain(uint32_t domain_id)=0
Attach to a Domain based on numeric identifier.
Core IntroVirt classes.
Definition Cr0.hh:20