]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: add `console --resume` support
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Thu, 28 Sep 2023 15:37:08 +0000 (17:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 24 Oct 2023 11:51:32 +0000 (13:51 +0200)
commit49e3e7f9e83a5fced6c666d724cbc3edc0d362d0
treebf6cb7b20385f20b986506cb2d4a6bf8d5e26b44
parent1622012cc42b983300015a6661b1ca67d40376ad
virsh: add `console --resume` support

This patch adds the command line flag `--resume` to the `virsh console`
command. This resumes a paused guest after connecting to the console.
This might be handy since it's a "common" pattern to start a guest
paused, connect to the console, and then resume it so as not to miss any
console messages.

Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/manpages/virsh.rst
tools/virsh-console.c
tools/virsh-console.h
tools/virsh-domain.c