]> Git Repo - qemu.git/blobdiff - tests/qemu-iotests/096
block: Use JSON null instead of "" to disable backing file
[qemu.git] / tests / qemu-iotests / 096
index e34204b8ffdd6eab604cb966b386b788aaf2e7ad..aeeb3753cf30a53a40979579c3cf513be71851c6 100644 (file)
@@ -45,8 +45,9 @@ class TestLiveSnapshot(iotests.QMPTestCase):
         os.remove(self.target_img)
 
     def checkConfig(self, active_layer):
-        result = self.vm.qmp('query-named-block-nodes')
+        result = self.vm.qmp('query-block')
         for r in result['return']:
+            r = r['inserted']
             if r['node-name'] == active_layer:
                 self.assertEqual(r['group'], self.group)
                 self.assertEqual(r['iops'], self.iops)
This page took 0.024526 seconds and 4 git commands to generate.