Bug 710489
Summary: | RFE: Add support for taking screenshots of secondary monitors | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Michal Privoznik <mprivozn> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | dallan, dyuan, eblake, mzhan, vbian, ydu |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.9.4-6.el6 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 11:12:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 705070, 729969 | ||
Bug Blocks: | 691830, 693512 |
Description
Michal Privoznik
2011-06-03 14:30:42 UTC
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 |