Skip to content

Commit 6589c01

Browse files
committed
Add documentation for new Windows PV tools
Also remove outdated WPV 8.2 instructions. Signed-off-by: Tu Dinh <[email protected]>
1 parent 63377b2 commit 6589c01

File tree

2 files changed

+27
-43
lines changed

2 files changed

+27
-43
lines changed

docs/troubleshooting/windows-pv-tools.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
# Windows PV Tools
22

3-
Common issues with Windows PV tools.
4-
5-
## Windows Management Agent failed to install
6-
7-
### Cause
8-
There was an issue with the installing of the drivers certificate, so the drivers did not load silently.
9-
10-
### Solution
11-
Resolved with version 8.2.2.200-RC1 and newer.
12-
13-
***
3+
Common issues and topics related to Windows PV tools.
144

155
## PV-Drivers missing in the Device Manager
166

@@ -32,8 +22,6 @@ If the tools are installed, while XCP-ng Center says that I/O is optimized, but
3222

3323
### Possible Solutions
3424

35-
* Resolved with version 8.2.2.200-RC1 and newer.
36-
3725
* Clean your system from `Citrix Client Tools` _AND_ `XCP-ng Client Tools` to create a clean state.
3826
* Then install the Client Tools from scratch.
3927

docs/vms/vms.md

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ For a Bios VM, screen resolution can be managed directly through the OS:
8484
For a UEFI VM, you will need to set up your resolution in the UEFI settings of the VM.
8585
For that you first will need to enter the VM UEFI setup:
8686
- At VM start, during Tiano firmware logo display, press ESC.
87-
87+
8888
![](../../assets/img/screenshots/VM_Tiano.png)
8989
- You will enter the UEFI firmware management interface. Navigating with keyboard arrows, select *Device Manager* and press Enter.
90-
90+
9191
![](../../assets/img/screenshots/VM_Tiano_1.png)
9292

9393
- In the next screen select *OVMF platform configuration*.
94-
94+
9595
![](../../assets/img/screenshots/VM_Tiano_2.png)
9696

9797
- In the OVMF settings, select *Change Preferred* then the resolution you want.
@@ -276,8 +276,8 @@ Depending on the situation, just update from your distribution's online reposito
276276
FreeBSD is a 30-year-old operating system used widely to run all sorts of systems and has served as the basis for a number of operating systems, including MacOS, pfSense, and FreeNAS. The Xen kernel modules are built and distributed in the GENERIC kernel, so if you haven't customised or recompiled your kernel, the drivers will be present.
277277

