xref: /qemu/tests/qemu-iotests/085.out (revision bfb8aa6d)
14089f7c6SJeff CodyQA output created by 085
2d88bef19SMax ReitzFormatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=134217728
3d88bef19SMax ReitzFormatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=134217728
44089f7c6SJeff Cody
54089f7c6SJeff Cody=== Running QEMU ===
64089f7c6SJeff Cody
74089f7c6SJeff Cody
84089f7c6SJeff Cody=== Sending capabilities ===
94089f7c6SJeff Cody
10a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
114089f7c6SJeff Cody{"return": {}}
124089f7c6SJeff Cody
134089f7c6SJeff Cody=== Create a single snapshot on virtio0 ===
144089f7c6SJeff Cody
150e720781SMax Reitz{ 'execute': 'blockdev-snapshot-sync',
160e720781SMax Reitz                      'arguments': { 'device': 'virtio0',
170e720781SMax Reitz                                     'snapshot-file':'TEST_DIR/1-snapshot-v0.IMGFMT',
180e720781SMax Reitz                                     'format': 'IMGFMT' } }
197be20252SAlberto GarciaFormatting 'TEST_DIR/1-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/t.qcow2.1 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
204089f7c6SJeff Cody{"return": {}}
214089f7c6SJeff Cody
224089f7c6SJeff Cody=== Invalid command - missing device and nodename ===
234089f7c6SJeff Cody
240e720781SMax Reitz{ 'execute': 'blockdev-snapshot-sync',
250e720781SMax Reitz                         'arguments': { 'snapshot-file':'TEST_DIR/1-snapshot-v0.IMGFMT',
260e720781SMax Reitz                                     'format': 'IMGFMT' } }
27785ec4b1SConnor Kuehl{"error": {"class": "GenericError", "desc": "Cannot find device='' nor node-name=''"}}
284089f7c6SJeff Cody
294089f7c6SJeff Cody=== Invalid command - missing snapshot-file ===
304089f7c6SJeff Cody
310e720781SMax Reitz{ 'execute': 'blockdev-snapshot-sync',
320e720781SMax Reitz                         'arguments': { 'device': 'virtio0',
330e720781SMax Reitz                                     'format': 'IMGFMT' } }
344089f7c6SJeff Cody{"error": {"class": "GenericError", "desc": "Parameter 'snapshot-file' is missing"}}
354089f7c6SJeff Cody
364089f7c6SJeff Cody
374089f7c6SJeff Cody=== Create several transactional group snapshots ===
384089f7c6SJeff Cody
390e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
400e720781SMax Reitz           {'actions': [
410e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
420e720781SMax Reitz                   { 'device': 'virtio0',
430e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/2-snapshot-v0.IMGFMT' } },
440e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
450e720781SMax Reitz                   { 'device': 'virtio1',
460e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/2-snapshot-v1.IMGFMT' } } ]
470e720781SMax Reitz             } }
487be20252SAlberto GarciaFormatting 'TEST_DIR/2-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/1-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
497be20252SAlberto GarciaFormatting 'TEST_DIR/2-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/t.qcow2.2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
504089f7c6SJeff Cody{"return": {}}
510e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
520e720781SMax Reitz           {'actions': [
530e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
540e720781SMax Reitz                   { 'device': 'virtio0',
550e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/3-snapshot-v0.IMGFMT' } },
560e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
570e720781SMax Reitz                   { 'device': 'virtio1',
580e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/3-snapshot-v1.IMGFMT' } } ]
590e720781SMax Reitz             } }
607be20252SAlberto GarciaFormatting 'TEST_DIR/3-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/2-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
617be20252SAlberto GarciaFormatting 'TEST_DIR/3-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/2-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
624089f7c6SJeff Cody{"return": {}}
630e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
640e720781SMax Reitz           {'actions': [
650e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
660e720781SMax Reitz                   { 'device': 'virtio0',
670e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/4-snapshot-v0.IMGFMT' } },
680e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
690e720781SMax Reitz                   { 'device': 'virtio1',
700e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/4-snapshot-v1.IMGFMT' } } ]
710e720781SMax Reitz             } }
727be20252SAlberto GarciaFormatting 'TEST_DIR/4-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/3-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
737be20252SAlberto GarciaFormatting 'TEST_DIR/4-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/3-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
744089f7c6SJeff Cody{"return": {}}
750e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
760e720781SMax Reitz           {'actions': [
770e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
780e720781SMax Reitz                   { 'device': 'virtio0',
790e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/5-snapshot-v0.IMGFMT' } },
800e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
810e720781SMax Reitz                   { 'device': 'virtio1',
820e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/5-snapshot-v1.IMGFMT' } } ]
830e720781SMax Reitz             } }
847be20252SAlberto GarciaFormatting 'TEST_DIR/5-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/4-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
857be20252SAlberto GarciaFormatting 'TEST_DIR/5-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/4-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
864089f7c6SJeff Cody{"return": {}}
870e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
880e720781SMax Reitz           {'actions': [
890e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
900e720781SMax Reitz                   { 'device': 'virtio0',
910e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/6-snapshot-v0.IMGFMT' } },
920e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
930e720781SMax Reitz                   { 'device': 'virtio1',
940e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/6-snapshot-v1.IMGFMT' } } ]
950e720781SMax Reitz             } }
967be20252SAlberto GarciaFormatting 'TEST_DIR/6-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/5-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
977be20252SAlberto GarciaFormatting 'TEST_DIR/6-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/5-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
984089f7c6SJeff Cody{"return": {}}
990e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
1000e720781SMax Reitz           {'actions': [
1010e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1020e720781SMax Reitz                   { 'device': 'virtio0',
1030e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/7-snapshot-v0.IMGFMT' } },
1040e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1050e720781SMax Reitz                   { 'device': 'virtio1',
1060e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/7-snapshot-v1.IMGFMT' } } ]
1070e720781SMax Reitz             } }
1087be20252SAlberto GarciaFormatting 'TEST_DIR/7-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/6-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1097be20252SAlberto GarciaFormatting 'TEST_DIR/7-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/6-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1104089f7c6SJeff Cody{"return": {}}
1110e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
1120e720781SMax Reitz           {'actions': [
1130e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1140e720781SMax Reitz                   { 'device': 'virtio0',
1150e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/8-snapshot-v0.IMGFMT' } },
1160e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1170e720781SMax Reitz                   { 'device': 'virtio1',
1180e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/8-snapshot-v1.IMGFMT' } } ]
1190e720781SMax Reitz             } }
1207be20252SAlberto GarciaFormatting 'TEST_DIR/8-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/7-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1217be20252SAlberto GarciaFormatting 'TEST_DIR/8-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/7-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1224089f7c6SJeff Cody{"return": {}}
1230e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
1240e720781SMax Reitz           {'actions': [
1250e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1260e720781SMax Reitz                   { 'device': 'virtio0',
1270e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/9-snapshot-v0.IMGFMT' } },
1280e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1290e720781SMax Reitz                   { 'device': 'virtio1',
1300e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/9-snapshot-v1.IMGFMT' } } ]
1310e720781SMax Reitz             } }
1327be20252SAlberto GarciaFormatting 'TEST_DIR/9-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/8-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1337be20252SAlberto GarciaFormatting 'TEST_DIR/9-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/8-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1344089f7c6SJeff Cody{"return": {}}
1350e720781SMax Reitz{ 'execute': 'transaction', 'arguments':
1360e720781SMax Reitz           {'actions': [
1370e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1380e720781SMax Reitz                   { 'device': 'virtio0',
1390e720781SMax Reitz                      'snapshot-file': 'TEST_DIR/10-snapshot-v0.IMGFMT' } },
1400e720781SMax Reitz               { 'type': 'blockdev-snapshot-sync', 'data' :
1410e720781SMax Reitz                   { 'device': 'virtio1',
1420e720781SMax Reitz                       'snapshot-file': 'TEST_DIR/10-snapshot-v1.IMGFMT' } } ]
1430e720781SMax Reitz             } }
1447be20252SAlberto GarciaFormatting 'TEST_DIR/10-snapshot-v0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/9-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1457be20252SAlberto GarciaFormatting 'TEST_DIR/10-snapshot-v1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 backing_file=TEST_DIR/9-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
1464089f7c6SJeff Cody{"return": {}}
14789e3a2d8SAlberto Garcia
14889e3a2d8SAlberto Garcia=== Create a couple of snapshots using blockdev-snapshot ===
14989e3a2d8SAlberto Garcia
150b66ff2c2SEric BlakeFormatting 'TEST_DIR/11-snapshot-v0.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/10-snapshot-v0.IMGFMT backing_fmt=IMGFMT
1510e720781SMax Reitz{ 'execute': 'blockdev-add', 'arguments':
1520e720781SMax Reitz           { 'driver': 'IMGFMT', 'node-name': 'snap_11', 'backing': null,
1530e720781SMax Reitz             'file':
1540e720781SMax Reitz             { 'driver': 'file', 'filename': 'TEST_DIR/11-snapshot-v0.IMGFMT',
1550e720781SMax Reitz               'node-name': 'file_11' } } }
15689e3a2d8SAlberto Garcia{"return": {}}
1570e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
1580e720781SMax Reitz                      'arguments': { 'node': 'virtio0',
1590e720781SMax Reitz                                     'overlay':'snap_11' } }
16089e3a2d8SAlberto Garcia{"return": {}}
161b66ff2c2SEric BlakeFormatting 'TEST_DIR/12-snapshot-v0.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/11-snapshot-v0.IMGFMT backing_fmt=IMGFMT
1620e720781SMax Reitz{ 'execute': 'blockdev-add', 'arguments':
1630e720781SMax Reitz           { 'driver': 'IMGFMT', 'node-name': 'snap_12', 'backing': null,
1640e720781SMax Reitz             'file':
1650e720781SMax Reitz             { 'driver': 'file', 'filename': 'TEST_DIR/12-snapshot-v0.IMGFMT',
1660e720781SMax Reitz               'node-name': 'file_12' } } }
16789e3a2d8SAlberto Garcia{"return": {}}
1680e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
1690e720781SMax Reitz                      'arguments': { 'node': 'virtio0',
1700e720781SMax Reitz                                     'overlay':'snap_12' } }
17189e3a2d8SAlberto Garcia{"return": {}}
17289e3a2d8SAlberto Garcia
1733fa123d0SAlberto Garcia=== Invalid command - cannot create a snapshot using a file BDS ===
1743fa123d0SAlberto Garcia
1750e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
1760e720781SMax Reitz                     'arguments': { 'node':'virtio0',
1770e720781SMax Reitz                                    'overlay':'file_12' }
1780e720781SMax Reitz                   }
179d29d3d1fSKevin Wolf{"error": {"class": "GenericError", "desc": "The overlay is already in use"}}
1803fa123d0SAlberto Garcia
18189e3a2d8SAlberto Garcia=== Invalid command - snapshot node used as active layer ===
18289e3a2d8SAlberto Garcia
1830e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
1840e720781SMax Reitz                      'arguments': { 'node': 'virtio0',
1850e720781SMax Reitz                                     'overlay':'snap_12' } }
186a2bb6f8cSMax Reitz{"error": {"class": "GenericError", "desc": "The overlay is already in use"}}
1870e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
1880e720781SMax Reitz                     'arguments': { 'node':'virtio0',
1890e720781SMax Reitz                                    'overlay':'virtio0' }
1900e720781SMax Reitz                   }
191a2bb6f8cSMax Reitz{"error": {"class": "GenericError", "desc": "The overlay is already in use"}}
1920e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
1930e720781SMax Reitz                     'arguments': { 'node':'virtio0',
1940e720781SMax Reitz                                    'overlay':'virtio1' }
1950e720781SMax Reitz                   }
196a2bb6f8cSMax Reitz{"error": {"class": "GenericError", "desc": "The overlay is already in use"}}
19789e3a2d8SAlberto Garcia
19889e3a2d8SAlberto Garcia=== Invalid command - snapshot node used as backing hd ===
19989e3a2d8SAlberto Garcia
2000e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
2010e720781SMax Reitz                      'arguments': { 'node': 'virtio0',
2020e720781SMax Reitz                                     'overlay':'snap_11' } }
203d29d3d1fSKevin Wolf{"error": {"class": "GenericError", "desc": "The overlay is already in use"}}
20489e3a2d8SAlberto Garcia
20589e3a2d8SAlberto Garcia=== Invalid command - snapshot node has a backing image ===
20689e3a2d8SAlberto Garcia
207ecffa634SFam ZhengFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728
208b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
2090e720781SMax Reitz{ 'execute': 'blockdev-add', 'arguments':
2100e720781SMax Reitz           { 'driver': 'IMGFMT', 'node-name': 'snap_13',
2110e720781SMax Reitz             'file':
2120e720781SMax Reitz             { 'driver': 'file', 'filename': 'TEST_DIR/t.IMGFMT',
2130e720781SMax Reitz               'node-name': 'file_13' } } }
21489e3a2d8SAlberto Garcia{"return": {}}
2150e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
2160e720781SMax Reitz                      'arguments': { 'node': 'virtio0',
2170e720781SMax Reitz                                     'overlay':'snap_13' } }
218a2bb6f8cSMax Reitz{"error": {"class": "GenericError", "desc": "The overlay already has a backing image"}}
21989e3a2d8SAlberto Garcia
220*bfb8aa6dSKevin Wolf=== Invalid command - creating loops ===
221*bfb8aa6dSKevin Wolf
222*bfb8aa6dSKevin WolfFormatting 'TEST_DIR/14-snapshot-v0.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/13-snapshot-v0.IMGFMT backing_fmt=IMGFMT
223*bfb8aa6dSKevin Wolf{ 'execute': 'blockdev-add', 'arguments':
224*bfb8aa6dSKevin Wolf           { 'driver': 'IMGFMT', 'node-name': 'snap_14', 'backing': null,
225*bfb8aa6dSKevin Wolf             'file':
226*bfb8aa6dSKevin Wolf             { 'driver': 'file', 'filename': 'TEST_DIR/14-snapshot-v0.IMGFMT',
227*bfb8aa6dSKevin Wolf               'node-name': 'file_14' } } }
228*bfb8aa6dSKevin Wolf{"return": {}}
229*bfb8aa6dSKevin Wolf{ 'execute': 'blockdev-snapshot',
230*bfb8aa6dSKevin Wolf                     'arguments': { 'node':'snap_14',
231*bfb8aa6dSKevin Wolf                                    'overlay':'snap_14' }
232*bfb8aa6dSKevin Wolf                   }
233*bfb8aa6dSKevin Wolf{"error": {"class": "GenericError", "desc": "Making 'snap_14' a backing child of 'snap_14' would create a cycle"}}
234*bfb8aa6dSKevin WolfFormatting 'TEST_DIR/15-snapshot-v0.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/14-snapshot-v0.IMGFMT backing_fmt=IMGFMT
235*bfb8aa6dSKevin Wolf{ 'execute': 'blockdev-add', 'arguments':
236*bfb8aa6dSKevin Wolf           { 'driver': 'IMGFMT', 'node-name': 'snap_15', 'backing': 'snap_14',
237*bfb8aa6dSKevin Wolf             'file':
238*bfb8aa6dSKevin Wolf             { 'driver': 'file', 'filename': 'TEST_DIR/15-snapshot-v0.IMGFMT',
239*bfb8aa6dSKevin Wolf               'node-name': 'file_15' } } }
240*bfb8aa6dSKevin Wolf{"return": {}}
241*bfb8aa6dSKevin Wolf{ 'execute': 'blockdev-snapshot',
242*bfb8aa6dSKevin Wolf                     'arguments': { 'node':'snap_15',
243*bfb8aa6dSKevin Wolf                                    'overlay':'snap_14' }
244*bfb8aa6dSKevin Wolf                   }
245*bfb8aa6dSKevin Wolf{"error": {"class": "GenericError", "desc": "Making 'snap_15' a backing child of 'snap_14' would create a cycle"}}
246*bfb8aa6dSKevin Wolf
24789e3a2d8SAlberto Garcia=== Invalid command - The node does not exist ===
24889e3a2d8SAlberto Garcia
2490e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
2500e720781SMax Reitz                      'arguments': { 'node': 'virtio0',
251*bfb8aa6dSKevin Wolf                                     'overlay':'snap_16' } }
252*bfb8aa6dSKevin Wolf{"error": {"class": "GenericError", "desc": "Cannot find device='snap_16' nor node-name='snap_16'"}}
2530e720781SMax Reitz{ 'execute': 'blockdev-snapshot',
2540e720781SMax Reitz                     'arguments': { 'node':'nodevice',
255*bfb8aa6dSKevin Wolf                                    'overlay':'snap_15' }
2560e720781SMax Reitz                   }
257785ec4b1SConnor Kuehl{"error": {"class": "GenericError", "desc": "Cannot find device='nodevice' nor node-name='nodevice'"}}
2584089f7c6SJeff Cody*** done
259