Bug 643311

Summary: PATCH: spice-core: fix watching for write events
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: amit.shah, berrange, dwmw2, ehabkost, itamar, jaswinder, jforbes, knoel, kraxel, ondrejj, scottt.tw, tburke, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-16 11:54:19 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:
Attachments:
Description Flags
PATCH: spice-core: fix watching for write events
none
PATCH: spice: fix watching for write events none

Description Hans de Goede 2010-10-15 09:06:23 UTC
Created attachment 453682 [details]
PATCH: spice-core: fix watching for write events

Hi,

Please include this patch in the next qemu build for F-14. If no build is done before GA, please do a build with just this patch. This fixes a few nasty hangs in qemu + spice virtual machines with Linux as guest.

Thanks,

Hans

Comment 1 Gerd Hoffmann 2010-10-15 10:06:10 UTC
Patch submitted upstream:
http://patchwork.ozlabs.org/patch/67913/

Comment 2 Justin M. Forbes 2010-10-19 04:00:52 UTC
Not sure what you are patching, since that file doesn't exist in F14 qemu.  I will take a look at backporting, but it will have to be as a zero day update.  In the meantime, the F14 qemu tree is at http://git.fedorahosted.org/git/qemu-kvm-fedora.git

Comment 3 Hans de Goede 2010-10-19 08:03:28 UTC
(In reply to comment #2)
> Not sure what you are patching, since that file doesn't exist in F14 qemu.

Ah, oopsee, the code in question is in spice.c in F14 qemu, other then the file name difference the patch should apply unmodified.

Thanks,

Hans

Comment 4 Hans de Goede 2011-02-13 16:41:17 UTC
Created attachment 478491 [details]
PATCH: spice: fix watching for write events

Hi,

I just ran into this again while testing a F14 spice update. Can we please get
this fixed? This makes us (spice) look rather bad. If a user takes the trouble
to install spice-agent and attempts to copy paste between guest and client, qemu
will hang with 100% cpu usage because of this bug.

Here is a git format-patch fromatted patch to be applied on the F-14 branch of:
http://git.fedorahosted.org/git/?p=qemu-kvm-fedora.git

If it is ok with you I can prepare an F-14 qemu update myself and build and submit it to bodhi. While at it I can also tackle any other easy bugs / bugs with valid patches if there are any (you will need to point them out to me).

Would that be ok?

Regards,

Hans

Comment 5 Hans de Goede 2012-04-16 11:54:19 UTC
Fedora 14 has gone eol in the mean time, so this bug can be closed.