Skip to content

Commit

Permalink
Add_pcidevice: format cmd line to json
Browse files Browse the repository at this point in the history
  • Loading branch information
quanwenli committed Nov 21, 2023
1 parent ad60451 commit f43135d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions virttest/qemu_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,9 @@ def add_pcidevice(devices, host, params, device_driver="pci-assign",
" It only support following parameter:\n %s" %
(", ".join(fail_param), pcidevice_help))
LOG.warn(msg)
set_cmdline_format_by_cfg(dev,
self._get_cmdline_format_cfg(),
'nics')
devices.insert(dev)

def add_virtio_rng(devices, rng_params, parent_bus="pci.0"):
Expand Down

0 comments on commit f43135d

Please sign in to comment.