소스 검색

Add vm-configs for WNI

Marek Marczykowski-Górecki 11 년 전
부모
커밋
e2bea656b4
3개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      core/settings-wni-Windows_NT.py
  2. 9 0
      vm-config/wni-vm-template-hvm.xml
  3. 9 0
      vm-config/wni-vm-template.xml

+ 2 - 0
core/settings-wni-Windows_NT.py

@@ -6,5 +6,7 @@ from qubes.storage.wni import QubesWniVmStorage
 
 def apply(system_path, vm_files, defaults):
     system_path['qubes_base_dir'] = 'c:\\qubes'
+    system_path['config_template_pv'] = 'c:/program files/Invisible Things Lab/Qubes/vm-template.xml'
+    system_path['config_template_hvm'] = 'c:/program files/Invisible Things Lab/Qubes/vm-template-hvm.xml'
     defaults['libvirt_uri'] = 'test:///default'
     defaults['storage_class'] = QubesWniVmStorage

+ 9 - 0
vm-config/wni-vm-template-hvm.xml

@@ -0,0 +1,9 @@
+<domain type='test'>
+  <name>{name}</name>
+  {uuidnode}
+  <memory unit='MiB'>{maxmem}</memory>
+  <os>
+    <type>hvm</type>
+  </os>
+</domain>
+

+ 9 - 0
vm-config/wni-vm-template.xml

@@ -0,0 +1,9 @@
+<domain type='test'>
+  <name>{name}</name>
+  {uuidnode}
+  <memory unit='MiB'>{maxmem}</memory>
+  <os>
+    <type>pv</type>
+  </os>
+</domain>
+