120 virtual ~vcpu() =
default;
220 {
return m_is_running; }
230 {
return m_is_initialized; }
240 {
return m_id == 0; }
289 std::unique_ptr<debug_ring> m_debug_ring;
292 bool m_is_initialized;
virtual bool is_running()
int64_t unsigned long void * data
virtual void run(user_data *data=nullptr)
void uint64_t uint64_t uint64_t *rdx noexcept
virtual void init(user_data *data=nullptr)
virtual bool is_host_vm_vcpu()
constexpr const auto string
virtual bool is_bootstrap_vcpu()
constexpr const auto reserved
virtual void hlt(user_data *data=nullptr)
virtual bool is_guest_vm_vcpu()
constexpr const auto guest_mask
vcpu(vcpuid::type id, std::unique_ptr< debug_ring > dr=nullptr)
vcpu & operator=(vcpu &&)=default
virtual vcpuid::type id() const
virtual void write(const std::string &str) noexcept
virtual bool is_initialized()
virtual void fini(user_data *data=nullptr)