1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Index: vhost/src/vhost_kern/net.rs
===================================================================
--- vhost.orig/src/vhost_kern/net.rs
+++ vhost/src/vhost_kern/net.rs
@@ -76,6 +76,7 @@ mod tests {
use serial_test::serial;
#[test]
+ #[ignore = "requires vhost-net"]
#[serial]
fn test_net_new_device() {
let m = GuestMemoryMmap::<()>::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap();
@@ -87,6 +88,7 @@ mod tests {
}
#[test]
+ #[ignore = "requires vhost-net"]
#[serial]
fn test_net_is_valid() {
let m = GuestMemoryMmap::<()>::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap();
@@ -112,6 +114,7 @@ mod tests {
}
#[test]
+ #[ignore = "requires vhost-net"]
#[serial]
fn test_net_ioctls() {
let m = GuestMemoryMmap::<()>::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap();
Index: vhost/src/vhost_kern/vsock.rs
===================================================================
--- vhost.orig/src/vhost_kern/vsock.rs
+++ vhost/src/vhost_kern/vsock.rs
@@ -87,6 +87,7 @@ mod tests {
};
#[test]
+ #[ignore = "requires vhost-vsock"]
fn test_vsock_new_device() {
let m = GuestMemoryMmap::<()>::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap();
let vsock = Vsock::new(&m).unwrap();
@@ -97,6 +98,7 @@ mod tests {
}
#[test]
+ #[ignore = "requires vhost-vsock"]
fn test_vsock_is_valid() {
let m = GuestMemoryMmap::<()>::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap();
let vsock = Vsock::new(&m).unwrap();
@@ -121,6 +123,7 @@ mod tests {
}
#[test]
+ #[ignore = "requires vhost-vsock"]
fn test_vsock_ioctls() {
let m = GuestMemoryMmap::<()>::from_ranges(&[(GuestAddress(0), 0x10_0000)]).unwrap();
let vsock = Vsock::new(&m).unwrap();
|