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

Guido Günther agx at sigxcpu.org
Thu Jul 29 14:41:17 UTC 2010


Hi Ian,
On Tue, May 25, 2010 at 09:38:24PM +0800, IAN DELANEY wrote:
> 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.
I don't understand. The XML is there but you can't connect to the VNC
port? There are newer verions on backports.org that you could check.
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list