[Pkg-libvirt-maintainers] Bug#583111: libvirt0 fails to create video devices and register them in the config file

IAN DELANEY johneed at hotmail.com
Tue May 25 13:38:24 UTC 2010







Package: libvirt0
Version: 0.7.6-1~bpo50+1
Severity: normal
Tags: lenny

*** Please type your report below this line ***

Using the virt-manager supplies the options if adding 'hardware' to the 
vm.  Normally I use this option to add storage devices.  This version of 
libvirt and virt-manager offer a number of options more than prior 
version.  It would be preferable that they actually add hardware.
Some items can't be added, and is indicated by a message if the feature 
is not supported.

In this example, I've included a video device.  Beginnig with the regular 
.cfg file, the vm was created.  Converting to .xml, I added the video 
device. Here ia a portion;

    <console type='pty' tty='/dev/pts/2'>
      <source path='/dev/pts/2'/>
      <target port='0'/>
    </console>
    <input type='mouse' bus='usb'/>
    <video>
      <model type='cirrus'>
        </model>
      </video>   
      <graphics type='vnc' port='5904' autoport='no' keymap='en-us'/>
  </devices>

In virsh, I defined and started the vm.  Then from virsh, an xml dump, 
the relevant portion;

    <interface type='bridge'>
      <mac address='00:16:3e:51:4e:51'/>
      <source bridge='eth0'/>
      <script path='/etc/xen/scripts/vif-bridge'/>
      <target dev='vif19.0'/>
    </interface>
    <console type='pty' tty='/dev/pts/7'>
      <source path='/dev/pts/7'/>
      <target port='0'/>
    </console>
    <input type='mouse' bus='xen'/>
    <graphics type='vnc' port='5904' autoport='no' keymap='en-us'/>
  </devices>

No video device.  The vm needs one and it hasn't got one.
Whil the vm is not running, one ought be able to use the virt vnc console 
options under the Details tab to add hardware.  Adding the video comes to 
nothing.  Other options are effective. 

If the option chosen is not supported, the message not supported is 
invoked.
For the video selection, no message is invoked.  No error is reported or 
registered.  That being the case, it should be accepted.  It doesn't get  
added.  libvirt normally can bomabard with error messages, but there are 
none.

The video entry is straight from the virtlib docs that come with the 
distro for that version.  It just fails. Another freshly installed hvm vm 
presumably has a video element installed in it, but it doesn't appear in 
the hardware details tab list.

I've installed xen-3.3.3 from source into this lenny.


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-xen-r10AMD-64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libvirt0 depends on:
ii  libc6             2.7-18lenny2           GNU C Library: Shared libraries
ii  libgcrypt11       1.4.1-1                LGPL Crypto library - runtime libr
ii  libgnutls26       2.4.2-6+lenny2         the GNU TLS library - runtime libr
ii  libgpg-error0     1.4-2                  library for common error values an
ii  libsasl2-2        2.1.22.dfsg1-23+lenny1 Cyrus SASL - authentication abstra
ii  libtasn1-3        1.4-1                  Manage ASN.1 structures (runtime)
ii  libxenstore3.0    3.2.1-2                Xenstore communications library fo
ii  libxml2           2.6.32.dfsg-5+lenny1   GNOME XML library
ii  zlib1g            1:1.2.3.3.dfsg-12      compression library - runtime

Versions of packages libvirt0 recommends:
ii  lvm2                          2.02.39-7  The Linux Logical Volume Manager

libvirt0 suggests no packages. 		 	   		  
_________________________________________________________________
Need a new place to live? Find it on Domain.com.au
http://clk.atdmt.com/NMN/go/157631292/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20100525/accf5bb8/attachment.htm>


More information about the Pkg-libvirt-maintainers mailing list