mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
tests: Enable PCI-segment tests
Enabled following hot-plug tests: - virtio-net - virtio-pmem - virtio-fs Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
parent
8c88b10384
commit
17b0f40154
@ -3231,7 +3231,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(all(not(feature = "mshv"), target_arch = "x86_64"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
fn test_virtio_fs_multi_segment_hotplug() {
|
fn test_virtio_fs_multi_segment_hotplug() {
|
||||||
test_virtio_fs(
|
test_virtio_fs(
|
||||||
true,
|
true,
|
||||||
@ -4930,7 +4930,6 @@ mod tests {
|
|||||||
_test_pmem_hotplug(None)
|
_test_pmem_hotplug(None)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_pmem_multi_segment_hotplug() {
|
fn test_pmem_multi_segment_hotplug() {
|
||||||
_test_pmem_hotplug(Some(15))
|
_test_pmem_hotplug(Some(15))
|
||||||
@ -5072,7 +5071,6 @@ mod tests {
|
|||||||
_test_net_hotplug(None)
|
_test_net_hotplug(None)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_net_multi_segment_hotplug() {
|
fn test_net_multi_segment_hotplug() {
|
||||||
_test_net_hotplug(Some(15))
|
_test_net_hotplug(Some(15))
|
||||||
|
Loading…
Reference in New Issue
Block a user