]> git.proxmox.com Git - qemu-server.git/blobdiff - test/MigrationTest/Shared.pm
check local resources: extend for mapped resources
[qemu-server.git] / test / MigrationTest / Shared.pm
index bd4d20c0256c67122e90d31931f495e454938e23..aa7203d1e0c50e69c34d190091ea34ee28f65d56 100644 (file)
@@ -76,6 +76,20 @@ $cluster_module->mock(
     },
 );
 
+our $mapping_usb_module = Test::MockModule->new("PVE::Mapping::USB");
+$mapping_usb_module->mock(
+    config => sub {
+       return {};
+    },
+);
+
+our $mapping_pci_module = Test::MockModule->new("PVE::Mapping::PCI");
+$mapping_pci_module->mock(
+    config => sub {
+       return {};
+    },
+);
+
 our $ha_config_module = Test::MockModule->new("PVE::HA::Config");
 $ha_config_module->mock(
     vm_is_ha_managed => sub {