1.231. python-virtinst

An updated python-virtinst package that fixes bugs and adds enhancements is now available for Red Hat Enterprise Linux 6.
The python-virtinst utility is a module that helps build and install libvirt based virtual machines.
The python-virtinst package has been upgraded to upstream version 0.500.5, which provides a number of bug fixes and enhancements over the previous version.
Bug Fixes
When changing the acpi or apic values in virt-manager, virtinst would unset the values. This change now checks for the feature and ensures the value is retained allowing virtinst to parse domain features correctly.
Added support for audio device 'ich6'.
When specifying a wrong volume format type an error message would not display. This change informs the user by raising the appropriate error message when the storage pool cannot find the appropriate volume.
The %d string format was being used in the --check-cpu error message causing an incorrect error message to display to the user. This fix uses the correct %s numeric format resulting in the correct error message to display.
virt-install would fail to install the guest when the --nonsparse option was invoked. This issue has been resolved.
When specifying spice as a graphic console for the guest and assigning a static port number the resulting output does not retain the port number. This fix ensures that the port number is retained.
virt-install now includes support for unix sockets. This enhancement adds the ability to restrict the vnc connection to provide greater security to the guest.
When converting the type of guest image from virt-image to vmx the resulting output is not a genuine status message. This fix changes the output into a useful format for the user.
virt install would display the wrong error message when invoking --print-xml. This fix ensures the correct error message is displayed.
virt-install now includes the --machine option. This is useful for manually choosing the guest machine type to emulate.
An error message informing the user that libvirtd needs to be started is now displayed when virt-install is used without libvirtd running.
virt-install would give the user an unclear error message and exit when given an invalid location to the installation tree. This forced the user to re-enter the installation command. This fix gives the user the appropriate error message and then prompts them for the valid location so the user does not have to re-enter the entire command.
Unless the file image is already managed by libvirt, when a user specifies an existing file image with virt-install there is no warning displayed telling the user that the file will be overwritten. With this change the user is now prompted if the file already exists giving the user an opportunity to make any necessary corrections before overwriting the file image.
qemu was not executing efficiently based on the storage type. With this fix, when async IO (aio), storage is block based (lvm, iscsi, fc) qemu is executed with aio=native. When the storage is file based (local filesystem, NFS), qemu is executed with aio=threads. This results in improved performance.
virt-convert now includes support for qcow, qcow2, and cow formats.
This change reports to the user the correct variant of Red Hat Enterprise Linux 3 Update 9 guest when it is detected as the previous version would report Red Hat Enterprise Linux 4.
Previous versions of virt-install would prompt the user to insert installation media when the --prompt option was used and the install source was set to /dev/cdrom. This fix allows the installation to proceed if both of the preceeding conditions exist.
Previous versions of virt-install would not display an error message if --extra-args is specified without --location. This fix displays an error message informing the user of the correct usage.
virt-convert did not preserve the storage format in the generated xml configuration file causing some image files to fail to boot with the error "no bootable device". The xml configuration now correctly preserves the storage format allowing the image to boot successfully.
Previous versions of virt-install checked the first bytes of the disk image's master boot to ensure the disk image was valid. However, this check only worked with raw disk. This update skips the check on non-raw disks.
virt-install would put keymap into the generated xml file causing qemu internal keymaps to be used resulting in the possiblity of broken keyboards. This update fixes the default keymap for qemu and ensures correct operation of the -k option.
virt-install may go into an indefinite loop when looking up a volume if the specified storage pool did not exist. This issue has been addressed and fixed.
An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately.
virt-install enhancements include the following options:
  • --cpu for configuring CPU model/features
  • --vcpus for specifying CPU topology
  • --print-xml for generating guest XML
  • --console for specifying virtio console device
  • --channel for specifying guest communication channel
  • --boot for setting post-install boot order, direct kernel/initrd boot, and enabling boot device menu.
All users of python-virtinst are advised to upgrade to these updated packages, which correct these issues and add these enhancements.
An updated python-virtinst package that fixes one bug is now available for Red Hat Enterprise Linux 6.
The python-virtinst module helps build and install libvirt based virtual machines. It provides several command line utilities, such as virt-clone, which clones existing virtual machine images with the libvirt library.
Bug Fix
The python-virtinst module often called the ifconfig program unnecessarily when parsing a domain XML file. If a domain contained many "direct" network interfaces, the virt-manager application responded so slowly that it could not be used properly. With this update, the redundant ifconfig calls have been removed from the code, and virt-manager now works well even with large number of "direct" network interfaces.
All users of python-virtinst are advised to upgrade to this updated package, which fixes this bug.