Bug 1087142 - add blockdev-add support with glusterfs backends
Summary: add blockdev-add support with glusterfs backends
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
Depends On:
Blocks: 750801 1159726
TreeView+ depends on / blocked
Reported: 2014-04-14 04:28 UTC by Sibiao Luo
Modified: 2014-11-03 17:27 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1086677
: 1159726 (view as bug list)
Last Closed: 2014-11-03 17:27:20 UTC

Attachments (Terms of Use)

Comment 1 Sibiao Luo 2014-04-14 04:33:06 UTC
1.Prepare a glusterfs disk.
# qemu-img info gluster://
image: gluster://
file format: qcow2
virtual size: 10G (10737418240 bytes)
disk size: 193K
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false

2.Hot-plug it with "blockdev-add".
{"return": {}}
{ "execute": "blockdev-add", "arguments": {'options' : {'driver': 'qcow2', 'id':'drive-disk1', "aio":"native", 'rerror':'stop', 'werror':'stop', 'file': {'driver': 'file', 'filename': 'gluster://'}, 'cache': { 'writeback': false, 'direct': true, 'no-flush': false }}} }
{"error": {"class": "GenericError", "desc": "could not open disk image drive-disk1: Could not open file: No such file or directory"}}

Best Regards,

Comment 2 Markus Armbruster 2014-11-03 17:27:20 UTC
blockdev-add is a work in progress upstream.  At this time, we intend to bring the results to RHEL-7 qemu-kvm-rhev, but not to qemu-kvm.

blockdev-add support for gluster is being worked on upstream.  It should find its way into qemu-kvm-rhev via rebase or backport (bug 1159726).  We don't intend to backport it to qemu-kvm.

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