summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2017-03-03 11:03:40 (GMT)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2017-03-03 11:03:40 (GMT)
commit8289749a59b79567fb7c0b94054571be8f6efdcc (patch)
treefdc7a583faa173ab9dc1f0d727b234ba46915aaf
parent0df70d06a60022e9dfa49b327630ff69c88200b7 (diff)
specify page size for hugepages (for newer libvirt)
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-rw-r--r--guest-dpdk-vhost-user-multiq-1.xml4
-rw-r--r--guest-dpdk-vhost-user-multiq-2.xml4
-rw-r--r--guest-dpdk-vhost-user-singleq-1.xml4
-rw-r--r--guest-dpdk-vhost-user-singleq-2.xml4
-rw-r--r--guest-endurance-dpdk-vhost-user-VHID.xml4
-rw-r--r--guest-openvswitch-1.xml4
-rw-r--r--guest-openvswitch-2.xml4
-rw-r--r--guest-virtio-dpdk.xml4
8 files changed, 24 insertions, 8 deletions
diff --git a/guest-dpdk-vhost-user-multiq-1.xml b/guest-dpdk-vhost-user-multiq-1.xml
index e948da8..7fbd035 100644
--- a/guest-dpdk-vhost-user-multiq-1.xml
+++ b/guest-dpdk-vhost-user-multiq-1.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>2097152</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<features>
diff --git a/guest-dpdk-vhost-user-multiq-2.xml b/guest-dpdk-vhost-user-multiq-2.xml
index b88c496..f541671 100644
--- a/guest-dpdk-vhost-user-multiq-2.xml
+++ b/guest-dpdk-vhost-user-multiq-2.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>2097152</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<features>
diff --git a/guest-dpdk-vhost-user-singleq-1.xml b/guest-dpdk-vhost-user-singleq-1.xml
index 887eebf..b87b61b 100644
--- a/guest-dpdk-vhost-user-singleq-1.xml
+++ b/guest-dpdk-vhost-user-singleq-1.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>2097152</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<features>
diff --git a/guest-dpdk-vhost-user-singleq-2.xml b/guest-dpdk-vhost-user-singleq-2.xml
index 506c47b..bd71467 100644
--- a/guest-dpdk-vhost-user-singleq-2.xml
+++ b/guest-dpdk-vhost-user-singleq-2.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>2097152</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<features>
diff --git a/guest-endurance-dpdk-vhost-user-VHID.xml b/guest-endurance-dpdk-vhost-user-VHID.xml
index 4ac86fc..1824a1c 100644
--- a/guest-endurance-dpdk-vhost-user-VHID.xml
+++ b/guest-endurance-dpdk-vhost-user-VHID.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>524288</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>2</vcpu>
<features>
diff --git a/guest-openvswitch-1.xml b/guest-openvswitch-1.xml
index ad6801f..db105da 100644
--- a/guest-openvswitch-1.xml
+++ b/guest-openvswitch-1.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>2097152</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<features>
diff --git a/guest-openvswitch-2.xml b/guest-openvswitch-2.xml
index ad6801f..db105da 100644
--- a/guest-openvswitch-2.xml
+++ b/guest-openvswitch-2.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>2097152</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<features>
diff --git a/guest-virtio-dpdk.xml b/guest-virtio-dpdk.xml
index a871aa0..943ca63 100644
--- a/guest-virtio-dpdk.xml
+++ b/guest-virtio-dpdk.xml
@@ -11,7 +11,9 @@
</cpu>
<currentMemory unit='KiB'>6291456</currentMemory>
<memoryBacking>
- <hugepages/>
+ <hugepages>
+ <page size="2" unit="M" nodeset="0"/>
+ </hugepages>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<features>