Skip to content

Commit

Permalink
Merge pull request #5268 from Yingshun/vdpa_mix_ifaces
Browse files Browse the repository at this point in the history
vDPA: Add a locked memory case about mixed interfaces
  • Loading branch information
chloerh authored Nov 13, 2023
2 parents 0d6bfa1 + 8b69f13 commit de5a309
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- virtual_network.locked_memory.vdpa_interface.mixed_interfaces:
type = mem_lock_limit_multiple_mixed_interfaces
start_vm = no
func_supported_since_libvirt_ver = (8, 10, 0)
vm_attrs = {'max_mem_rt': 6291456, 'max_mem_rt_slots': 32, 'max_mem_rt_unit': 'K', 'current_mem':2, 'current_mem_unit': 'GiB','vcpu': 8, 'cpu': {'numa_cell': [{'id': '0', 'cpus': '0-3', 'memory': '1', 'unit': 'GiB'}, {'id': '1', 'cpus': '4-7', 'memory': '1', 'unit': 'GiB'}]}}
iface_dict = {"source": {'dev':'/dev/vhost-vdpa-0'}}
iface_dict2 = {"source": {'dev':'/dev/vhost-vdpa-1'}}
only x86_64

variants test_scenario:
- cold_plug:
hostdev_dict = {'mode': 'subsystem', 'type': 'pci', 'managed': 'yes'}
- hot_plug:

0 comments on commit de5a309

Please sign in to comment.