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 1456983 - Character device regression due to missing patch
Summary: Character device regression due to missing patch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Marc-Andre Lureau
QA Contact: Sitong Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-30 21:10 UTC by Frediano Ziglio
Modified: 2017-08-01 17:49 UTC (History)
13 users (show)

Fixed In Version: qemu-kvm-1.5.3-140.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 17:49:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1856 0 normal SHIPPED_LIVE Moderate: qemu-kvm security, bug fix, and enhancement update 2017-08-01 18:03:36 UTC

Description Frediano Ziglio 2017-05-30 21:10:18 UTC
Description of problem:
Copying long test using spice cause a regressions with following assert
qemu-kvm: spice-qemu-char.c:173: spice_chr_add_watch: Assertion `cond == G_IO_OUT' failed.
In release 138 (commit f8d524a0f6ebd4d15eb8ba6639f428526b36e064 in rhel-7.4 branch, file kvm-serial-poll-the-serial-console-with-G_IO_HUP.patch) the patch e02bc6de30c44fd668dc0d6e1cd1804f2eed3ed3 was backported without the regression fix f7a8beb5e6a13dc924895244777d9ef08b23b367; this cause the issue.


Version-Release number of selected component (if applicable):
qemu-kvm-1.5.3-139.el7.x86_64


How reproducible:
The bug was reproduced by Swapna Krishna using internal smoketest suite.


Steps to Reproduce:
The smoketest case is copying large text from clipboard to file.


Actual results:
Qemu crashes with the wrong assert.


Expected results:
Everything works.

Comment 2 Fam Zheng 2017-05-31 08:41:14 UTC
Setting 7.2.z and 7.3.z flags because the z-stream releases are also affected.

Comment 4 Miroslav Rezanina 2017-06-06 05:14:11 UTC
Fix included in qemu-kvm-1.5.3-140.el7

Comment 5 FuXiangChun 2017-06-06 12:30:56 UTC
Before, QE has reproduced this bug as https://bugzilla.redhat.com/show_bug.cgi?id=1452332#c10.

Verified this bug with qemu-kvm-1.5.3-140.el7.x86_64 & 3.10.0-675.el7.x86_64.

steps:

1.Boot 7.4 guest.

/usr/libexec/qemu-kvm -name 'avocado-vt-vm1' -sandbox off -machine pc -nodefaults -vga cirrus -drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=qcow2,file=/home/jinzhao/rhel74.qcow2 -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=1,bus=pci.0,addr=0x3 -device virtio-net-pci,mac=9a:cf:d0:d1:d2:d3,id=id7Mhop2,vectors=4,netdev=idR2dWcT,bus=pci.0,addr=0x4 -netdev tap,id=idR2dWcT,vhost=on -m 4096 -cpu 'Opteron_G5',+kvm_pv_unhalt -rtc base=utc,clock=host,driftfix=slew -boot order=cdn,once=d,menu=off,strict=off -no-shutdown -enable-kvm -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=3000,disable-ticketing -smp 6 -m 4G -device virtio-balloon-pci,id=balloon0 -k en-us -usb -device usb-tablet,id=tablet0 -device intel-hda,id=sound0 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -monitor stdio

1=2.create text file via small script in guest

#while true;do echo "copy text testing copy text testing copy text testing">>copy-test;done

2.copy paste text(8M size) from guest to host via spice

result:
guest works well

So, set this bug as verified.

Comment 6 Ademar Reis 2017-06-07 01:26:46 UTC
The z-stream clone is for the fixes for customer Bug 1451470 (see https://bugzilla.redhat.com/show_bug.cgi?id=1451470#c51 for details)

Comment 12 errata-xmlrpc 2017-08-01 17:49:19 UTC
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.

https://access.redhat.com/errata/RHSA-2017:1856


Note You need to log in before you can comment on or make changes to this bug.