mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 13:05:45 +00:00
ci: AArch64: Enable virtio-fs integration test
This commit enables the virtio-fs related integration test cases for AArch64. Note that to run virtio-fs cases, the host kernel should be newer than v5.5. Fixes: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/1516 Signed-off-by: Henry Wang <henry.wang@arm.com>
This commit is contained in:
parent
77ba041362
commit
d5863caa4d
@ -1550,7 +1550,9 @@ mod tests {
|
|||||||
|
|
||||||
// ACPI is not built with mmio, hence we can't test the resize
|
// ACPI is not built with mmio, hence we can't test the resize
|
||||||
// feature for mmio.
|
// feature for mmio.
|
||||||
|
// ACPI is currently x86_64 only, we skip this for AArch64.
|
||||||
#[cfg(not(feature = "mmio"))]
|
#[cfg(not(feature = "mmio"))]
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
{
|
{
|
||||||
guest
|
guest
|
||||||
.ssh_command(
|
.ssh_command(
|
||||||
@ -2620,31 +2622,26 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
fn test_virtio_fs_dax_on_default_cache_size() {
|
fn test_virtio_fs_dax_on_default_cache_size() {
|
||||||
test_virtio_fs(true, None, "none", &prepare_virtiofsd, false)
|
test_virtio_fs(true, None, "none", &prepare_virtiofsd, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
fn test_virtio_fs_dax_on_cache_size_1_gib() {
|
fn test_virtio_fs_dax_on_cache_size_1_gib() {
|
||||||
test_virtio_fs(true, Some(0x4000_0000), "none", &prepare_virtiofsd, false)
|
test_virtio_fs(true, Some(0x4000_0000), "none", &prepare_virtiofsd, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
fn test_virtio_fs_dax_off() {
|
fn test_virtio_fs_dax_off() {
|
||||||
test_virtio_fs(false, None, "none", &prepare_virtiofsd, false)
|
test_virtio_fs(false, None, "none", &prepare_virtiofsd, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
fn test_virtio_fs_dax_on_default_cache_size_w_vhost_user_fs_daemon() {
|
fn test_virtio_fs_dax_on_default_cache_size_w_vhost_user_fs_daemon() {
|
||||||
test_virtio_fs(true, None, "none", &prepare_vhost_user_fs_daemon, false)
|
test_virtio_fs(true, None, "none", &prepare_vhost_user_fs_daemon, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
fn test_virtio_fs_dax_on_cache_size_1_gib_w_vhost_user_fs_daemon() {
|
fn test_virtio_fs_dax_on_cache_size_1_gib_w_vhost_user_fs_daemon() {
|
||||||
test_virtio_fs(
|
test_virtio_fs(
|
||||||
true,
|
true,
|
||||||
@ -2656,7 +2653,6 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
fn test_virtio_fs_dax_off_w_vhost_user_fs_daemon() {
|
fn test_virtio_fs_dax_off_w_vhost_user_fs_daemon() {
|
||||||
test_virtio_fs(false, None, "none", &prepare_vhost_user_fs_daemon, false)
|
test_virtio_fs(false, None, "none", &prepare_vhost_user_fs_daemon, false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user