* [pve-devel] [PATCH v3 docs] qm: add guest agent section
@ 2021-01-25 14:54 Aaron Lauterer
2021-01-25 14:54 ` [pve-devel] [PATCH v3 manager] gui: add help button to qm guest agent window Aaron Lauterer
2021-01-26 17:24 ` [pve-devel] applied: [PATCH v3 docs] qm: add guest agent section Thomas Lamprecht
0 siblings, 2 replies; 4+ messages in thread
From: Aaron Lauterer @ 2021-01-25 14:54 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
changes v2->v3: incorporated suggestions from Oguz, Stoiko and Thomas
Over christmas and NYE I forgot about this patch series that's why it
took some time for v3 :/
qm.adoc | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/qm.adoc b/qm.adoc
index 9c54903..0d9c10e 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -917,6 +917,63 @@ start after those where the parameter is set. Further, this parameter can only
be enforced between virtual machines running on the same host, not
cluster-wide.
+
+[[qm_qemu_agent]]
+Qemu Guest Agent
+~~~~~~~~~~~~~~~~
+
+The Qemu Guest Agent is a service which runs inside the VM, providing a
+communication channel between the host and the guest. It is used to exchange
+information and allows the host to issue commands to the guest.
+
+For example, the IP addresses in the VM summary panel are fetched via the guest
+agent.
+
+Or when starting a backup, the guest is told via the guest agent to sync
+outstanding writes via the 'fs-freeze' and 'fs-thaw' commands.
+
+For the guest agent to work properly the following steps must be taken:
+
+* install the agent in the guest and make sure it is running
+* enable the communication via the agent in {pve}
+
+Install Guest Agent
+^^^^^^^^^^^^^^^^^^^
+
+For most Linux distributions, the guest agent is available. The package is
+usually named `qemu-guest-agent`.
+
+For Windows, it can be installed from the
+https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso[Fedora
+VirtIO driver ISO].
+
+Enable Guest Agent Communication
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Communication from {pve} with the guest agent can be enabled in the VM's
+*Options* panel. A fresh start of the VM is necessary for the changes to take
+effect.
+
+It is possible to enable the 'Run guest-trim' option. With this enabled,
+{pve} will issue a trim command to the guest after the following
+operations that have the potential to write out zeros to the storage:
+
+* moving a disk to another storage
+* live migrating a VM to another node with local storage
+
+On a thin provisioned storage, this can help to free up unused space.
+
+Troubleshooting
+^^^^^^^^^^^^^^^
+
+.VM does not shut down
+
+Make sure the guest agent is installed and running.
+
+Once the guest agent is enabled, {pve} will send power commands like
+'shutdown' via the guest agent. If the guest agent is not running, commands
+cannot get executed properly and the shutdown command will run into a timeout.
+
[[qm_spice_enhancements]]
SPICE Enhancements
~~~~~~~~~~~~~~~~~~
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] [PATCH v3 manager] gui: add help button to qm guest agent window
2021-01-25 14:54 [pve-devel] [PATCH v3 docs] qm: add guest agent section Aaron Lauterer
@ 2021-01-25 14:54 ` Aaron Lauterer
2022-03-16 14:33 ` [pve-devel] applied: " Thomas Lamprecht
2021-01-26 17:24 ` [pve-devel] applied: [PATCH v3 docs] qm: add guest agent section Thomas Lamprecht
1 sibling, 1 reply; 4+ messages in thread
From: Aaron Lauterer @ 2021-01-25 14:54 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
v1->v3: nothing
www/manager6/qemu/Options.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/qemu/Options.js b/www/manager6/qemu/Options.js
index a08da6e1..ebbd53c7 100644
--- a/www/manager6/qemu/Options.js
+++ b/www/manager6/qemu/Options.js
@@ -280,6 +280,7 @@ Ext.define('PVE.qemu.Options', {
xtype: 'proxmoxWindowEdit',
subject: gettext('Qemu Agent'),
width: 350,
+ onlineHelp: 'qm_qemu_agent',
items: {
xtype: 'pveAgentFeatureSelector',
name: 'agent',
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] applied: [PATCH v3 docs] qm: add guest agent section
2021-01-25 14:54 [pve-devel] [PATCH v3 docs] qm: add guest agent section Aaron Lauterer
2021-01-25 14:54 ` [pve-devel] [PATCH v3 manager] gui: add help button to qm guest agent window Aaron Lauterer
@ 2021-01-26 17:24 ` Thomas Lamprecht
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2021-01-26 17:24 UTC (permalink / raw)
To: Proxmox VE development discussion, Aaron Lauterer
On 25.01.21 15:54, Aaron Lauterer wrote:
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
> changes v2->v3: incorporated suggestions from Oguz, Stoiko and Thomas
>
> Over christmas and NYE I forgot about this patch series that's why it
> took some time for v3 :/
>
> qm.adoc | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 57 insertions(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] applied: [PATCH v3 manager] gui: add help button to qm guest agent window
2021-01-25 14:54 ` [pve-devel] [PATCH v3 manager] gui: add help button to qm guest agent window Aaron Lauterer
@ 2022-03-16 14:33 ` Thomas Lamprecht
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2022-03-16 14:33 UTC (permalink / raw)
To: Proxmox VE development discussion, Aaron Lauterer
On 25.01.21 15:54, Aaron Lauterer wrote:
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
>
> v1->v3: nothing
>
> www/manager6/qemu/Options.js | 1 +
> 1 file changed, 1 insertion(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-16 14:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 14:54 [pve-devel] [PATCH v3 docs] qm: add guest agent section Aaron Lauterer
2021-01-25 14:54 ` [pve-devel] [PATCH v3 manager] gui: add help button to qm guest agent window Aaron Lauterer
2022-03-16 14:33 ` [pve-devel] applied: " Thomas Lamprecht
2021-01-26 17:24 ` [pve-devel] applied: [PATCH v3 docs] qm: add guest agent section Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal