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.

Bug 725645

Summary: Operation inside guest should be disabled when guest is during 'paused' status
Product: Red Hat Enterprise Linux 6 Reporter: Qunfang Zhang <qzhang>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.2CC: gyue, juzhang, michen, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-13 09:47:53 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:

Description Qunfang Zhang 2011-07-26 07:28:22 UTC
Description of problem:
Boot a guest and open some windows or open a text document in the desktop and then stop the guest by 'stop' qemu command. Do some operation inside guest while the guest is 'paused' status. For example, input some string in the opened text document, or close the text document/windows. Then resume the guest by 'cont' qemu command. As a result all the operation above will be executed after resume the guest.
That is not good if some important program is running or the shutdown button is displayed on desktop but will be mis-operated unexpectedly.

Version-Release number of selected component (if applicable):
kernel-2.6.32-171.el6.x86_64
qemu-kvm-0.12.1.2-2.171.el6.x86_64
seabios-0.6.1.2-3.el6.x86_64
vgabios-0.6b-3.6.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1.Boot a guest and open a text document or some windows in the guest desktop.
2.stop the guest
{"execute":"stop"}

3.Do some operation inside guest while the guest is paused.
For example, close the text document or close the windows.

4. Resume the guest.
{"execute":"cont"}

  
Actual results:
the windows/text document will be closed after resume the guest.

Expected results:
All the operation should be disabled when guest is in 'paused' status.

Additional info:

Comment 2 Dor Laor 2011-09-12 07:04:09 UTC
Interesting, low priority but worth fixing

Comment 3 Gerd Hoffmann 2011-09-12 08:08:33 UTC
Shouldn't this be done in virt-manager?  virt-manager already know the state of the guest and can (a) inform the user and (b) stop sending events.  The only thing qemu-kvm could do is silently throw away events which isn't exactly user friendly ...

Not sure how to do it best for the rhev-m use case.  Guess this one needs broader discussion.

Comment 5 Gerd Hoffmann 2011-12-12 11:19:21 UTC
Hmm, this sort-of conflicts with bug #766303 ...

Comment 6 Dor Laor 2011-12-13 09:47:53 UTC
(In reply to comment #5)
> Hmm, this sort-of conflicts with bug #766303 ...

Not necessarily since #766303 is only in case of s3 but not pause mode.
I do think qemu should block it regardless of virt-manager. It is low priority so I'll close it as won't fix and Gerd is welcome to solve it upstream