Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtcontainers: qemu: Add proper support for virt machine type
The virt machine type provided by the NEMU project needs to be supported the same way we support pc and q35 machine types. First, this patch takes care of adding the hotpluggable block device capability to this machine type, this way when using devicemapper, we prevent the code from falling back on using 9pfs instead of SCSI. It also add one or several bridges to this machine type, as the code is tightly coupled to the fact that a bridge is required for PCI hotplug. At last, it changes the name of the PCI host bridge (main bus), to use "pcie.0". The default set up from pc machine type "pci.0" is not suitable for this machine type. Fixes kata-containers#804 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
- Loading branch information