ae23c9
From 53c3256f19482b02a18c9402908df39ec498fdef Mon Sep 17 00:00:00 2001
ae23c9
From: Kevin Wolf <kwolf@redhat.com>
ae23c9
Date: Tue, 26 Jun 2018 09:48:52 +0200
ae23c9
Subject: [PATCH 144/268] block/create: Mark blockdev-create stable
ae23c9
ae23c9
RH-Author: Kevin Wolf <kwolf@redhat.com>
ae23c9
Message-id: <20180626094856.6924-70-kwolf@redhat.com>
ae23c9
Patchwork-id: 81104
ae23c9
O-Subject: [RHV-7.6 qemu-kvm-rhev PATCH v2 69/73] block/create: Mark blockdev-create stable
ae23c9
Bugzilla: 1513543
ae23c9
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
ae23c9
RH-Acked-by: Max Reitz <mreitz@redhat.com>
ae23c9
RH-Acked-by: Fam Zheng <famz@redhat.com>
ae23c9
ae23c9
We're ready to declare the blockdev-create job stable. This renames the
ae23c9
corresponding QMP command from x-blockdev-create to blockdev-create.
ae23c9
ae23c9
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
ae23c9
Reviewed-by: Max Reitz <mreitz@redhat.com>
ae23c9
Reviewed-by: Jeff Cody <jcody@redhat.com>
ae23c9
(cherry picked from commit 3fb588a0f2c006122c34e1960a15c87ae2b927eb)
ae23c9
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
ae23c9
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
ae23c9
---
ae23c9
 block/create.c             |  4 ++--
ae23c9
 qapi/block-core.json       |  4 ++--
ae23c9
 qapi/job.json              |  2 +-
ae23c9
 tests/qemu-iotests/206     |  2 +-
ae23c9
 tests/qemu-iotests/206.out | 54 +++++++++++++++++++++++-----------------------
ae23c9
 tests/qemu-iotests/207     |  2 +-
ae23c9
 tests/qemu-iotests/207.out | 18 ++++++++--------
ae23c9
 tests/qemu-iotests/210     |  2 +-
ae23c9
 tests/qemu-iotests/210.out | 18 ++++++++--------
ae23c9
 tests/qemu-iotests/211     |  2 +-
ae23c9
 tests/qemu-iotests/211.out | 24 ++++++++++-----------
ae23c9
 tests/qemu-iotests/212     |  2 +-
ae23c9
 tests/qemu-iotests/212.out | 42 ++++++++++++++++++------------------
ae23c9
 tests/qemu-iotests/213     |  2 +-
ae23c9
 tests/qemu-iotests/213.out | 44 ++++++++++++++++++-------------------
ae23c9
 15 files changed, 111 insertions(+), 111 deletions(-)
ae23c9
ae23c9
diff --git a/block/create.c b/block/create.c
ae23c9
index 1a263e4..915cd41 100644
ae23c9
--- a/block/create.c
ae23c9
+++ b/block/create.c
ae23c9
@@ -63,8 +63,8 @@ static const JobDriver blockdev_create_job_driver = {
ae23c9
     .start         = blockdev_create_run,
ae23c9
 };
ae23c9
 
ae23c9
-void qmp_x_blockdev_create(const char *job_id, BlockdevCreateOptions *options,
ae23c9
-                           Error **errp)
ae23c9
+void qmp_blockdev_create(const char *job_id, BlockdevCreateOptions *options,
ae23c9
+                         Error **errp)
ae23c9
 {
ae23c9
     BlockdevCreateJob *s;
ae23c9
     const char *fmt = BlockdevDriver_str(options->driver);
ae23c9
diff --git a/qapi/block-core.json b/qapi/block-core.json
ae23c9
index 050fbf3..b0f41f1 100644
ae23c9
--- a/qapi/block-core.json
ae23c9
+++ b/qapi/block-core.json
ae23c9
@@ -4025,7 +4025,7 @@
ae23c9
   } }
ae23c9
 
ae23c9
 ##
ae23c9
-# @x-blockdev-create:
ae23c9
+# @blockdev-create:
ae23c9
 #
ae23c9
 # Starts a job to create an image format on a given node. The job is
