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
BZ#683100
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.
BZ#683103
Added support for audio device 'ich6'.
BZ#683182
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.
BZ#676995
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.
BZ#678374
virt-install would fail to install the guest when the --nonsparse option was invoked. This issue has been resolved.
BZ#682697
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.
BZ#658914
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.
BZ#678214
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.
BZ#683320
virt install would display the wrong error message when invoking --print-xml. This fix ensures the correct error message is displayed.
BZ#592172
virt-install now includes the --machine option. This is useful for manually choosing the guest machine type to emulate.
BZ#598157
An error message informing the user that libvirtd needs to be started is now displayed when virt-install is used without libvirtd running.
BZ#598170
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.
BZ#607091
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.
BZ#611205
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.
BZ#612842
virt-convert now includes support for qcow, qcow2, and cow formats.
BZ#616359
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.
BZ#616430
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.
BZ#622661
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.
BZ#622684
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.
BZ#624714
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.
BZ#638523
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.
BZ#642719
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.
BZ#672987
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.
Enhancements
BZ#658963
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
BZ#726615
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.