Lin Ma 1c0f7f62e8 virt-install: Add support for blockio.discard_granularity
E.g.
    virt-install \
    ... \
    --disk /tmp/disk0.qcow2,size=16,driver.type=qcow2,blockio.discard_granularity=4096

  It results in the following domain xml:
  <disk type='file' device='disk'>
    <driver name='qemu' type='qcow2' discard='unmap'/>
    <source file='/tmp/disk0.qcow2'/>
    <target dev='vda' bus='virtio'/>
    <blockio discard_granularity="4096"/>
  </disk>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
2024-11-12 23:18:32 +01:00
2024-11-12 23:18:32 +01:00
2024-11-13 08:12:10 +01:00
2024-11-12 23:18:32 +01:00
2024-11-12 23:18:32 +01:00
2024-11-12 23:18:32 +01:00
2022-06-13 13:49:54 -04:00
2024-10-13 17:11:06 +02:00
2021-10-04 16:26:08 -04:00
2024-11-12 23:18:32 +01:00
2024-11-12 23:18:32 +01:00
2022-08-04 15:53:33 -04:00
2024-09-06 15:10:04 -04:00
2024-11-12 23:18:32 +01: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

Description
Desktop tool for managing virtual machines via libvirt
Readme 100 MiB
Languages
Python 99.4%
Meson 0.6%