ae23c9
 # automatically finalized, but a manual job-dismiss is required.
ae23c9
@@ -4036,7 +4036,7 @@
ae23c9
 #
ae23c9
 # Since: 3.0
ae23c9
 ##
ae23c9
-{ 'command': 'x-blockdev-create',
ae23c9
+{ 'command': 'blockdev-create',
ae23c9
   'data': { 'job-id': 'str',
ae23c9
             'options': 'BlockdevCreateOptions' } }
ae23c9
 
ae23c9
diff --git a/qapi/job.json b/qapi/job.json
ae23c9
index 69c1970..17d1003 100644
ae23c9
--- a/qapi/job.json
ae23c9
+++ b/qapi/job.json
ae23c9
@@ -17,7 +17,7 @@
ae23c9
 #
ae23c9
 # @backup: drive backup job type, see "drive-backup"
ae23c9
 #
ae23c9
-# @create: image creation job type, see "x-blockdev-create" (since 3.0)
ae23c9
+# @create: image creation job type, see "blockdev-create" (since 3.0)
ae23c9
 #
ae23c9
 # Since: 1.7
ae23c9
 ##
ae23c9
diff --git a/tests/qemu-iotests/206 b/tests/qemu-iotests/206
ae23c9
index b8cf2e7..128c334 100755
ae23c9
--- a/tests/qemu-iotests/206
ae23c9
+++ b/tests/qemu-iotests/206
ae23c9
@@ -26,7 +26,7 @@ from iotests import imgfmt
ae23c9
 iotests.verify_image_format(supported_fmts=['qcow2'])
ae23c9
 
ae23c9
 def blockdev_create(vm, options):
ae23c9
-    result = vm.qmp_log('x-blockdev-create', job_id='job0', options=options)
ae23c9
+    result = vm.qmp_log('blockdev-create', job_id='job0', options=options)
ae23c9
 
ae23c9
     if 'return' in result:
ae23c9
         assert result['return'] == {}
ae23c9
diff --git a/tests/qemu-iotests/206.out b/tests/qemu-iotests/206.out
ae23c9
index 34451a3..789eebe 100644
ae23c9
--- a/tests/qemu-iotests/206.out
ae23c9
+++ b/tests/qemu-iotests/206.out
ae23c9
@@ -1,13 +1,13 @@
ae23c9
 === Successful image creation (defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 {'execute': 'blockdev-add', 'arguments': {'node_name': 'imgfile', 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}
ae23c9
 {u'return': {}}
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -24,12 +24,12 @@ Format specific information:
ae23c9
 
ae23c9
 === Successful image creation (inline blockdev-add, explicit defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'nocow': False, 'preallocation': 'off', 'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'nocow': False, 'preallocation': 'off', 'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 65536, 'refcount-bits': 16, 'version': 'v3', 'preallocation': 'off', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'lazy-refcounts': False, 'driver': 'qcow2', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 65536, 'refcount-bits': 16, 'version': 'v3', 'preallocation': 'off', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'lazy-refcounts': False, 'driver': 'qcow2', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -46,12 +46,12 @@ Format specific information:
ae23c9
 
ae23c9
 === Successful image creation (v3 non-default options) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'nocow': True, 'preallocation': 'falloc', 'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'nocow': True, 'preallocation': 'falloc', 'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 2097152, 'refcount-bits': 1, 'version': 'v3', 'preallocation': 'metadata', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'lazy-refcounts': True, 'driver': 'qcow2', 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 2097152, 'refcount-bits': 1, 'version': 'v3', 'preallocation': 'metadata', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'lazy-refcounts': True, 'driver': 'qcow2', 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -68,12 +68,12 @@ Format specific information:
ae23c9
 
ae23c9
 === Successful image creation (v2 non-default options) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 512, 'backing-fmt': 'qcow2', 'driver': 'qcow2', 'version': 'v2', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'backing-file': 'TEST_DIR/PID-t.qcow2.base', 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 512, 'backing-fmt': 'qcow2', 'driver': 'qcow2', 'version': 'v2', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'backing-file': 'TEST_DIR/PID-t.qcow2.base', 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -90,7 +90,7 @@ Format specific information:
ae23c9
 
ae23c9
 === Successful image creation (encrypted) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'encrypt': {'key-secret': 'keysec0', 'iter-time': 10, 'cipher-mode': 'ctr', 'ivgen-hash-alg': 'md5', 'cipher-alg': 'twofish-128', 'format': 'luks', 'ivgen-alg': 'plain64', 'hash-alg': 'sha1'}, 'driver': 'qcow2', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'encrypt': {'key-secret': 'keysec0', 'iter-time': 10, 'cipher-mode': 'ctr', 'ivgen-hash-alg': 'md5', 'cipher-alg': 'twofish-128', 'format': 'luks', 'ivgen-alg': 'plain64', 'hash-alg': 'sha1'}, 'driver': 'qcow2', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.qcow2'}, 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -144,111 +144,111 @@ Format specific information:
ae23c9
 
ae23c9
 === Invalid BlockdevRef ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exist
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 === Invalid sizes ===
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 1234}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 1234}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size must be a multiple of 512 bytes
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Could not resize image: Image size cannot be negative
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Could not resize image: Image size cannot be negative
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'qcow2', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Could not resize image: Failed to grow the L1 table: File too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 === Invalid version ===
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'version': 'v1', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'version': 'v1', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'error': {u'class': u'GenericError', u'desc': u"Invalid parameter 'v1'"}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'lazy-refcounts': True, 'version': 'v2', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'lazy-refcounts': True, 'version': 'v2', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Lazy refcounts only supported with compatibility level 1.1 and above (use version=v3 or greater)
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 8, 'version': 'v2', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 8, 'version': 'v2', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Different refcount widths than 16 bits require compatibility level 1.1 or above (use version=v3 or greater)
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 === Invalid backing file options ===
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'preallocation': 'full', 'driver': 'qcow2', 'backing-file': '/dev/null', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'preallocation': 'full', 'driver': 'qcow2', 'backing-file': '/dev/null', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Backing file and preallocation cannot be used at the same time
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'backing-fmt': 'qcow2', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'backing-fmt': 'qcow2', 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Backing format cannot be used without backing file
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 === Invalid cluster size ===
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 1234, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 1234, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size must be a power of two between 512 and 2048k
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 128, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 128, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size must be a power of two between 512 and 2048k
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 4194304, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 4194304, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size must be a power of two between 512 and 2048k
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 0, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 0, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size must be a power of two between 512 and 2048k
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 512, 'driver': 'qcow2', 'file': 'node0', 'size': 281474976710656}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 512, 'driver': 'qcow2', 'file': 'node0', 'size': 281474976710656}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Could not resize image: Failed to grow the L1 table: File too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 === Invalid refcount width ===
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 128, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 128, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Refcount width must be a power of two and may not exceed 64 bits
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 0, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 0, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Refcount width must be a power of two and may not exceed 64 bits
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 7, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'refcount-bits': 7, 'driver': 'qcow2', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Refcount width must be a power of two and may not exceed 64 bits
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
diff --git a/tests/qemu-iotests/207 b/tests/qemu-iotests/207
ae23c9
index b595c92..444ae23 100755
ae23c9
--- a/tests/qemu-iotests/207
ae23c9
+++ b/tests/qemu-iotests/207
ae23c9
@@ -31,7 +31,7 @@ def filter_hash(msg):
ae23c9
     return re.sub("'hash': '[0-9a-f]+'", "'hash': HASH", msg)
