Lin Ma 8564ace73a cli: Add --memdev target.dynamicMemslots support for virtio-mem
Libvirt supports setting dynamicMemslots attribute for virtio-mem since
v10.1.0, Let's add it into virt-install. Eg:

virt-install \
......
--vcpu 2 \
--cpu cell0.cpus=0,cell0.memory=4194304,\
cell1.cpus=1,cell1.memory=4194304 \
--memory maxMemory=65536,maxMemory.slots=8 \
--memdev model=virtio-mem,\
target.node=0,\
target.block=2048,\
target.size=8192,\
target.dynamicMemslots=yes \
......

It results in the following domain XML snippet:
    <memory model='virtio-mem'>
      <target dynamicMemslots='yes'>
        ......
    </memory>

Signed-off-by: Lin Ma <lma@suse.de>
2025-01-29 10:25:37 +01:00
2025-01-09 16:17:28 +01:00
2024-11-26 20:53:59 +01:00
2025-01-24 21:09:17 +01:00
2025-01-09 15:45:48 +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-26 20:53:59 +01:00
2025-01-27 09:59:51 +01:00
2024-09-06 15:10:04 -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

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