qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] block: test blk_aio_flush() with blk->root


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 2/3] block: test blk_aio_flush() with blk->root == NULL
Date: Fri, 9 Feb 2018 09:23:53 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 02/08/2018 11:18 AM, Stefan Hajnoczi wrote:
From: Kevin Wolf <address@hidden>

This patch adds test cases for the scenario where blk_aio_flush() is
called on a BlockBackend with no root.  Calling drain afterwards should
complete the requests with -ENOMEDIUM.

Signed-off-by: Kevin Wolf <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
  tests/Makefile.include     |  2 ++
  tests/test-block-backend.c | 82 ++++++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 84 insertions(+)
  create mode 100644 tests/test-block-backend.c


+++ b/tests/test-block-backend.c
@@ -0,0 +1,82 @@
+/*
+ * BlockBackend tests
+ *
+ * Copyright (c) 2017 Kevin Wolf <address@hidden>

Want to include 2018? Using a redhat.com address but a personal copyright? (Then again, Red Hat has some pretty cool policies on what it permits for code written on an employee's own time).

As long as Kevin is happy with the final copyright line that goes into the commit:

Reviewed-by: Eric Blake <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]