Bug 1018655 - QMP: add errno information to OpenFileFailed error
Summary: QMP: add errno information to OpenFileFailed error
Keywords:
Status: CLOSED DUPLICATE of bug 907743
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 806775
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-14 06:00 UTC by Qian Guo
Modified: 2013-10-14 06:29 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 806775
Environment:
Last Closed: 2013-10-14 06:29:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 1 Qian Guo 2013-10-14 06:04:22 UTC
Test this bug in RHEL7 host, components:

# uname -r
3.10.0-33.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.5.3-8.el7.x86_64


start cli w/ qmp:
<qemu-kvm cli> ... -qmp tcp:0:4555,server,nowait

hit same issue in RHEL7, the error is just like this:

{ "execute": "memsave",
             "arguments": { "val": 10,
                            "size": 100,
                            "filename": "/lll/lsl" } } 
{"error": {"class": "GenericError", "desc": "Could not open '/lll/lsl'"}}

{ "execute": "transaction",
     "arguments": { "actions": [
         { 'type': 'blockdev-snapshot-sync', 'data' : { "device": "drive-virtio-disk0","snapshot-file": "/some/place/my-image","format": "qcow2" } },{ 'type': 'blockdev-snapshot-sync', 'data' : { "device": "ide1-cd0","snapshot-file": "/some/place/my-image2","mode": "existing","format": "qcow2" } } ] } }
{"error": {"class": "DeviceNotFound", "desc": "Device 'drive-virtio-disk0' not found"}}

{ "execute": "change",
             "arguments": { "device": "ide1-cd0",
              "target": "/home/a"}}
{"error": {"class": "GenericError", "desc": "Could not open '/home/a'"}}


so cloned this bug


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