ae23c9
 
ae23c9
 def blockdev_create(vm, options):
ae23c9
-    result = vm.qmp_log('x-blockdev-create', job_id='job0', options=options,
ae23c9
+    result = vm.qmp_log('blockdev-create', job_id='job0', options=options,
ae23c9
                         filters=[iotests.filter_testfiles, filter_hash])
ae23c9
 
ae23c9
     if 'return' in result:
ae23c9
diff --git a/tests/qemu-iotests/207.out b/tests/qemu-iotests/207.out
ae23c9
index 5eee17b..078b7e6 100644
ae23c9
--- a/tests/qemu-iotests/207.out
ae23c9
+++ b/tests/qemu-iotests/207.out
ae23c9
@@ -1,6 +1,6 @@
ae23c9
 === Successful image creation (defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -16,7 +16,7 @@ virtual size: 4.0M (4194304 bytes)
ae23c9
 
ae23c9
 === Test host-key-check options ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'mode': 'none'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 8388608}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'mode': 'none'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 8388608}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -25,7 +25,7 @@ image: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.po
ae23c9
 file format: IMGFMT
ae23c9
 virtual size: 8.0M (8388608 bytes)
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'mode': 'known_hosts'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'mode': 'known_hosts'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -34,13 +34,13 @@ image: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.po
ae23c9
 file format: IMGFMT
