kvmfornfv.git
8 years agoMake vfio MSI interrupt be non-threaded. 28/1228/5
Yunhong Jiang [Tue, 18 Aug 2015 18:27:04 +0000 (11:27 -0700)]
Make vfio MSI interrupt be non-threaded.

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

8 years agoFix systemd boot. 27/3327/2
José Pekkarinen [Tue, 17 Nov 2015 07:58:16 +0000 (09:58 +0200)]
Fix systemd boot.

Change-Id: I3e91161abafc62554e793e4851df639c099421e7
Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
8 years agoUpdate the kernel config to match the kernel version shipped. 21/3321/1
José Pekkarinen [Tue, 17 Nov 2015 07:34:58 +0000 (09:34 +0200)]
Update the kernel config to match the kernel version shipped.

Change-Id: Icd51e1625a57867b2f79cb2b2d1ab21b23bd80e0
Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
8 years agoMerge "Add build script for continuous integration"
Don Dugger [Fri, 6 Nov 2015 19:11:08 +0000 (19:11 +0000)]
Merge "Add build script for continuous integration"

8 years agoAdd build script for continuous integration 69/1269/9
David Su [Thu, 20 Aug 2015 23:12:47 +0000 (16:12 -0700)]
Add build script for continuous integration

The script is based on the build script for copper
https://git.opnfv.org/cgit/releng/tree/jjb/copper/docu-build.sh
The script should be run from the root of kvmfornfv source tree

Change-Id: Ic12890990741441e88e35a87ef2570b1c601ca61
Signed-off-by: David Su <david.w.su@intel.com>
8 years agoMerge "Add the opnfv kernel config file"
Don Dugger [Tue, 3 Nov 2015 16:14:18 +0000 (16:14 +0000)]
Merge "Add the opnfv kernel config file"

8 years agoMerge "These changes are a raw update to a vanilla kernel 4.1.10, with the recently...
Don Dugger [Thu, 29 Oct 2015 22:15:25 +0000 (22:15 +0000)]
Merge "These changes are a raw update to a vanilla kernel 4.1.10, with the recently announced rt patch patch-4.1.10-rt10.patch. No further changes needed."

8 years agoAdd the opnfv kernel config file 20/1120/9
Yunhong Jiang [Tue, 4 Aug 2015 21:21:51 +0000 (14:21 -0700)]
Add the opnfv kernel config file

Kernel config is important for RT linux. A specific config
file is provided for the opnfv project to build the
reference config options.

Currently this config file is assumed to be used for
both host and guest kernel. We may split them in future.

Change-Id: Ia9ebe0bc002518bb603af8901c6f31531d2f0cee
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
8 years agoMerge "migration: do cleanup operation after completion"
Don Dugger [Thu, 29 Oct 2015 08:05:08 +0000 (08:05 +0000)]
Merge "migration: do cleanup operation after completion"

8 years agoThese changes are a raw update to a vanilla kernel 4.1.10, with the 53/2653/1
José Pekkarinen [Mon, 19 Oct 2015 05:35:30 +0000 (08:35 +0300)]
These changes are a raw update to a vanilla kernel 4.1.10, with the
recently announced rt patch patch-4.1.10-rt10.patch. No further changes
needed.

Change-Id: I9a0cf084498133b10771e744b6da4b29dff706ba
Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
8 years agoThese changes comes from the qemu version 2.4.0.1 bugfix release, 81/2581/1
José Pekkarinen [Fri, 16 Oct 2015 06:46:11 +0000 (09:46 +0300)]
These changes comes from the qemu version 2.4.0.1 bugfix release,
taken from the official qemu wiki page. No further changes included.

Change-Id: I690a0aba6a986291252e766c60cf1fbea9a0cd46
Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
8 years agoKernel bump from 4.1.3-rt to 4.1.7-rt. 75/2375/1
José Pekkarinen [Fri, 9 Oct 2015 05:42:44 +0000 (08:42 +0300)]
Kernel bump from 4.1.3-rt to 4.1.7-rt.

These changes brings a vanilla kernel from kernel.org, and the patch
applied for rt is patch-4.1.7-rt8.patch. No further changes needed.

Change-Id: Id8dd03c2ddd971e4d1d69b905f3069737053b700
Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
8 years agomigration: do cleanup operation after completion 39/1939/1
Liang Li [Thu, 24 Sep 2015 00:56:12 +0000 (08:56 +0800)]
migration: do cleanup operation after completion

Because of the patch 3ea3b7fa9af067982f34b of kvm, now the migration_end()
is a time consuming operation, which takes about dozens of milliseconds, and
will prolong VM downtime. Such an operation should be done after migration
completion.

For a VM with 8G RAM, this patch can reduce the VM downtime about 32 ms during
live migration.

Change-Id: Iddd10bd5a2b1bf52cce36253f303fc458da343cd
Signed-off-by: Liang Li <liang.z.li@intel.com>
8 years agoExample as code, documentation template for sphinx build 95/1495/1
Aric Gardner [Thu, 10 Sep 2015 19:37:26 +0000 (15:37 -0400)]
Example as code, documentation template for sphinx build

This code will be pushed to each project creating a docs/ directory
This servers as an example and template for you (the developers) to create
your own project documentation

Change-Id: I8aa7b356e320ab83c902604c9bf66f56c16ae643
JIRA:RELENG-15
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
8 years agoAdd qemu 2.4.0 58/1358/1
Yang Zhang [Fri, 28 Aug 2015 01:58:54 +0000 (09:58 +0800)]
Add qemu 2.4.0

Change-Id: Ic99cbad4b61f8b127b7dc74d04576c0bcbaaf4f5
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
8 years agoAdd the rt linux 4.1.3-rt3 as base 19/1119/1
Yunhong Jiang [Tue, 4 Aug 2015 19:17:53 +0000 (12:17 -0700)]
Add the rt linux 4.1.3-rt3 as base

Import the rt linux 4.1.3-rt3 as OPNFV kvm base.

It's from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.1.y-rt and
the base is:

commit 0917f823c59692d751951bf5ea699a2d1e2f26a2
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date:   Sat Jul 25 12:13:34 2015 +0200

    Prepare v4.1.3-rt3

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
We lose all the git history this way and it's not good. We
should apply another opnfv project repo in future.

Change-Id: I87543d81c9df70d99c5001fbdf646b202c19f423
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
8 years agoChange nic-names to kvm 95/995/1
Don Dugger [Mon, 13 Jul 2015 05:24:42 +0000 (23:24 -0600)]
Change nic-names to kvm

We'll leave the git project as `kvmfornfv' but we'll change the other
nic-names (IRC, JIRA, mailing list) to just `kvm'.

Change-Id: I4b7c84b070348eff228a8829688a184276736c32

8 years agoAdding .gitreview INFO and License 93/993/1
Aric Gardner [Fri, 10 Jul 2015 17:27:02 +0000 (13:27 -0400)]
Adding .gitreview INFO and License

Change-Id: I5f26b9e9386f7777de96d6c481177bcf8825e63b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
8 years agoInitial empty repository
Aric Gardner [Fri, 10 Jul 2015 15:07:27 +0000 (15:07 +0000)]
Initial empty repository