Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
screendump wont save PPM image file if qemu-kvm booted with '-S'
Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.330.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. boot a guest w/ '-S' option, then do screendump
[root@rhel6xwei virtlab_logs]# ls /home/hello
ls: cannot access /home/hello: No such file or directory
[root@rhel6xwei virtlab_logs]# qemu-kvm -monitor stdio -S -M rhel6.4.0
VNC server running on `::1:5900'
QEMU 0.12.1 monitor - type 'help' for more information
(qemu) screendump /home/hello
(qemu) q
[root@rhel6xwei virtlab_logs]# ls /home/hello
ls: cannot access /home/hello: No such file or directory
[root@rhel6xwei virtlab_logs]# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.330.el6.x86_64
Actual results:
PPM image file did't saved.
Expected results:
PPM image file saved.
Additional info:
1) Tried same steps w/ upstream qemu-kvm, PPM image file saved.
[root@localhost ~]# ls /home/hello
ls: cannot access /home/hello: No such file or directory
[root@localhost ~]# qemu-system-x86_64 -monitor stdio -M pc-1.3 -S
VNC server running on `::1:5900'
QEMU 1.2.50 monitor - type 'help' for more information
(qemu) screendump /home/hello
(qemu) q
[root@localhost ~]# ls /home/hello
/home/hello
2) If 'cont' then 'stop', then try 'screendump', file will be saved.
[root@rhel6xwei virtlab_logs]# ls /home/hello
ls: cannot access /home/hello: No such file or directory
[root@rhel6xwei virtlab_logs]# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.330.el6.x86_64
[root@rhel6xwei virtlab_logs]# ls /home/hello
ls: cannot access /home/hello: No such file or directory
[root@rhel6xwei virtlab_logs]# qemu-kvm -monitor stdio -S -M rhel6.4.0
VNC server running on `::1:5900'
QEMU 0.12.1 monitor - type 'help' for more information
(qemu) cont
(qemu) stop
(qemu) info status
VM status: paused
(qemu) screendump /home/hello
(qemu) q
[root@rhel6xwei virtlab_logs]# ls /home/hello
/home/hello
It's not a common usage. Upstream fixed this bug by the commit 9a51f5b0, I tried to backport to qemu-kvm-rhel6, problem can be resolved.
commit 9a51f5b0677381ed87d413e969ea72adf1f17f5f
Author: Gerd Hoffmann <kraxel>
Date: Fri Feb 24 12:43:43 2012 +0100
vga: simplify screendump
The displaychangelistener isn't needed at all, we can simply save the
image when vga_hw_update is done instead of hooking into the update
process.
Signed-off-by: Anthony Liguori <aliguori.com>
--
Assign this bug to myself.
Reproduce this bug as following version:
Host
# uname -r
2.6.32-389.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.356.el6.x86_64
Steps:
1.Boot guest
# /usr/libexec/qemu-kvm -S -M rhel6.4.0 -cpu Opteron_G4 -monitor stdio
2.Do screendump
...
VNC server running on `::1:5900'
QEMU 0.12.1 monitor - type 'help' for more information
(qemu) screendump /home/hello
Results: the screendump file did't saved.
Verify this bug as following version:
Host
# uname -r
2.6.32-389.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.376.el6.x86_64
Steps as same as reproduce
Results:The screendump file saved.
According to above test ,this bug fixed.
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/RHSA-2013-1553.html