ae23c9
 virtual size: 4.0M (4194304 bytes)
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': 'wrong', 'type': 'md5', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 2097152}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': 'wrong', 'type': 'md5', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 2097152}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: remote host key does not match host_key_check 'wrong'
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': HASH, 'type': 'md5', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 8388608}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': HASH, 'type': 'md5', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 8388608}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -49,13 +49,13 @@ image: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.po
ae23c9
 file format: IMGFMT
ae23c9
 virtual size: 8.0M (8388608 bytes)
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': 'wrong', 'type': 'sha1', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 2097152}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': 'wrong', 'type': 'sha1', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 2097152}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: remote host key does not match host_key_check 'wrong'
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': HASH, 'type': 'sha1', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'hash': HASH, 'type': 'sha1', 'mode': 'hash'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -66,13 +66,13 @@ virtual size: 4.0M (4194304 bytes)
ae23c9
 
ae23c9
 === Invalid path and user ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': '/this/is/not/an/existing/path', 'host-key-check': {'mode': 'none'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': '/this/is/not/an/existing/path', 'host-key-check': {'mode': 'none'}, 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: failed to open remote file '/this/is/not/an/existing/path': Failed opening remote file (libssh2 error code: -31)
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'mode': 'none'}, 'user': 'invalid user', 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'ssh', 'location': {'path': 'TEST_DIR/PID-t.img', 'host-key-check': {'mode': 'none'}, 'user': 'invalid user', 'server': {'host': '127.0.0.1', 'port': '22'}}, 'size': 4194304}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: failed to authenticate using publickey authentication and the identities held by your ssh-agent
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
diff --git a/tests/qemu-iotests/210 b/tests/qemu-iotests/210
ae23c9
index ff4fdde..d142841 100755
ae23c9
--- a/tests/qemu-iotests/210
ae23c9
+++ b/tests/qemu-iotests/210
ae23c9
@@ -27,7 +27,7 @@ iotests.verify_image_format(supported_fmts=['luks'])
ae23c9
 iotests.verify_protocol(supported=['file'])
ae23c9
 
ae23c9
 def blockdev_create(vm, options):
ae23c9
-    result = vm.qmp_log('x-blockdev-create', job_id='job0', options=options)
ae23c9
+    result = vm.qmp_log('blockdev-create', job_id='job0', options=options)
ae23c9
 
ae23c9
     if 'return' in result:
ae23c9
         assert result['return'] == {}
ae23c9
diff --git a/tests/qemu-iotests/210.out b/tests/qemu-iotests/210.out
ae23c9
index 0e6e5c0..078ba54 100644
ae23c9
--- a/tests/qemu-iotests/210.out
ae23c9
+++ b/tests/qemu-iotests/210.out
ae23c9
@@ -1,13 +1,13 @@
ae23c9
 === Successful image creation (defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.luks'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.luks'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 {'execute': 'blockdev-add', 'arguments': {'node_name': 'imgfile', 'driver': 'file', 'filename': 'TEST_DIR/PID-t.luks'}}
ae23c9
 {u'return': {}}
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'iter-time': 10, 'driver': 'luks', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'iter-time': 10, 'driver': 'luks', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -54,12 +54,12 @@ Format specific information:
ae23c9
 
ae23c9
 === Successful image creation (with non-default options) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.luks'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.luks'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'hash-alg': 'sha1', 'cipher-mode': 'ctr', 'cipher-alg': 'twofish-128', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.luks'}, 'iter-time': 10, 'ivgen-alg': 'plain64', 'ivgen-hash-alg': 'md5', 'driver': 'luks', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'hash-alg': 'sha1', 'cipher-mode': 'ctr', 'cipher-alg': 'twofish-128', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.luks'}, 'iter-time': 10, 'ivgen-alg': 'plain64', 'ivgen-hash-alg': 'md5', 'driver': 'luks', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -106,7 +106,7 @@ Format specific information:
