mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-26 10:03:54 +03:00
Jonathon Jongsma
0c146b2503
Handle new nodedev name for mediated devices
libvirt recently changed the nodedev names for mediated devices due to the fact that mdevctl supports defining multiple mediated devices with the same UUID as long as only one is active at a time. This means that the nodedev name changed from the format 'mdev_$UUID' to the format 'mdev_$UUID_$PARENT'. Unfortunately, virt-install was parsing the nodedev name to extract the UUID of a mediated device. This fails with the new name format. Fortunately, in libvirt 7.3.0, a <uuid> field was added to the xml schema for mdev devices, so we can simply use this instead, and fall back to the name parsing if it doesn't exist. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
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
- Discussions and big patch series should go to the virt-tools-list mailing list.
- 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%