27 m_debug_ring(
std::move(dr)),
29 m_is_initialized(false)
32 throw std::invalid_argument(
"invalid vcpuid");
35 m_debug_ring = std::make_unique<debug_ring>(
id);
43 m_is_initialized =
true;
54 m_is_initialized =
false;
75 { m_debug_ring->write(
str); }
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)
constexpr const auto string
constexpr const auto reserved
virtual void hlt(user_data *data=nullptr)
vcpu(vcpuid::type id, std::unique_ptr< debug_ring > dr=nullptr)
virtual vcpuid::type id() const
virtual void write(const std::string &str) noexcept
virtual void fini(user_data *data=nullptr)