ae23c9
 
ae23c9
 === Invalid BlockdevRef ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'luks', 'file': "this doesn't exist", 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'luks', 'file': "this doesn't exist", 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exist
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
@@ -114,7 +114,7 @@ Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exi
ae23c9
 
ae23c9
 === Zero size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'iter-time': 10, 'driver': 'luks', 'file': 'node0', 'size': 0}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'iter-time': 10, 'driver': 'luks', 'file': 'node0', 'size': 0}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -161,19 +161,19 @@ Format specific information:
ae23c9
 
ae23c9
 === Invalid sizes ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'driver': 'luks', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'driver': 'luks', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: The requested file size is too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'driver': 'luks', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'driver': 'luks', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: The requested file size is too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'driver': 'luks', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'key-secret': 'keysec0', 'driver': 'luks', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: The requested file size is too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
diff --git a/tests/qemu-iotests/211 b/tests/qemu-iotests/211
ae23c9
index b45f886..7b7985d 100755
ae23c9
--- a/tests/qemu-iotests/211
ae23c9
+++ b/tests/qemu-iotests/211
ae23c9
@@ -27,7 +27,7 @@ iotests.verify_image_format(supported_fmts=['vdi'])
ae23c9
 iotests.verify_protocol(supported=['file'])
ae23c9
 
ae23c9
 def blockdev_create(vm, options):
ae23c9
-    result = vm.qmp_log('x-blockdev-create', job_id='job0', options=options)
ae23c9
+    result = vm.qmp_log('blockdev-create', job_id='job0', options=options)
ae23c9
 
ae23c9
     if 'return' in result:
ae23c9
         assert result['return'] == {}
ae23c9
diff --git a/tests/qemu-iotests/211.out b/tests/qemu-iotests/211.out
ae23c9
index 2bf1c4a..6feaea3 100644
ae23c9
--- a/tests/qemu-iotests/211.out
ae23c9
+++ b/tests/qemu-iotests/211.out
ae23c9
@@ -1,13 +1,13 @@
ae23c9
 === Successful image creation (defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 {'execute': 'blockdev-add', 'arguments': {'node_name': 'imgfile', 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}}
ae23c9
 {u'return': {}}
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -21,12 +21,12 @@ cluster_size: 1048576
ae23c9
 
ae23c9
 === Successful image creation (explicit defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'preallocation': 'off', 'driver': 'vdi', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}, 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'preallocation': 'off', 'driver': 'vdi', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}, 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -40,12 +40,12 @@ cluster_size: 1048576
ae23c9
 
ae23c9
 === Successful image creation (with non-default options) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'preallocation': 'metadata', 'driver': 'vdi', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}, 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'preallocation': 'metadata', 'driver': 'vdi', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vdi'}, 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -60,7 +60,7 @@ cluster_size: 1048576
ae23c9
 
ae23c9
 === Invalid BlockdevRef ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exist
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
@@ -68,7 +68,7 @@ Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exi
ae23c9
 
ae23c9
 === Zero size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 0}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 0}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -80,7 +80,7 @@ cluster_size: 1048576
ae23c9
 
ae23c9
 === Maximum size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 562949819203584}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 562949819203584}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -92,19 +92,19 @@ cluster_size: 1048576
ae23c9
 
ae23c9
 === Invalid sizes ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Unsupported VDI image size (size is 0xfffffffffffffe00, max supported is 0x1fffff8000000)
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Unsupported VDI image size (size is 0x8000000000000000, max supported is 0x1fffff8000000)
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 562949819203585}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vdi', 'file': 'node0', 'size': 562949819203585}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Unsupported VDI image size (size is 0x1fffff8000001, max supported is 0x1fffff8000000)
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
diff --git a/tests/qemu-iotests/212 b/tests/qemu-iotests/212
ae23c9
index 03cf41d..95c8810 100755
ae23c9
--- a/tests/qemu-iotests/212
ae23c9
+++ b/tests/qemu-iotests/212
ae23c9
@@ -27,7 +27,7 @@ iotests.verify_image_format(supported_fmts=['parallels'])
ae23c9
 iotests.verify_protocol(supported=['file'])
