aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0003-lib.sh-AArch64-virt-install-Use-virtio-net-pci.patch
AgeCommit message (Collapse)AuthorFilesLines
2017-07-25p/fuel: virtio: min libvirt 3.x and Qemu 2.6Alexandru Avadanii1-80/+0
Expect host virtualization tools (libvirt, qemu) to be recent enough to support modern virtio-net-pci out of box as a default. This allows us to drop some changes and a hack - see [1]: - "model=virtio" implies "model=virtio-net-pci" on libvirt 3.x; - "model=virtio" puts each NIC on a seperate bus, all work now; - modern virtio is automatically used when NIC is on PCIe bus; Revert "p/fuel: lib.sh: Revert to virtio-mmio for PXE net" This reverts commit 4f72e6be436badd2ded546424ec4a304cd6ce5d3. [1] https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg07594.html Change-Id: Iaa7af63846c9d9dca5b7a9be5efa54f8cd56242e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-21p/fuel: lib.sh: Use host-passthrough CPU modelAlexandru Avadanii1-1/+1
Fix libvirt 3.x compatibility issues by explicitly setting the CPU model to host-passthrough via virt-install. Change-Id: I0e52cbabb0bf42b36dd2b9b5045dc18878e21884 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-18p/fuel: Rebase after --noautoconsole got upstreamAlexandru Avadanii1-3/+4
Change-Id: I99b6052a26169888c137f874889872107c7df931 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-16p/fuel: lib.sh: Revert to virtio-mmio for PXE netAlexandru Avadanii1-6/+7
virtio-pci-net seems to have issues with more than three (3) interfaces attached to the same guest, even on separate PCI buses. To bypass this limitation, for now, we will use virtio-mmio for PXE, and virtio-pci-net for the rest. This keeps the guest eth order consistent and predictable, and allows udev to assign predictable interface names for 3 out of 4 guest network interfaces (enp2sX), thus ensuring PXE will always get the "eth0" designator. Change-Id: I0d0cb8148cd87313e67f8f27793eb2414c1e90e3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-14p/fuel: Rebase after upstream vCPU count reworkAlexandru Avadanii1-3/+3
Change-Id: Ic4066acc2716e5f3f497fba9799691e0258d3011 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-11MCP: patches: AArch64: Add initial supportAlexandru Avadanii1-0/+78
- p/fuel: classes: AArch64: virtio-pci-net sync - p/reclass-system-salt-model: Add Armband repos - mcp/config: AArch64: Use UEFI arm64 image Also, allow removal of VMs booted via guest UEFI (OVMF or AAVMF). While at it, bump default vCPU number from 2 to 6. - lib.sh: AArch64: Use VGA video mode for guests On AArch64, there is no Cirrus video, so use VGA mode instead. For now, we install vgabios package no matter the arch, although it is only used on AArch64. On Debian systems, also fix a missing link for vgabios-stdvga.bin. Based on previous Armband work from [1]. - lib.sh: AArch64: virt-install: Use virtio-net-pci AArch64 virt tools (i.e. libvirt) default to "virtio-mmio", instead of "virtio-net-pci", at least before libvirt 3.x (see [2]). Without PCI bus info, we can't really enforce a specific order for the guest ethernet devices. Moreover, predictable network interface naming is out of the question with virtio-mmio, as there is no bus information to rely on. Therefore we will enforce "virtio-net-pci" on AArch64, instead of the default "virtio" (which translates into "virtio-mmio" currently). - salt.sh, user-data: Add Saltstack arm64 repo - salt.sh: Clone armband repo, apply patches from it - classes: virtual: AArch64: virtio-pci-net sync Since AArch64 will be using virtio-net-pci NIC model for guests, predictable interface naming yields a slightly different scheme. Update all configuration to reflect this. FIXME: - Use https for fetching Armband GPG keys! - Revise the patching mechanism, make things more dynamic. [1] https://github.com/opnfv/armband/blob/danube.2.0/patches/fuel-library/ arm64-bug-fixes/0002-Install-vgabios-and-link-for-aarch64.patch [2] https://www.redhat.com/archives/libvir-list/2016-August/msg00931.html Change-Id: If5aae22066f75732652201a78357c4931438d58d Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com> Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>