summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-06-06Move quirks out of build scriptDonald Dugger2-45/+44
Due to expediencyh concerns some quirk code was placed in the build script in order to get the Brahmaputra release out on time. These quirks don't belong in the script itself and, now that there is a mechanisms to applly arbitrary patch files during the build script, this patch moves that quirk code out to the separate patch file area. Upstream status - NA Change-Id: Ib8100eef00009bbaf0e16b28849821ef5878f9f5 Signed-off-by: Donald Dugger <n0ano@n0ano.com>
2016-06-06Merge "Update the files in fuel-plugin to match the upstream"Don Dugger4-8/+9
2016-06-03Update the files in fuel-plugin to match the upstreamdavidjchou4-8/+9
Since the upstream kvmfornfv kernel version and OVS changed, updated the related files in fuel-plugin, so it can build fuel-plugin-kvm with latest kvmfornfv kernel and OVS module. Upstream status: kvmfornfv kernel 4.4.6-rt14nfv Change-Id: I6a7c312f7527acae4d2de64c7b43da4fbec41504 Signed-off-by: davidjchou <david.j.chou@intel.com>
2016-06-03Merge "These changes are the raw update to qemu-2.6."Don Dugger4070-91121/+252483
2016-05-20Remove config file changes from build scriptDonald Dugger1-692/+0
These changes are no longer needed as they are now (correctly) incorporated in the actual config file in the source tree. Upstream status: NA Change-Id: Ide33453789338ba3f7692ca6108de89a4ac3c222 Signed-off-by: Don Dugger <n0ano@n0ano.com>
2016-05-19Merge "Build uio as module to fix initialization of i40e devices in bare ↵Jiang, Yunhong1-1/+1
metal execution of dpdk-16.04."
2016-05-18These changes are the raw update to qemu-2.6.José Pekkarinen4070-91121/+252483
Collission happened in the following patches: migration: do cleanup operation after completion(738df5b9) Bug fix.(1750c932f86) kvmclock: add a new function to update env->tsc.(b52baab2) The code provided by the patches was already in the upstreamed version. Change-Id: I3cc11841a6a76ae20887b2e245710199e1ea7f9a Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2016-05-13Add patch to Linux 4.4 to support OVSDonald Dugger2-1/+260
Given that OVS doesn't support Linux 4.4 yet we need to add a patch to the OVS sources so that we can build a 4.4 version of the OVS loadable kernel module that works with the RT Linux 4.4 kernel used in OPNFV. The directory `patches/ovs' contains patches (currently only one) that are applied against the OVS tree. The Fuel build script is modified to apply all of the patches in this directory to the OVS tree. Then a working OVS KLM is created that is then inserted into the RT kernel DEB package so that the end result is an RT kernel that supports OVS. Upstream status: NA Change-Id: I361f92526fb4bcafbeab9ce21570202f4aad1632 Signed-off-by: Don Dugger <n0ano@n0ano.com>
2016-05-13Build uio as module to fix initialization of i40e devicesJosé Pekkarinen1-1/+1
in bare metal execution of dpdk-16.04. Upstream: NA. Change-Id: Ia98461b15348a667c4989dfe1399f0c5bc0f0c12 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2016-05-05Merge "Reverted execution attribute of shell script files"Don Dugger3-0/+0
2016-05-05Merge "Add kernel modules required for OPNFV"Jiang, Yunhong1-130/+732
2016-05-03Reverted execution attribute of shell script filesdavidjchou3-0/+0
Reverted execution attribute of shell script files in fuel-plugin sub-dir. The execution attribute was lost when these files were commited inside fuel-plugin sub-dir, and the executtion attribute of these shell script files is necessary to the build of fuel-plugin-kvm. Upstream status: NA Change-Id: I0ac060a27c4a1570bff17864aa7db5b6b9edf732 Signed-off-by: davidjchou <david.j.chou@intel.com>
2016-05-03Create fuel kvm pluginGuo Ruijing13-0/+1303
Upstream status: NA In Brahmaputra release, KVM plugin functionality was bundled inside the fuel-plugin-qemu. In order for easy maintenance, the KVM plugin functionality would be separated from fuel-plugin-qemu and moved into an independent fuel-plugin-kvm and keep the source code here starting from Colorado release. Change-Id: Id89069234a4529cca40f1887e2d947378f928dd2 Signed-off-by: davidjchou <david.j.chou@intel.com> Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-04-25Change PTL to raghuveer.reddy@intel.comAric Gardner1-2/+3
Change-Id: Id67d11079e738bc4180c395b86d56cfc81c3770f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-04-25Add kernel modules required for OPNFVDon Dugger1-130/+732
The OPNFV environment requires many kernel modules that are not part of the default RT kernel environment. This patch adds those modules back in. Upstream status: NA Change-Id: Id4e63f3d2dd3e19614e9e080adf1cdae9ab26ee1
2016-04-22Update opnfv kernel config for the new kernel 4.4.6-rt14.José Pekkarinen1-67/+237
This config file is based in the previous one, adding the changes needed in the config file for this new kernel version. It has been added in kernel support for CephFS. Upstream: NA. Change-Id: I1de8b4678bdfa81f4fc204f4a02d11f11cb5ae87 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2016-04-13These changes are the raw update to linux-4.4.6-rt14. Kernel sourcesJosé Pekkarinen20902-780094/+2132422
are taken from kernel.org, and rt patch from the rt wiki download page. During the rebasing, the following patch collided: Force tick interrupt and get rid of softirq magic(I70131fb85). Collisions have been removed because its logic was found on the source already. Change-Id: I7f57a4081d9deaa0d9ccfc41a6c8daccdee3b769 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2016-03-01Remove yang.z.zhang@intel.com as committerAric Gardner1-1/+1
Add jose.pekkarinen@nokia.com as committer RT Ticket: 19272, 19265 Change-Id: Ia49e92674f2da2feea53e08231bb4fdd6b54ca88 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-02-10Added license informationbrahmaputra.1.0stable/brahmaputraraghu4-1/+17
Upstream Status : Not Applicable For detalied license information please refer to https://wiki.opnfv.org/documentation#licencing_your_documentation Change-Id: Iacba57a9162b25abc474dbac236b4dee5f27544c
2016-01-28Merge "Remove the code to apply yardstick patch"Don Dugger1-3/+0
2016-01-28Fix typos in the documentation.José Pekkarinen3-6/+6
This is a candidate for the Brahmaputra branch. Change-Id: Idbe41ac77f1aae902cd00af4bc9a0e3532f4284a Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2016-01-19Add the live migration docuementYunhong Jiang5-1/+109
The document to share the fast live migration environment setup and test method. Change-Id: Icd616f58e2ea39d101fcebc1d760178151d8629f Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com> Signed-off-by: Liang Li <liang.z.li@intel.com> Signed-off-by: Raghuveer Reddy <raghuveer.reddy@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-19Add the documentation for kvm4nfv projectYunhong Jiang6-150/+288
Adding documentation to kvm4nfv project based on https://wiki.opnfv.org/documentation/tools and the contents mostly comes from https://wiki.opnfv.org/nfv-kvm, https://wiki.opnfv.org/nfv-kvm-tuning and https://wiki.opnfv.org/nfv-kvm-test. Change-Id: If321221724ec9b76db065af7cdab97ce981be740 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-15Remove the code to apply yardstick patchYunhong Jiang1-3/+0
The patch to run cyclictest on baremetal (https://gerrit.opnfv.org/gerrit/#/c/3633/) has been merged, thus we don't need apply the patch anymore. Remove it. Change-Id: I7058f9d6c3e873b56be52a0e886fe460506a9911 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-06Merge topic 'yardstick-integ-v2'Don Dugger4-0/+328
* changes: Cyclictest invokation script Add the yardstick invokation script
2016-01-06Merge "Build vfio-pci as a module, as dpdk tools expect it to be."Don Dugger1-2/+2
2016-01-06Merge topic 'yardstick-integ-v2'Don Dugger5-0/+253
* changes: A script to launch real time guest Script to create the guest image Script to create the rt-tests rpm
2016-01-06Merge "Add guest environment setup scripts"Don Dugger2-0/+89
2016-01-06Fix for KVMFORNFV-23(Fuel installed KVM kernel blank screens on boot).José Pekkarinen1-2/+2
The configuration of the kernel enables the framebuffer console without any framebuffer selected other than i915. Adding the VESA compliant framebuffer should fix this issue. Change-Id: Icc384e05774e1de20985aeb19dfef25ae2431bb6 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2016-01-05Cyclictest invokation scriptYunhong Jiang3-0/+180
We run the cyclictest through yardstick, which will help to setup the environment. Environment setup scripts are copied to the yardstick docker images. A yardstick cyclictest yaml file are also used. Change-Id: Iacf1299a38c3c81a08fd5fdbbf64c5a57f30c38b Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05A script to launch real time guestYunhong Jiang1-0/+45
Launch real time guest need special options like lock memory etc. A script is used to achieved this. We invoke the qemu utility directly instead of going through middle layer like libvirt, to get better controll. Change-Id: Ia6ad7313463e2f858516bddd4a4b58e95d8c943e Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Add the yardstick invokation scriptYunhong Jiang1-0/+148
This script does the real yardstick works. It downloads the yardstick code, and run the cyclictest test case. This scripts is copied by the cyclictest.sh to the container image and is executed from the yardstick container. It's based on a script from QiLiang when discussing the integration with yardstick. Change-Id: I5920a21401a3e442d5f4fada05d9e789f2a99add Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com> Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-01-05Script to create the guest imageYunhong Jiang2-0/+152
This script download the latest CentOS cloud image and modify it to meet the test requirement, including remove cloud related script, setup the ssh keys etc. It derives from yardstick project, which currently only provide support to Ubuntu image. If they support CentOS image, we can possibly switch to them. Change-Id: I9482936615a28da696ff8f51248a62b13e5677f4 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Add guest environment setup scriptsYunhong Jiang2-0/+89
To achieve good real time and live migration performance, special setup is needed on guest environment. Two scripts are used to setup the guest environment. The guest-setup0.sh setup the environment that should take effect before the tested kernel is bringup, including install the kernel rpm, the rt-test package and modify the grub entries. The guest-setup1.sh setup the environment that takes effect after the tested kernel is up, like some sysfs entry, interrupt affinity etc. Change-Id: Icaed71e250b314723d6b1814c9ac33c10d99c6a0 Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05No change to the grub default settingYunhong Jiang1-1/+0
The kernel rpm installation on rehl/centos is using grubby to setup the default kernel entry, so we should not change the grub default set from saved to 0. Change-Id: I5910f498f5889c052e43d2e1e92b209c05b01455 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Script to create the rt-tests rpmYunhong Jiang2-0/+56
There is no rt-tests rpm on centos repo, also we need some special compile flag to enable the -a parameter. So we try to make the rpm ourselves. The version is specified as 0.96. But please notice that the Makefile in the rt-tests tree requires some key, we have to disable that requirement. So this rpm is only for OPNFV testing purpose. Change-Id: Ifdd52649bc14405dbe5ad375dc7fd32087139b18 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-06Merge "Add host environment setup scripts"Jiang, Yunhong3-0/+171
2016-01-05Merge "Add virtual functions support to ixgbe and i40e."Don Dugger1-1/+1
2016-01-05Merge "Add VM preemption latency measuring tool vm-trace"Don Dugger3-0/+706
2016-01-04Add host environment setup scriptsYunhong Jiang3-0/+171
Testing KVM4NFV project requires special host environment to get the best result. Two scrripts are used to setup the environment. The host-setup0.sh setup the environment that should take effect before the kernel is bringup, mostly the grub entries. The host-setup1.sh setup the environment that takes effect after the kernel is up, like some sysfs entry, interrupt affinity etc. The host-config provides the configurations. Change-Id: Ie933ea0089ac82acd39fc48088615215993312f3 Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2015-12-08kvmclock: add a new function to update env->tsc.WW-2015-52Liang Li3-16/+48
(Back port from upstream, commit id: 0fd7e098db30e302d27920487f0afec) The commit 317b0a6d8 fixed an issue which caused by the outdated env->tsc value, but the fix lead to 'cpu_synchronize_all_states()' called twice during live migration. The 'cpu_synchronize_all_states()' takes about 130us for a VM which has 4 vcpus, it's a bit expensive. Synchronize the whole CPU context just for updating env->tsc is too wasting, this patch use a new function to update the env->tsc. Comparing to 'cpu_synchronize_all_states()', it only takes about 20us. Change-Id: I7dc8371aa17b005d073249c3732d9a7424f20a25 Signed-off-by: Liang Li <liang.z.li@intel.com> Message-Id: <1446695464-27116-2-git-send-email-liang.z.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-12-04Add VM preemption latency measuring tool vm-traceDavid Su3-0/+706
This tool is to be used to measure VM preemption latencies defined by kvmfornfv requirements. See README.txt for usage of the tool. Change-Id: I78aed07df0af02f2268e36cfeb81923ba2bdb52a Signed-off-by: David Su <david.w.su@intel.com>
2015-12-02Add virtual functions support to ixgbe and i40e.José Pekkarinen1-1/+1
Change-Id: Iecc8205f443e2e47fc955c80bf6f0aa55db75447 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2015-12-01Merge "Add configuration to support OVS kernel module"Don Dugger1-7/+13
2015-12-01Merge "Bug fix."Don Dugger1-1/+1
2015-12-01Merge "Make vfio MSI interrupt be non-threaded."Don Dugger1-1/+1
2015-11-24Make vfio MSI interrupt be non-threaded.Yunhong Jiang1-1/+1
Currently the vfio msi interrupt is kept as IRQ thread, this is not good for NFV scenerio because in NFV scenerio, we want to inject the interrupt to the guest asap. A threaded IRQ introduces schedule latency. However, this change is like a quick and dirty and may bring potential deadlock, because the spinlock_irqsave() from eventfd_signal() is preemptible in RT kernel, which should not be held on IRQ context. But changing it to be raw_spinlock is bad because it will increase the latency a lot if the eventfd is accessed by user space. The deadlock should be ok since for vfio MSI handler is purely kernel story and the lock is a per-eventfd lock and seems no one else is using it for the vfio msi scenario. Upstream status: discussion https://lkml.org/lkml/2015/10/26/764 Change-Id: Ie4405a5b568aa75ca8c3481eeeea228a486b9794
2015-11-20Force tick interrupt and get rid of softirq magicYunhong Jiang2-44/+31
This is a backporting from upstream linux, please refer to http://marc.info/?t=142904577100001&r=1&w=2 for more information, the corresponding kernel commit is 0ff53d09642204c64842 (tick: sched: Force tick interrupt and get rid of softirq magic). The purpose of this patch is, if a tick_sched interrupt is missed, don't try to raise softirq, instead, we can simply trigger the timer interrupt. The reason is, softirq requires context switch and has much higher overhead than interrupt. Upstream status: backport 0ff53d09642204c64842 Change-Id: I70131fb85189d15972fcaa1a2a2fa190270787f9 Back-port-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2015-11-20Add configuration to support OVS kernel moduleYunhong Jiang1-7/+13
OVS kernel module is important for NFV. The existed kernel config misses several important kernel configuration, mostly for VxLAN, which is required by the OVS kernel module. Also add the OVS as a module, so that user can use it if needed, or replace it when use the OPNFV patched OVS module. Change-Id: I032f84e0468fc2614557274a50f30d502d39cc52 Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2015-11-17Fix systemd boot.José Pekkarinen1-1/+1
Change-Id: I3e91161abafc62554e793e4851df639c099421e7 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>