mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
8564ace73a9a2b596c9206d16833904be993c6c2
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>
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 machinesvirt-clone: Duplicate existing libvirt virtual machinesvirt-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
- For IRC we use #virt on OFTC.
- For bug reporting info, see virt-manager bug reporting.
- There are further project details on the virt-manager website.
- See the CONTRIBUTING.md file for info about submitting patches or contributing translations.
Description
Languages
Python
99.4%
Meson
0.6%