]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Configure multiple virtual CPUs for moon and sun
authorTobias Brunner <tobias@strongswan.org>
Mon, 31 May 2021 14:46:41 +0000 (16:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 28 May 2025 14:35:27 +0000 (16:35 +0200)
This allows testing per-CPU SAs by e.g. pinging over a specific CPU
via taskset.

testing/config/kvm/moon.xml
testing/config/kvm/sun.xml

index 1623ac83bf84bd07300464104a0d38c35fdbd24c..df77348d083d6fce7a616ba8643a58d1569ec308 100644 (file)
@@ -3,7 +3,7 @@
   <uuid>b5e00ad3-1c81-3b2a-7f66-cdf8727b3c65</uuid>
   <memory unit='MiB'>128</memory>
   <currentMemory unit='MiB'>128</currentMemory>
-  <vcpu placement='static'>1</vcpu>
+  <vcpu placement='static'>4</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
        <kernel>/var/run/kvm-swan-kernel</kernel>
index 5f32d1bc0b9ea426ede052fa70ea330c8b767158..68c160a805a0b23c86b29ad95cb4bb1784c1b894 100644 (file)
@@ -3,7 +3,7 @@
   <uuid>35341843-346c-a63a-786b-9df0fd5e6264</uuid>
   <memory unit='MiB'>144</memory>
   <currentMemory unit='MiB'>144</currentMemory>
-  <vcpu placement='static'>1</vcpu>
+  <vcpu placement='static'>2</vcpu>
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
        <kernel>/var/run/kvm-swan-kernel</kernel>