diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-07-29 00:24:04 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-01 20:06:16 +0200 |
commit | c5bfbf1f4bababbbf885414d0c6bdd9f01cae900 (patch) | |
tree | 9867236392f739624feaadbc62b49e1d4103a69c /patches/opnfv-fuel/0003-lib.sh-Use-host-passthrough-when-spawning-VMs.patch | |
parent | e598628cf9603a3484d574ab5cb0c99311e2ddff (diff) |
p/fuel: Rebase, drop upstream clone
Now that Fuel@OPNFV supports submodule patching again, bring back
`make fuel-patches-import`.
Change-Id: Ic6f9870d94b6d302f1ebcdc21d54a83f62910af9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/opnfv-fuel/0003-lib.sh-Use-host-passthrough-when-spawning-VMs.patch')
-rw-r--r-- | patches/opnfv-fuel/0003-lib.sh-Use-host-passthrough-when-spawning-VMs.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/patches/opnfv-fuel/0003-lib.sh-Use-host-passthrough-when-spawning-VMs.patch b/patches/opnfv-fuel/0003-lib.sh-Use-host-passthrough-when-spawning-VMs.patch deleted file mode 100644 index c6f8af50..00000000 --- a/patches/opnfv-fuel/0003-lib.sh-Use-host-passthrough-when-spawning-VMs.patch +++ /dev/null @@ -1,29 +0,0 @@ -From: Alexandru Avadanii <Alexandru.Avadanii@enea.com> -Date: Fri, 21 Jul 2017 19:59:33 +0200 -Subject: [PATCH] lib.sh: Use host-passthrough when spawning VMs - -virsh defaults to using "host-model" instead of "host-passthrough", -which not only might lead to a small performance hit on x86, it is -also causing compatibility issues with libvirt 3.x. - -Address this by explicitly requesting "host-passthrough" as the -CPU model for virt-install. - -Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> ---- - mcp/scripts/lib.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh -index b75e47e..55df750 100644 ---- a/mcp/scripts/lib.sh -+++ b/mcp/scripts/lib.sh -@@ -67,7 +67,7 @@ create_vms() { - - # create vms with specified options - for node in "${vnodes[@]}"; do -- virt-install --name ${node} --ram ${vnodes_ram[$node]} --vcpus ${vnodes_vcpus[$node]} --cpu host --accelerate \ -+ virt-install --name ${node} --ram ${vnodes_ram[$node]} --vcpus ${vnodes_vcpus[$node]} --cpu host-passthrough --accelerate \ - --network network:pxe,model=virtio \ - --network network:mgmt,model=virtio \ - --network network:internal,model=virtio \ |