Skip to content

Commit 3c194c7

Browse files
authored
Merge pull request #55929 from sabrinajess/CNV23823
CNV-23823: QEMU and VirtIO updates
2 parents 50a4600 + ae27f8f commit 3c194c7

13 files changed

+57
-74
lines changed

_topic_maps/_topic_map.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3566,14 +3566,10 @@ Topics:
35663566
File: virt-automating-windows-sysprep
35673567
- Name: Triggering virtual machine failover by resolving a failed node
35683568
File: virt-triggering-vm-failover-resolving-failed-node
3569-
- Name: Installing the QEMU guest agent on virtual machines
3569+
- Name: Installing the QEMU guest agent and VirtIO drivers
35703570
File: virt-installing-qemu-guest-agent
35713571
- Name: Viewing the QEMU guest agent information for virtual machines
35723572
File: virt-viewing-qemu-guest-agent-web
3573-
- Name: Installing VirtIO driver on an existing Windows virtual machine
3574-
File: virt-installing-virtio-drivers-on-existing-windows-vm
3575-
- Name: Installing VirtIO driver on a new Windows virtual machine
3576-
File: virt-installing-virtio-drivers-on-new-windows-vm
35773573
- Name: Using virtual Trusted Platform Module devices
35783574
File: virt-using-vtpm-devices
35793575
- Name: Managing virtual machines with OpenShift Pipelines

modules/virt-about-virtio-drivers.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/virt-installing-virtio-drivers-on-new-windows-vm.adoc
4-
// * virt/virtual_machines/virt-installing-virtio-drivers-on-existing-windows-vm.adoc
54

65
//This file contains UI elements and/or package names that need to be updated.
76

modules/virt-adding-virtio-drivers-vm-yaml.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/virt-installing-virtio-drivers-on-new-windows-vm.adoc
4-
// * virt/virtual_machines/virt-installing-virtio-drivers-on-existing-windows-vm.adoc
54

65
//This file contains UI elements and/or package names that need to be updated.
76

modules/virt-installing-qemu-guest-agent-on-linux-vm.adoc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
[id="virt-installing-qemu-guest-agent-on-linux-vm_{context}"]
88
= Installing QEMU guest agent on a Linux virtual machine
99

10-
The `qemu-guest-agent` is widely available and available by default in Red Hat
11-
virtual machines. Install the agent and start the service.
12-
13-
To check if your virtual machine (VM) has the QEMU guest agent installed and running, verify that `AgentConnected` is listed in the VM spec.
10+
The `qemu-guest-agent` is widely available and available by default in {op-system-base-full} virtual machines (VMs). Install the agent and start the service.
1411

1512
[NOTE]
1613
====
@@ -36,3 +33,12 @@ $ yum install -y qemu-guest-agent
3633
----
3734
$ systemctl enable --now qemu-guest-agent
3835
----
36+
37+
.Verification
38+
. Run the following command to verify that `AgentConnected` is listed in the VM spec:
39+
40+
+
41+
[source,terminal]
42+
----
43+
$ oc get vm <vm_name>
44+
----

modules/virt-installing-qemu-guest-agent-on-windows-vm.adoc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,32 @@
33
// * virt/virtual_machines/virtual_disks/virt-managing-vm-snapshots.adoc
44
// * virt/virtual_machines/virt-installing-qemu-guest-agent.adoc
55

6+
:_content-type: PROCEDURE
67
[id="installing-qemu-guest-agent-on-windows-vm_{context}"]
78
= Installing QEMU guest agent on a Windows virtual machine
89

910
For Windows virtual machines, the QEMU guest agent is included in the
1011
VirtIO drivers. Install the drivers on an existing or a new Windows installation.
1112

12-
To check if your virtual machine (VM) has the QEMU guest agent installed and running, verify that `AgentConnected` is listed in the VM spec.
13-
1413
[NOTE]
1514
====
1615
To create snapshots of an online (Running state) VM with the highest integrity, install the QEMU guest agent.
1716
1817
The QEMU guest agent takes a consistent snapshot by attempting to quiesce the VM’s file system as much as possible, depending on the system workload. This ensures that in-flight I/O is written to the disk before the snapshot is taken. If the guest agent is not present, quiescing is not possible and a best-effort snapshot is taken. The conditions under which the snapshot was taken are reflected in the snapshot indications that are displayed in the web console or CLI.
1918
====
19+
20+
.Procedure
21+
22+
. In the Windows Guest Operating System (OS), use the *File Explorer* to navigate to the `guest-agent` directory in the `virtio-win` CD drive.
23+
24+
. Run the `qemu-ga-x86_64.msi` installer.
25+
26+
27+
.Verification
28+
. Run the following command to verify that the output contains the `QEMU Guest Agent`:
29+
30+
+
31+
[source,terminal]
32+
----
33+
$ net start
34+
----

