Skip to content

Commit 284b4d2

Browse files
committed
doc(XCP-ng): Correct the instructions for enabling Viridian for other Windows-based VMs
Signed-off-by: Thomas Moraine <[email protected]>
1 parent d9d2014 commit 284b4d2

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

docs/vms/vms.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,24 @@ Viridian is a codename for [Hyper-V](https://learn.microsoft.com/en-us/windows-s
7676

7777
Viridian extensions —referred to as "Viridian enlightenments" by Microsoft— are used by any "recent" Windows OS to work properly. Make sure they are enabled for your VM.
7878

79-
:::tip
79+
:::warning
8080

8181
Viridian enlightenments are enabled by default on Windows VM templates included with XCP-ng.
8282

83-
To enable Viridian enlightenments to other Windows VM templates, you need to enable them manually. To do this, run `xe vm-param-set uuid=<vm uuid> platform:viridian=true`.
83+
To enable Viridian enlightenments for other Windows VM templates, you need to:
84+
85+
1. **Enable Viridian**. To do this, run `xe vm-param-set uuid=<vm uuid> platform:viridian=true` in your VM.
86+
2. **Enable the extra Viridian parameters** necessary for your template to run properly with XCP-ng. To do this, run the same `xe` command in your VM, but change the arguments with the following:
87+
88+
```
89+
"device_id": "0002", // ID used by XCP-ng to detect Windows VMs
90+
"viridian": "true",
91+
"viridian_time_ref_count": "true",
92+
"viridian_reference_tsc": "true",
93+
"viridian_apic_assist": "true",
94+
"viridian_crash_ctl": "true",
95+
"viridian_stimer": "true"
96+
```
8497

8598
:::
8699

0 commit comments

Comments
 (0)