Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion crates/bhyve-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,10 @@ unsafe fn ioctl(
#[repr(u32)]
#[derive(Copy, Clone)]
pub enum ApiVersion {
/// Make vCPU sets a vmm-specific type, and let `VM_GET_CPUS` accept any
/// `cpusetsize` up to a page (illumos 18526/18527).
V19 = 19,

/// Initial support for CPU perf. counters on AMD
V18 = 18,

Expand Down Expand Up @@ -590,7 +594,7 @@ pub enum ApiVersion {
}
impl ApiVersion {
pub const fn current() -> Self {
Self::V18
Self::V19
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/bhyve-api/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ pub const VM_MAXCPU: usize = 32;
/// This is the VMM interface version which bhyve_api expects to operate
/// against. All constants and structs defined by the crate are done so in
/// terms of that specific version.
pub const VMM_CURRENT_INTERFACE_VERSION: u32 = 18;
pub const VMM_CURRENT_INTERFACE_VERSION: u32 = 19;
Loading