modules/virt-installing-virtio-drivers-existing-windows.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//
33
// * virt/virtual_machines/virtual_disks/virt-managing-vm-snapshots.adoc
44
// * virt/virtual_machines/virt-installing-qemu-guest-agent.adoc
5-
// * virt/virtual_machines/virt-installing-virtio-drivers-on-existing-windows-vm.adoc
65

76
:_content-type: PROCEDURE
87
[id="virt-installing-virtio-drivers-existing-windows_{context}"]

modules/virt-installing-virtio-drivers-installing-windows.adoc

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[id="virt-installing-virtio-drivers-installing-windows_{context}"]
99
= Installing VirtIO drivers during Windows installation
1010

11-
Install the VirtIO drivers from the attached SATA CD driver during Windows installation.
11+
Install the `virtio` drivers during or after Windows installation.
1212

1313
[NOTE]
1414
====
@@ -17,15 +17,22 @@ installation method might differ between versions of Windows. See the
1717
documentation for the version of Windows that you are installing.
1818
====
1919

20+
.Prerequisites
21+
22+
* A storage device containing the `virtio` drivers must be attached to the VM.
23+
2024
.Procedure
2125

22-
. Start the virtual machine and connect to a graphical console.
23-
. Begin the Windows installation process.
24-
. Select the *Advanced* installation.
25-
. The storage destination will not be recognized until the driver is loaded.
26-
Click `Load driver`.
27-
. The drivers are attached as a SATA CD drive. Click *OK* and browse the CD drive
28-
for the storage driver to load. The drivers are arranged hierarchically
29-
according to their driver type, operating system, and CPU architecture.
30-
. Repeat the previous two steps for all required drivers.
31-
. Complete the Windows installation.
26+
. In the Windows Guest OS, use the `File Explorer` to navigate to the `virtio-win` CD drive.
27+
. Double-click to run the appropriate installer for your VM:
28+
.. For a 64-bit vCPU, use the `virtio-win-gt-x64` installer. 32-bit vCPUs are no longer supported.
29+
. Optional: During the *Custom Setup* step of the installer, select the device drivers you want to install. The recommended driver set is selected by default.
30+
. After the installation is complete, select *Finish*.
31+
. Reboot the VM.
32+
33+
.Verification
34+
35+
. Open the system disk on the PC. This is typically `C:`.
36+
. Navigate to *Program Files* -> *Virtio-Win*.
37+
38+
If the *Virtio-Win* directory is present and contains a sub-directory for each driver, the installation was successful.

modules/virt-removing-virtio-disk-from-vm.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/virt-installing-virtio-drivers-on-new-windows-vm.adoc
4-
// * virt/virtual_machines/virt-installing-virtio-drivers-on-existing-windows-vm.adoc
54

65
//This file contains UI elements and/or package names that need to be updated.
76

modules/virt-supported-virtio-drivers.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/virt-installing-virtio-drivers-on-new-windows-vm.adoc
4-
// * virt/virtual_machines/virt-installing-virtio-drivers-on-existing-windows-vm.adoc
54

65
[id="virt-supported-virtio-drivers_{context}"]
76
= Supported VirtIO drivers for Microsoft Windows virtual machines

virt/virtual_machines/virt-installing-qemu-guest-agent.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
:_content-type: ASSEMBLY
22
[id="virt-installing-qemu-guest-agent"]
3-
= Installing the QEMU guest agent on virtual machines
3+
= Installing the QEMU guest agent and VirtIO drivers
44
include::_attributes/common-attributes.adoc[]
55
:context: virt-installing-qemu-guest-agent
66

77
toc::[]
88

99
The xref:../../virt/virtual_machines/virt-viewing-qemu-guest-agent-web.adoc#virt-viewing-qemu-guest-agent-web[QEMU guest agent] is a daemon that runs on the virtual machine and passes information to the host about the virtual machine, users, file systems, and secondary networks.
1010

11+
== Installing the QEMU guest agent
12+
1113
include::modules/virt-installing-qemu-guest-agent-on-linux-vm.adoc[leveloffset=+1]
1214

1315
// apinnick: Commenting out because there is not enough information here and the UI has changed.
@@ -20,6 +22,14 @@ include::modules/virt-installing-qemu-guest-agent-on-linux-vm.adoc[leveloffset=+
2022

2123
include::modules/virt-installing-qemu-guest-agent-on-windows-vm.adoc[leveloffset=+1]
2224

25+
== Installing VirtIO drivers
26+
27+
include::modules/virt-supported-virtio-drivers.adoc[leveloffset=+2]
28+
29+
include::modules/virt-about-virtio-drivers.adoc[leveloffset=+2]
30+
2331
include::modules/virt-installing-virtio-drivers-existing-windows.adoc[leveloffset=+2]
2432

2533
include::modules/virt-installing-virtio-drivers-installing-windows.adoc[leveloffset=+2]
34+
35+
include::modules/virt-adding-virtio-drivers-vm-yaml.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)