Bug 511376 - Possible to crash a guest by setting migration speed
Summary: Possible to crash a guest by setting migration speed
Keywords:
Status: CLOSED DUPLICATE of bug 522887
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Glauber Costa
QA Contact: Lawrence Lim
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-14 20:48 UTC by Glauber Costa
Modified: 2014-03-26 00:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-21 12:58:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Glauber Costa 2009-07-14 20:48:18 UTC
Description of problem:

qemu-kvm segfaults when one tries to change a migration speed after a migration has finished (in any state). I consider this pretty harsh, since a small mistake can lead to a guest crash. To be honest, I have no idea how I never came across this before.


How reproducible:
100 %

Steps to Reproduce:
In the monitor of src machine:
1. migrate <params>
2. wait until it fails/finishes
3. migrate_set_speed <whatever>
  
Actual results:
crash

Expected results:
migrate_set_speed is ignored, since it makes no sense to set speed of a migration that does not exist.

Additional info:
The problem exists upstream too, and a patch was sent by me today.
The patch (if accepted in its current state) is pretty trivial, and do not introduce further risks. Given a harm/risk ratio, I say we should consider it for inclusion as soon as upstream takes it.

Comment 1 Glauber Costa 2009-07-20 14:18:51 UTC
Followup: committed upstream.

Comment 2 Glauber Costa 2010-01-21 12:58:53 UTC

*** This bug has been marked as a duplicate of bug 522887 ***


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