Hide Forgot
Description of problem: Currently, QEMU supports taking screenshots of the first monitor only. But once it extends its functionality, libvirt should allow this as well. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
In POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-August/msg00521.html
tested with following rpms[1] , and failed . Eric , would you please help confirm if I did the correct configuration for guest, and did the right steps to verify this bug ? If I was right , then bug status should have been changed to ASSIGNED [1] rpms libvirt-0.9.4-6.el6 qemu-kvm-0.12.1.2-2.184.el6 kernel-2.6.32-191.el6 Steps : 1. configure guest with multiple spice QXL video devices <video> <model type='qxl' vram='9216' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <video> <model type='qxl' vram='9216' heads='1'/> <alias name='video1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </video> <video> <model type='qxl' vram='9216' heads='1'/> <alias name='video2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </video> 2. start guest 3. check guest qemu-kvm parameters : qemu-kvm \ -spice port=5900,tls-port=5901,addr=0.0.0.0,disable-ticketing,x509-dir=/etc /pki/libvirt-spice \ -vga qxl -global qxl-vga.vram_size=9437184 -device qxl,id=video1,vram_size=9437184,bus=pci.0,addr=0x7 -device qxl,id=video2,vram_size=9437184,bus=pci.0,addr=0x8 4. # virsh screenshot rhel6 /tmp/rhel6 error: could not take a screenshot of rhel6 error: internal error unable to execute QEMU command 'screendump': The command screendump has not been found # virsh screenshot rhel6 /tmp/rhel6 --screen1 error: command 'screenshot' doesn't support option --screen1 [root@dhcp-93-106 ~]# virsh screenshot rhel6 /tmp/rhel6 --screen 1 error: could not take a screenshot of rhel6 error: internal error unable to execute QEMU command '__com.redhat_qxl_screendump': An undefined error has ocurred # virsh screenshot rhel6 /tmp/rhel6 --screen 2 error: could not take a screenshot of rhel6 error: internal error unable to execute QEMU command '__com.redhat_qxl_screendump': An undefined error has ocurred
Will try to verify this bug once https://bugzilla.redhat.com/show_bug.cgi?id=729969 get fixed .
Test with following packages: libvirt-0.9.4-18.el6.x86_64 qemu-kvm-0.12.1.2-2.197.el6.x86_64 kernel-2.6.32-210.el6.x86_64 since there's only windows qxl driver for winXP and win7_x86, only test for these two guests, and can get screen shot by virsh command: screenshot <domain> [<file>] [--screen <number>]. So bug VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1513.html