Lines Matching full:commit
4 # Tests for image block commit.
22 # Test for live block commit
37 '''Abstract base class for image commit test cases'''
46 self.assert_qmp(event, 'data/type', 'commit')
54 self.assert_qmp(event, 'data/type', 'commit')
64 self.vm.cmd('block-commit', device='drive0', top_node=top, base_node=base)
66 self.vm.cmd('block-commit', device='drive0', top=top, base=base)
71 self.vm.cmd('block-commit', device='drive0')
123 self.vm.cmd('block-commit', device='drive0')
134 self.vm.cmd('block-commit', device='drive0')
144 result = self.vm.qmp('block-commit', device='nonexistent', top='%s' % mid_img)
149 …result = self.vm.qmp('block-commit', device='drive0', top='%s' % backing_img, base='%s' % backing_…
155 … result = self.vm.qmp('block-commit', device='drive0', top='badfile', base='%s' % backing_img)
161 result = self.vm.qmp('block-commit', device='drive0', top='%s' % mid_img, base='badfile')
167 result = self.vm.qmp('block-commit', device='drive0', top_node='badfile', base_node='base')
173 result = self.vm.qmp('block-commit', device='drive0', top_node='mid', base_node='badfile')
179 …result = self.vm.qmp('block-commit', device='drive0', top_node='mid', base_node='base', top='%s' %…
185 …result = self.vm.qmp('block-commit', device='drive0', top_node='mid', base_node='base', base='%s' …
205 … result = self.vm.qmp('block-commit', device='drive0', top='%s' % backing_img, base='%s' % mid_img)
211 result = self.vm.qmp('block-commit', device='drive0', top_node='base', base_node='top')
220 result = self.vm.qmp('block-commit', device='drive0', top_node='null', base_node='base')
231 self.vm.cmd('block-commit', device='drive0', top=mid_img,
259 self.vm.cmd('block-commit', device='drive0', top=mid_img,
337 result = self.vm.qmp('block-commit', device='nonexistent', top='%s' % self.mid_img)
342 …result = self.vm.qmp('block-commit', device='drive0', top='%s' % self.mid_img, base='%s' % self.mi…
348 … result = self.vm.qmp('block-commit', device='drive0', top='badfile', base='%s' % self.backing_img)
354 … result = self.vm.qmp('block-commit', device='drive0', top='%s' % self.mid_img, base='badfile')
365 …result = self.vm.qmp('block-commit', device='drive0', top='%s' % self.backing_img, base='%s' % sel…
395 self.vm.cmd('block-commit', device='drive0', top=mid_img, speed=1024 * 1024)
538 'type': 'commit'},
549 'type': 'commit'
579 self.vm.cmd('block-commit', job_id='job0', device='top-fmt',
605 'target image does not match source after commit')
615 # For commit, 'ignore' actually means retry, so this will succeed
618 'target image does not match source after commit')
641 'target image does not match source after commit')
651 # For commit, 'ignore' actually means retry, so this will succeed
654 'target image does not match source after commit')
676 'target image does not match source after commit')
685 # For commit, 'ignore' actually means retry, so this will succeed
688 'target image does not match source after commit')
710 'target image does not match source after commit')
719 # For commit, 'ignore' actually means retry, so this will succeed
722 'target image does not match source after commit')
814 self.vm.cmd('block-commit',
815 job_id='commit',
820 self.wait_until_completed(drive='commit')
830 self.vm.cmd('block-commit',
831 job_id='commit',
836 self.wait_until_completed(drive='commit')
847 # Add a device, so the commit job finds a parent it can change
859 self.vm.cmd('block-commit',
860 job_id='commit',
863 self.complete_and_wait(drive='commit')
881 self.vm.cmd('block-commit',
882 job_id='commit',
886 self.complete_and_wait(drive='commit')
936 result = self.vm.qmp('block-commit',
937 job_id='commit',
945 self.vm.cmd('block-commit',
946 job_id='commit',
951 self.vm.qmp('block-job-complete', device='commit')