Skip to content

Commit c62dd41

Browse files
committed
Rename to mshv_ioctls and mshv_bindings
Signed-off-by: Doru Blânzeanu <[email protected]>
1 parent 2e840b3 commit c62dd41

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

src/hyperlight_host/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ lazy_static = "1.4.0"
7777
[target.'cfg(unix)'.dependencies]
7878
kvm-bindings = { version = "0.14", features = ["fam-wrappers"], optional = true }
7979
kvm-ioctls = { version = "0.24", optional = true }
80-
mshv-bindings3 = { package="mshv-bindings", version = "0.6.1", optional = true }
81-
mshv-ioctls3 = { package="mshv-ioctls", version = "0.6.1", optional = true}
80+
mshv-bindings = { version = "0.6.1", optional = true }
81+
mshv-ioctls = { version = "0.6.1", optional = true}
8282

8383
[dev-dependencies]
8484
uuid = { version = "1.18.1", features = ["v4"] }
@@ -133,7 +133,7 @@ crashdump = ["dep:chrono"]
133133
trace_guest = ["dep:opentelemetry", "dep:tracing-opentelemetry", "dep:hyperlight-guest-tracing", "hyperlight-common/trace_guest"]
134134
mem_profile = [ "trace_guest", "dep:framehop", "dep:fallible-iterator", "hyperlight-common/mem_profile" ]
135135
kvm = ["dep:kvm-bindings", "dep:kvm-ioctls"]
136-
mshv3 = ["dep:mshv-bindings3", "dep:mshv-ioctls3"]
136+
mshv3 = ["dep:mshv-bindings", "dep:mshv-ioctls"]
137137
# This enables easy debug in the guest
138138
gdb = ["dep:gdbstub", "dep:gdbstub_arch"]
139139
fuzzing = ["hyperlight-common/fuzzing"]

src/hyperlight_host/src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616

1717
#[cfg(mshv3)]
18-
extern crate mshv_ioctls3 as mshv_ioctls;
18+
extern crate mshv_ioctls;
1919

2020
use std::array::TryFromSliceError;
2121
use std::cell::{BorrowError, BorrowMutError};
@@ -379,7 +379,7 @@ impl HyperlightError {
379379
HyperlightError::VmmSysError(_) => false,
380380
#[cfg(kvm)]
381381
HyperlightError::KVMError(_) => false,
382-
#[cfg(mshv)]
382+
#[cfg(mshv3)]
383383
HyperlightError::MSHVError(_) => false,
384384
#[cfg(gdb)]
385385
HyperlightError::TranslateGuestAddress(_) => false,

src/hyperlight_host/src/hypervisor/gdb/mshv_debug.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ limitations under the License.
1515
*/
1616

1717
#[cfg(mshv3)]
18-
extern crate mshv_bindings3 as mshv_bindings;
18+
extern crate mshv_bindings;
1919
#[cfg(mshv3)]
20-
extern crate mshv_ioctls3 as mshv_ioctls;
20+
extern crate mshv_ioctls;
2121

2222
use std::collections::HashMap;
2323

src/hyperlight_host/src/hypervisor/hyperv_linux.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
extern crate mshv_bindings3 as mshv_bindings;
18-
extern crate mshv_ioctls3 as mshv_ioctls;
17+
extern crate mshv_bindings;
18+
extern crate mshv_ioctls;
1919

2020
use std::fmt::{Debug, Formatter};
2121
use std::sync::atomic::{AtomicBool, AtomicU64, Ordering};

src/hyperlight_host/src/hypervisor/regs/fpu.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616
#[cfg(mshv3)]
17-
extern crate mshv_bindings3 as mshv_bindings;
17+
extern crate mshv_bindings;
1818
#[cfg(mshv3)]
19-
extern crate mshv_ioctls3 as mshv_ioctls;
19+
extern crate mshv_ioctls;
2020

2121
#[cfg(target_os = "windows")]
2222
use std::collections::HashSet;

src/hyperlight_host/src/hypervisor/regs/special_regs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ limitations under the License.
1515
*/
1616

1717
#[cfg(mshv3)]
18-
extern crate mshv_bindings3 as mshv_bindings;
18+
extern crate mshv_bindings;
1919
#[cfg(mshv3)]
20-
extern crate mshv_ioctls3 as mshv_ioctls;
20+
extern crate mshv_ioctls;
2121

2222
#[cfg(target_os = "windows")]
2323
use std::collections::HashSet;

src/hyperlight_host/src/hypervisor/regs/standard_regs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ limitations under the License.
1515
*/
1616

1717
#[cfg(mshv3)]
18-
extern crate mshv_bindings3 as mshv_bindings;
18+
extern crate mshv_bindings;
1919
#[cfg(mshv3)]
20-
extern crate mshv_ioctls3 as mshv_ioctls;
20+
extern crate mshv_ioctls;
2121

2222
#[cfg(kvm)]
2323
use kvm_bindings::kvm_regs;

src/hyperlight_host/src/mem/memory_region.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ limitations under the License.
1515
*/
1616

1717
#[cfg(mshv3)]
18-
extern crate mshv_bindings3 as mshv_bindings;
18+
extern crate mshv_bindings;
1919
#[cfg(mshv3)]
20-
extern crate mshv_ioctls3 as mshv_ioctls;
20+
extern crate mshv_ioctls;
2121

2222
use std::ops::Range;
2323

0 commit comments

Comments
 (0)