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 807546 - QMP returns error when mirroring + streaming
Summary: QMP returns error when mirroring + streaming
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 806280
TreeView+ depends on / blocked
 
Reported: 2012-03-28 06:23 UTC by Shaolong Hu
Modified: 2012-03-29 05:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-29 05:41:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shaolong Hu 2012-03-28 06:23:05 UTC
Description of problem:
------------------------
QMP returns error when mirroring + streaming

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
scratch build:
kvm-Live-block-copy-Fix-mirroring.patch based on 265

*note: 266rhev including this patch fails to be build in brew, seems short of package in brew server repo, so i can not provide a scratch build package.

How reproducible:
-------------------
1/1

Steps to Reproduce:
--------------------
1.boot guest with:
qemu-system-x86_64 -enable-kvm -M rhel6.3.0 -m 4G -name rhel6.3-64 -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -uuid 3f2ea5cd-3d29-48ff-aab2-23df1b6ae213 -drive file=/root/src/RHEL-Server-6.3-64-virtio.qcow2,cache=none,if=none,rerror=stop,werror=stop,id=drive-virtio-disk0,format=qcow2 -device ide-drive,drive=drive-virtio-disk0,id=device-virtio-disk0 -netdev tap,script=/etc/qemu-ifup,id=netdev0 -device virtio-net-pci,netdev=netdev0,id=device-net0 -boot order=cd -monitor stdio -usb -device usb-tablet,id=input0 -chardev socket,id=s1,path=/tmp/s1,server,nowait -device isa-serial,chardev=s1 -vnc :10 -monitor tcp::1234,server,nowait -smp 4 -qmp tcp:0:5555,server,nowait

2.
{"execute": "qmp_capabilities"}
{"return": {}}
{ "execute": "__com.redhat_drive-mirror", "arguments": { "device":
"drive-virtio-disk0", "target": "/root/sn1", "format": "qcow2"} }
{"return": {}}
{ "execute": "block_stream", "arguments": { "device": "drive-virtio-disk0" } }
{"return": {}}
{"return": {}}
{"error": {"class": "QMPExtraInputObjectMember", "desc": "QMP input object member 'return' is unexpected", "data": {"member": "return"}}}

3. although there is an error, info block-jobs shows streaming is activated.


Additional info:
-----------------
Hi, Marcelo, Kevin is on PTO, could you have a look at this?

Comment 2 Ademar Reis 2012-03-28 14:21:12 UTC
Mirroring is broken in 265 (check last comments in Bug 802284). Please test it again with 266rhev.

Comment 3 Shaolong Hu 2012-03-29 05:41:02 UTC
test with 267rhev, won't hit this problem, closed.


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