[Pkg-libvirt-maintainers] Bug#647606: Bug#647606: [libvirt-bin] virsh screenshot domain not working (cannot get screenshot of domain using virsh)

Guido Günther agx at sigxcpu.org
Fri Nov 4 19:26:10 UTC 2011


On Fri, Nov 04, 2011 at 02:23:52PM +0100, David Pravec wrote:
> Package: libvirt-bin
> Version: 0.9.6-2
> Severity: normal
> 
> --- Please enter the report below this line. ---
> when i am trying to get screenshot using libvirt,
> my code blocks forever, waiting for image data.... which are not coming.
> 
> This happens when i do use libvirt from python as a library, and
> also when i use command
> 'virsh screenshot domain', which should fetch domain screenshot and
> save it into file.
> 
> Some people on #virsh irc channel told me that its working on other
> systems,
> one of them confirmed that his sid machine also doesnt work well.
> This might mean its a packaging issue...
> 
> I was not able to fully identify reason for this failure, as the
> python code is waiting forever for some C library...
> When i was testing following code, the problem occurs in last line:
> stream.recvAll(handler, fd)
> 
> (it never calls the handler, just waiting forever)
Did you try taking a screeshot with kvm directly?
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list