On 11/16/18 9:53 AM, Daniel P. Berrangé wrote:
The helpers for starting/stopping qemu-nbd in 058 will be useful in
other test cases, so move them into a common.nbd file.

In fact, I already have a proposed patch 228 that I'm trying to clean up for potential inclusion in 3.1 that could use this! [I'm still hammering on those patches, so I don't know if they will make 3.1 or be delayed to 4.0 - this patch is not needed in 3.1 unless either your later patches are 3.1 material or my patch ends up ready in time]

https://lists.gnu.org/archive/html/qemu-devel/2018-08/msg00308.html


Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
  tests/qemu-iotests/058        | 47 +++++------------------------
  tests/qemu-iotests/common.nbd | 56 +++++++++++++++++++++++++++++++++++
  2 files changed, 64 insertions(+), 39 deletions(-)
  create mode 100644 tests/qemu-iotests/common.nbd


Reviewed-by: Eric Blake <ebl...@redhat.com>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to