ae23c9
 
ae23c9
 def blockdev_create(vm, options):
ae23c9
-    result = vm.qmp_log('x-blockdev-create', job_id='job0', options=options)
ae23c9
+    result = vm.qmp_log('blockdev-create', job_id='job0', options=options)
ae23c9
 
ae23c9
     if 'return' in result:
ae23c9
         assert result['return'] == {}
ae23c9
diff --git a/tests/qemu-iotests/212.out b/tests/qemu-iotests/212.out
ae23c9
index 780bc30..9150da7 100644
ae23c9
--- a/tests/qemu-iotests/212.out
ae23c9
+++ b/tests/qemu-iotests/212.out
ae23c9
@@ -1,13 +1,13 @@
ae23c9
 === Successful image creation (defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 {'execute': 'blockdev-add', 'arguments': {'node_name': 'imgfile', 'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}}
ae23c9
 {u'return': {}}
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -18,12 +18,12 @@ virtual size: 128M (134217728 bytes)
ae23c9
 
ae23c9
 === Successful image creation (explicit defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 1048576, 'driver': 'parallels', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}, 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 1048576, 'driver': 'parallels', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}, 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -34,12 +34,12 @@ virtual size: 64M (67108864 bytes)
ae23c9
 
ae23c9
 === Successful image creation (with non-default options) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 65536, 'driver': 'parallels', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}, 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 65536, 'driver': 'parallels', 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.parallels'}, 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -50,7 +50,7 @@ virtual size: 32M (33554432 bytes)
ae23c9
 
ae23c9
 === Invalid BlockdevRef ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exist
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
@@ -58,7 +58,7 @@ Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exi
ae23c9
 
ae23c9
 === Zero size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 0}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 0}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -69,7 +69,7 @@ virtual size: 0 (0 bytes)
ae23c9
 
ae23c9
 === Maximum size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 4503599627369984}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 4503599627369984}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -80,31 +80,31 @@ virtual size: 4096T (4503599627369984 bytes)
ae23c9
 
ae23c9
 === Invalid sizes ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 1234}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 1234}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size must be a multiple of 512 bytes
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size is too large for this cluster size
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size is too large for this cluster size
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size is too large for this cluster size
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 4503599627370497}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'parallels', 'file': 'node0', 'size': 4503599627370497}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size is too large for this cluster size
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
@@ -112,43 +112,43 @@ Job failed: Image size is too large for this cluster size
ae23c9
 
ae23c9
 === Invalid cluster size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 1234, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 1234, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size must be a multiple of 512 bytes
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 128, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 128, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size must be a multiple of 512 bytes
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 4294967296, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 4294967296, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size is too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 9223372036854775808L, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 9223372036854775808L, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size is too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 18446744073709551104L, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 18446744073709551104L, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cluster size is too large
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 0, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 0, 'driver': 'parallels', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size is too large for this cluster size
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 512, 'driver': 'parallels', 'file': 'node0', 'size': 281474976710656}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'cluster-size': 512, 'driver': 'parallels', 'file': 'node0', 'size': 281474976710656}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size is too large for this cluster size
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
diff --git a/tests/qemu-iotests/213 b/tests/qemu-iotests/213
ae23c9
index 29d25bc..4054439 100755
ae23c9
--- a/tests/qemu-iotests/213
ae23c9
+++ b/tests/qemu-iotests/213
ae23c9
@@ -27,7 +27,7 @@ iotests.verify_image_format(supported_fmts=['vhdx'])
ae23c9
 iotests.verify_protocol(supported=['file'])
ae23c9
 
ae23c9
 def blockdev_create(vm, options):
ae23c9
-    result = vm.qmp_log('x-blockdev-create', job_id='job0', options=options)
ae23c9
+    result = vm.qmp_log('blockdev-create', job_id='job0', options=options)
ae23c9
 
