Bug 1008873 - qemu-kvm quit when get data from rng device in guest after wakeup from S4
Summary: qemu-kvm quit when get data from rng device in guest after wakeup from S4
Keywords:
Status: CLOSED DUPLICATE of bug 1008273
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Amos Kong
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: Virt-S3/S4-7.0
TreeView+ depends on / blocked
 
Reported: 2013-09-17 09:26 UTC by Xu Han
Modified: 2015-05-25 00:07 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-26 06:32:09 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Xu Han 2013-09-17 09:26:50 UTC
Description of problem:
qemu-kvm quit when get data from rng device in guest(RHEL6.5) after wakeup from S4.

Version-Release number of selected component (if applicable):
qemu: qemu-kvm-rhev-1.5.3-3.el7.x86_64
guest kernel: 2.6.32-419.el6.i686

How reproducible:
100%

Steps to Reproduce:
1.boot guest with rng-edg
# cat /dev/random | nc -l localhost 1024

#/usr/libexec/qemu-kvm ...
-chardev socket,host=localhost,port=1024,id=chr0 \
-object rng-egd,chardev=chr0,id=rng0 \
-device virtio-rng-pci,rng=rng0


2.do S4 on guest
#echo disk > /sys/power/state

3.wakeup guest and get data from rng device
#cat /dev/hwrng

Actual results:
after 3
hmp report 'qemu-kvm: virtio: trying to map MMIO memory' and qemu-kvm quit.

Expected results:


Additional info:
RHEL7 guest not hit this issue.

Comment 2 Amos Kong 2013-09-26 06:32:09 UTC
It's a bug of guest kernel, not qemu-kvm.

(https://bugzilla.redhat.com/show_bug.cgi?id=1008273#c7)

Comment 3 Xu Han 2013-09-26 11:19:11 UTC
Should this bug be duplicated to 1008273?  you mean they are the same issue, right?

Comment 4 Amos Kong 2013-09-26 15:29:59 UTC

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


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