278278
To communicate with the hypervisor, you need to install two [ports](https://www.freebsd.org/ports/):
279-
* [sysutils/xe-guest-utilities](https://www.freshports.org/sysutils/xe-guest-utilities/)
280-
* [sysutils/xen-guest-tools](https://www.freshports.org/sysutils/xen-guest-tools/)
279+
* [sysutils/xe-guest-utilities](https://www.freshports.org/sysutils/xe-guest-utilities/)
280+
* [sysutils/xen-guest-tools](https://www.freshports.org/sysutils/xen-guest-tools/)
281281

282282
The `install.sh` script on the guest tools ISO does not yet support FreeBSD, so there is no point in mounting the guest tools ISO on a FreeBSD VM.
283283

@@ -313,33 +313,33 @@ Versions 12.0-U1 and higher of TrueNAS include the package by default, to instal
313313
```bash
314314
# sed -i '' 's/enabled: yes/enabled: no/' /usr/local/etc/pkg/repos/local.conf
315315
```
316-
316+
317317
2. Create a temporary directory and move into it:
318318
```bash
319319
# mkdir /tmp/repo
320320
# cd /tmp/repo
321321
```
322-
322+
323323
3. Fetch the required packages. A directory **All** will be created and you will find the packages with their current versions under there:
324-
```bash
324+
```bash
325325
# pkg fetch -o /tmp/repo/ xen-guest-tools
326326
# pkg fetch -o /tmp/repo/ xe-guest-utilities
327327
```
328-
329-
4. Add the downloaded packages, without their dependencies:
328+
329+
4. Add the downloaded packages, without their dependencies:
330330
```bash
331331
# pkg add -M All/xen-guest-tools-4.14.0.txz
332332
# pkg add -M All/xe-guest-utilities-6.2.0_3.txz
333333
```
334334
The versions reported here are just the current version and they maybe different in your installation.
335-
335+
336336
5. Revert the repos to their original settings to avoid surprises down the road. The second command should be run just if you disabled the local repo in step 1:
337337
```bash
338338
# sed -i '' 's/enabled: yes/enabled: no/' /usr/local/etc/pkg/repos/FreeBSD.conf
339339
# sed -i '' 's/enabled: no/enabled: yes/' /usr/local/etc/pkg/repos/local.conf
340340
```
341341
A restart of the VM will perform a reset of these files to their original settings too.
342-
342+
343343
6. Once the package is installed, you need to tell FreeNAS to start the `xe-daemon` process when starting:
344344
1. Go to _Tasks -> Init/Shutdown Script_
345345
2. Create a new task with the following settings:
@@ -370,9 +370,6 @@ Citrix tools:
370370
XCP-ng tools:
371371
* :heavy_plus_sign: Fully open-source.
372372
* :heavy_plus_sign: Maintained by the XCP-ng project.
373-
* :heavy_minus_sign: The drivers are not signed with a key recognized by Microsoft, so Secure Boot can't be enabled with them.
374-
* :heavy_minus_sign: The sources for the management agent are older than that of Citrix (they have stopped updating GitHub a while ago).
375-
* :heavy_minus_sign: Have not been updated in a long time, due to difficulties finding skilled developers to work on them. Being actively worked on.
376373
* :heavy_minus_sign: Won't transparently replace existing Citrix tools. You need to remove Citrix tools first if they are present, in order to install XCP-ng tools.
377374

378375
It's now up to you to choose.
@@ -403,7 +400,7 @@ If you are using Xen Orchestra, you can switch the "Windows Update tools" advanc
403400
If your VM already has XCP-ng tools and you wish to switch to Citrix tools, then you need to do the same kind of clean-up as described farther in this document for the opposite situation.
404401

405402
#### XCP-ng Windows Guest Tools
406-
Drivers built by the XCP-ng community.
403+
Drivers built and signed by Vates.
407404

408405
**Download**: [https://github.com/xcp-ng/win-pv-drivers/releases](https://github.com/xcp-ng/win-pv-drivers/releases)
409406

@@ -445,27 +442,26 @@ xe vm-param-get param-name=has-vendor-device uuid={VM-UUID}
445442
`True` means that it's active, `False` that it isn't. It needs to be `False`.
446443

447444
###### Install the XCP-ng drivers
448-
0. snapshot before just in case
449-
1. unpack the ZIP file
450-
2. start setup.exe
451-
3. follow the install wizard
445+
0. Snapshot your VM before installing (just in case)
446+
1. Unpack the ZIP file
447+
2. Start the installation MSI
448+
3. Follow the install wizard
452449

453-
**Note**: Restart can take a while if your windows is currently updating. Restart only occurs after windows has the updates finished.
450+
##### Upgrade from XCP-ng Windows PV Tools (8.2 or earlier) or XenServer VM Tools
454451

455-
4. after restart one of two messages should pop up
456-
* request for restart \<- just restart!
457-
* Management Agent installed successfully \<- enjoy :-)
452+
Our installer will block installation when these tools are already present. These tools must be cleanly uninstalled before continuing with the installation.
458453

459-
##### Upgrade from Citrix :registered: XenServer :registered: client tools
460-
461-
Our installer is not able currently to cleanly uninstall Citrix tools. Citrix tools' uninstaller itself isn't either: it leaves various things behind.
454+
:::warning
455+
If you're using XCP-ng Windows PV Tools 8.2 or earlier, it must be uninstalled using XenClean to avoid encountering BSODs. Follow the procedure in our [Troubleshooting Guide - Windows PV Tools](../troubleshooting/windows-pv-tools.md).
456+
:::
462457

463-
So we need to perform a complete clean-up of it using the XenClean utility.
464-
You will find the detailed instructions in our [Troubleshooting Guide - Windows PV Tools](../troubleshooting/windows-pv-tools.md).
458+
:::warning
459+
In any case, first disable "Windows Update tools" for the VM (Xen Orchestra, advanced tab) and reboot it.
460+
:::
465461

466462
#### Contributing
467463
##### Linux / xBSD
468464
If you would like to contribute improvements to the `install.sh` script so that it supports your distro, create a pull request against: https://github.com/xcp-ng/xe-guest-utilities/tree/master/mk. Relevant files are usually `xe-linux-distribution` and `install.sh`.
469465

470466
##### Windows
471-
The XCP-ng team is looking for help in improving the guest tools installer, build process, and clean-up tools.
467+
The XCP-ng team is looking for help in improving the guest tools installer, build process, and clean-up tools. For more details, see the [win-pv-drivers/xcp-ng-9.1](https://github.com/xcp-ng/win-pv-drivers/tree/xcp-ng-9.1) branch.

0 commit comments

Comments
 (0)