From 88907493839b7457be3e26495fa63ed285b72ed5 Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Tue, 17 Jun 2025 13:51:30 +0200
Subject: [PATCH] Add vsock to VM's

---
 src/vm.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/vm.py b/src/vm.py
index 1a0651a..ca2436b 100644
--- a/src/vm.py
+++ b/src/vm.py
@@ -48,6 +48,11 @@ DOMAIN_TEMPLATE = """
       </model>
     </video>
     <memballoon model='virtio'/>
+    <vsock model='virtio'>
+      <cid auto='yes' address='3'/>
+      <address type='pci' domain='0x0000'
+               bus='0x00' slot='0x0a' function='0x0'/>
+    </vsock>
   </devices>
 </domain>
 """
-- 
GitLab