[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] qemu-iotests: add block-stream with invalid
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] qemu-iotests: add block-stream with invalid speed value test |
Date: |
Mon, 23 Apr 2012 17:52:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
Il 23/04/2012 17:39, Stefan Hajnoczi ha scritto:
> +
> + result = self.vm.qmp('block-stream', device='drive0', speed=-1)
> + self.assert_qmp(result, 'error/class', 'BlockJobSpeedInvalid')
> + self.assert_qmp(result, 'error/data/value', -1)
Apart from /me disagreeing on introducing a new error value, for which
I'll defer to Luiz, looks good.
Paolo
Re: [Qemu-devel] [PATCH 0/4] block: add optional 'speed' parameter to block-stream, Eric Blake, 2012/04/23