diff options
author | Marvin Liu <yong.liu@intel.com> | 2015-07-09 11:36:17 +0800 |
---|---|---|
committer | Marvin Liu <yong.liu@intel.com> | 2015-07-10 10:16:48 +0800 |
commit | dfb6030db2c907ad340f409e2ebbcee568dbcf22 (patch) | |
tree | 217e617b828025de76aa4a9b191a24b442d187d8 /conf | |
parent | ef3aebd81e18167613612d0722fcbe81deb07b74 (diff) |
Add VM configuration file for vm power management feature
Signed-off-by: Marvin Liu <yong.liu@intel.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/virt_global.cfg | 2 | ||||
-rw-r--r-- | conf/vm_power_manager.cfg | 42 |
2 files changed, 42 insertions, 2 deletions
diff --git a/conf/virt_global.cfg b/conf/virt_global.cfg index f26a90c..176650a 100644 --- a/conf/virt_global.cfg +++ b/conf/virt_global.cfg @@ -7,8 +7,6 @@ cpu = number=4,cpupin=3 4 5 6; mem = size=2048; -net = - local=unused [KVM] cpu = model=host,number=4,cpupin=3 4 5 6; diff --git a/conf/vm_power_manager.cfg b/conf/vm_power_manager.cfg new file mode 100644 index 0000000..5443730 --- /dev/null +++ b/conf/vm_power_manager.cfg @@ -0,0 +1,42 @@ +# libvirtd options: +# [VM name] section value is the name for VM +# cpu # hard code type to host-passthrough +# number: number of vcpus +# cpupin: host cpu list +# mem +# size: 4096 +# disk +# file: absolute path to disk image +# type: disk image format +# login +# user: user name to login into VM +# password: passwork to login into VM +# device +# pf_idx: pass-through device index of DUT ports +# guestpci: hardcode value of guest pci address +# virtio_serial_channel +# path: virtio unix socket absolute path +# name: virtio serial name in VM + +# vm configuration for vm power management case +[vm0] +cpu = + number=4,cpupin=5 6 7 8; +mem = + size=4096; +disk = + file=/storage/vm-image/vm0.img,type=raw; +login = + user=root,password=tester; +device = + pf_idx=0,guestpci=00:08.0; + pf_idx=1,guestpci=00:09.0; +[vm1] +cpu = + number=4,cpupin=9 10 11 12; +mem = + size=4096; +disk = + file=/storage/vm-image/vm1.img,type=raw; +login = + user=root,password=tester; |