ae23c9
     if 'return' in result:
ae23c9
         assert result['return'] == {}
ae23c9
diff --git a/tests/qemu-iotests/213.out b/tests/qemu-iotests/213.out
ae23c9
index f18a39a..e1dcd47 100644
ae23c9
--- a/tests/qemu-iotests/213.out
ae23c9
+++ b/tests/qemu-iotests/213.out
ae23c9
@@ -1,13 +1,13 @@
ae23c9
 === Successful image creation (defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
 {'execute': 'blockdev-add', 'arguments': {'node_name': 'imgfile', 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}}
ae23c9
 {u'return': {}}
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'imgfile', 'size': 134217728}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -19,12 +19,12 @@ cluster_size: 8388608
ae23c9
 
ae23c9
 === Successful image creation (explicit defaults) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'block-size': 8388608, 'driver': 'vhdx', 'subformat': 'dynamic', 'log-size': 1048576, 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}, 'block-state-zero': True, 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'block-size': 8388608, 'driver': 'vhdx', 'subformat': 'dynamic', 'log-size': 1048576, 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}, 'block-state-zero': True, 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -36,12 +36,12 @@ cluster_size: 8388608
ae23c9
 
ae23c9
 === Successful image creation (with non-default options) ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'size': 0, 'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'block-size': 268435456, 'driver': 'vhdx', 'subformat': 'fixed', 'log-size': 8388608, 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}, 'block-state-zero': False, 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'block-size': 268435456, 'driver': 'vhdx', 'subformat': 'fixed', 'log-size': 8388608, 'file': {'driver': 'file', 'filename': 'TEST_DIR/PID-t.vhdx'}, 'block-state-zero': False, 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -53,7 +53,7 @@ cluster_size: 268435456
ae23c9
 
ae23c9
 === Invalid BlockdevRef ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': "this doesn't exist", 'size': 33554432}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exist
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
@@ -61,7 +61,7 @@ Job failed: Cannot find device=this doesn't exist nor node_name=this doesn't exi
ae23c9
 
ae23c9
 === Zero size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 0}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 0}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -73,7 +73,7 @@ cluster_size: 8388608
ae23c9
 
ae23c9
 === Maximum size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 70368744177664}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 70368744177664}}}
ae23c9
 {u'return': {}}
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
@@ -85,25 +85,25 @@ cluster_size: 67108864
ae23c9
 
ae23c9
 === Invalid sizes ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 18446744073709551104L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size too large; max of 64TB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 9223372036854775808L}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size too large; max of 64TB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 9223372036854775296}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size too large; max of 64TB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 70368744177665}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'file': 'node0', 'size': 70368744177665}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Image size too large; max of 64TB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
@@ -111,31 +111,31 @@ Job failed: Image size too large; max of 64TB
ae23c9
 
ae23c9
 === Invalid block size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 1234567, 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 1234567, 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Block size must be a multiple of 1 MB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 128, 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 128, 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Block size must be a multiple of 1 MB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 3145728, 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 3145728, 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Block size must be a power of two
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 536870912, 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 536870912, 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Block size must not exceed 268435456
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 0, 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'driver': 'vhdx', 'block-size': 0, 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Block size must be a multiple of 1 MB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
@@ -143,25 +143,25 @@ Job failed: Block size must be a multiple of 1 MB
ae23c9
 
ae23c9
 === Invalid log size ===
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 1234567, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 1234567, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Log size must be a multiple of 1 MB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 128, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 128, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Log size must be a multiple of 1 MB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 4294967296, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 4294967296, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Log size must be smaller than 4 GB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
 {u'return': {}}
ae23c9
 
ae23c9
-{'execute': 'x-blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 0, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
+{'execute': 'blockdev-create', 'arguments': {'job_id': 'job0', 'options': {'log-size': 0, 'driver': 'vhdx', 'file': 'node0', 'size': 67108864}}}
ae23c9
 {u'return': {}}
ae23c9
 Job failed: Log size must be a multiple of 1 MB
ae23c9
 {'execute': 'job-dismiss', 'arguments': {'id': 'job0'}}
ae23c9
-- 
ae23c9
1.8.3.1
ae23c9