Desktop tool for managing virtual machines via libvirt
Go to file
Cole Robinson 408a39a777 virt-manager: Switch to --no-fork by default
The reason we fork by default, is to force ssh to invoke
ssh-askpass when a password is required, rather than prompt on
 a terminal no one is looking at. There's a more thorough
explanation here:
https://github.com/virt-manager/virt-manager/issues/731

With SSH_ASKPASS_REQUIRE=force, we now have a way to force ssh
to use askpass in the above scenario, when ssh and libvirt are new
enough.

The default forking behavior has caused maintenance pain in the
past, and is currently causing issues on macos:
https://github.com/virt-manager/virt-manager/issues/620

Let's flip the default to `--no-fork`. The VIRT_MANAGER_DEFAULT_FORK
env variable is there as an escape hatch incase I really miscalculated.

I don't expect many people are depending on use of askpass either
way, or if they are, they are launching virt-manager from their
desktop and not a terminal, which already gives us the correct
behavior AFAICT>

My suspicion is barely anyone will notice, which is why
I'm ok with changing this now, despite the libvirt support being
brand new.

If this doesn't raise any issues, then we can eventually drop
the forking behavior all together.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-11-12 23:12:36 +01:00
.github ci: Add test-against-libvirt-git.yml 2024-04-08 10:34:12 -04:00
data console: Default to scaling=Always 2024-11-11 14:55:26 +01:00
man virt-manager: Switch to --no-fork by default 2024-11-12 23:12:36 +01:00
po po: Refresh translation template 2024-08-16 22:43:54 +02:00
tests tests: update tests to reflect the latest panic device changes 2024-11-12 19:15:04 +01:00
ui addhardware: panic: default to asking libvirt for default model 2024-11-12 09:55:20 -05:00
virtinst fix: improve translatable message 2024-11-12 22:36:00 +01:00
virtManager virt-manager: Switch to --no-fork by default 2024-11-12 23:12:36 +01:00
.coveragerc tests: Add full test coverage for progress text output 2021-06-09 16:52:12 -04:00
.gitignore Add the translation catalog 2020-07-11 14:59:56 -04:00
.mailmap Update mailmap 2022-06-13 13:49:54 -04:00
.packit.yaml ci: tweak Packit configuration 2024-11-12 22:37:39 +01:00
.pylintrc pylint: fix false positive errors 2024-10-13 17:11:06 +02:00
CONTRIBUTING.md Scrub references to virt-tools-list 2024-09-06 15:10:04 -04:00
COPYING COPYING: use license file from gnu.org 2021-10-04 16:26:08 -04:00
DESIGN.md DESIGN.md: disk serial is back, but disk detect zeroes is gone 2022-03-09 13:30:16 -05:00
INSTALL.md INSTALL: Correctly document that we require pygobject >= 3.31.1 2022-02-20 12:31:52 -05:00
MANIFEST.in Add DESIGN.md 2020-01-26 12:14:18 -05:00
NEWS.md Prep for release 4.1.0 2022-08-04 15:53:33 -04:00
README.md Scrub references to virt-tools-list 2024-09-06 15:10:04 -04:00
setup.cfg setup: Add --tb=native to pytest options 2020-08-26 15:20:06 -04:00
setup.py Scrub references to virt-tools-list 2024-09-06 15:10:04 -04:00
virt-clone virt-*: invoke python3 using /usr/bin/env 2021-10-04 16:26:08 -04:00
virt-install virt-*: invoke python3 using /usr/bin/env 2021-10-04 16:26:08 -04:00
virt-manager virt-*: invoke python3 using /usr/bin/env 2021-10-04 16:26:08 -04:00
virt-manager.spec xmleditor: make gtksourceview optional 2024-06-06 10:25:26 +02:00
virt-xml virt-*: invoke python3 using /usr/bin/env 2021-10-04 16:26:08 -04:00

Virtual Machine Manager

virt-manager is a graphical tool for managing virtual machines via libvirt. Most usage is with QEMU/KVM virtual machines, but Xen and libvirt LXC containers are well supported. Common operations for any libvirt driver should work.

Several command line tools are also provided:

  • virt-install: Create new libvirt virtual machines
  • virt-clone: Duplicate existing libvirt virtual machines
  • virt-xml: Edit existing libvirt virtual machines/manipulate libvirt XML

For dependency info and installation instructions, see the INSTALL.md file. If you just want to quickly test the code from a git checkout, you can launch any of the commands like:

./virt-manager --debug ...

Contact