Loading
scripts/vagrant: Define pci address for the nvme ctrl
This is done in order to avoid potential conflicts with default
addresses used by newer libvirt versions - these may not be in sync
with what we define through a qemu domain via qemuargs. Starting at
addr 0x10 should be safe. Without it, potential error may look like
this:
vm_action.rb:7:in `create': Call to virDomainCreateWithFlags failed:
internal error: qemu unexpectedly closed the monitor:
qemu-system-x86_64: -device {"driver":"cirrus-vga","id":"video0","bus":"pci.0","addr":"0x2"}:
PCI: slot 2 function 0 not available for cirrus-vga, in use by nvme,id=nvme-0
(Libvirt::Error)
Change-Id: Ic976f8d54469cfdb84bd5559142de54d243482f6
Signed-off-by:
Michal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22463
Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by:
Karol Latecki <karol.latecki@intel.com>
Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by:
Kamil Godzwon <kamilx.godzwon@intel.com>
Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>