diff options
author | Yunhong Jiang <yunhong.jiang@linux.intel.com> | 2015-12-04 14:47:31 -0500 |
---|---|---|
committer | Yunhong Jiang <yunhong.jiang@linux.intel.com> | 2016-01-04 19:06:33 -0500 |
commit | d792accb76bb16af0cbf0710a41491d21de75721 (patch) | |
tree | 778b29a710a635b76e1865d57f110c1ea13f553c /ci/envs/host-config | |
parent | b52baab237a0b45cb18b26f529e6490b42574209 (diff) |
Add host environment setup scripts
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>
Diffstat (limited to 'ci/envs/host-config')
-rw-r--r-- | ci/envs/host-config | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ci/envs/host-config b/ci/envs/host-config new file mode 100644 index 000000000..ce6243ce0 --- /dev/null +++ b/ci/envs/host-config @@ -0,0 +1,19 @@ +############################################################################## +## Copyright (c) 2015 Intel Corp. +## +## All rights reserved. This program and the accompanying materials +## are made available under the terms of the Apache License, Version 2.0 +## which accompanies this distribution, and is available at +## http://www.apache.org/licenses/LICENSE-2.0 +############################################################################### + +# Isolated cpus for nfv, must be delimited with ',' +host_isolcpus=3,4 + +# Number of huge pages to create and on which NUMA node +numa_node=0 +huge_pages=2 + +# QEMU executable path and number of cpus for guest +qemu=/usr/libexec/qemu-kvm +guest_cpus=2 |