[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v3 18/28] util/vhost-user-server: move header to include/
From: |
Stefan Hajnoczi |
Subject: |
[PULL v3 18/28] util/vhost-user-server: move header to include/ |
Date: |
Fri, 23 Oct 2020 16:21:37 +0100 |
Headers used by other subsystems are located in include/. Also add the
vhost-user-server and vhost-user-blk-server headers to MAINTAINERS.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20200924151549.913737-13-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
MAINTAINERS | 4 +++-
{util => include/qemu}/vhost-user-server.h | 0
block/export/vhost-user-blk-server.c | 2 +-
util/vhost-user-server.c | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
rename {util => include/qemu}/vhost-user-server.h (100%)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2789952a30..ef6f5c7399 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3073,8 +3073,10 @@ Vhost-user block device backend server
M: Coiby Xu <Coiby.Xu@gmail.com>
S: Maintained
F: block/export/vhost-user-blk-server.c
-F: util/vhost-user-server.c
+F: block/export/vhost-user-blk-server.h
+F: include/qemu/vhost-user-server.h
F: tests/qtest/libqos/vhost-user-blk.c
+F: util/vhost-user-server.c
Replication
M: Wen Congyang <wencongyang2@huawei.com>
diff --git a/util/vhost-user-server.h b/include/qemu/vhost-user-server.h
similarity index 100%
rename from util/vhost-user-server.h
rename to include/qemu/vhost-user-server.h
diff --git a/block/export/vhost-user-blk-server.c
b/block/export/vhost-user-blk-server.c
index 3e5bd6caee..f7021cbd7b 100644
--- a/block/export/vhost-user-blk-server.c
+++ b/block/export/vhost-user-blk-server.c
@@ -13,7 +13,7 @@
#include "block/block.h"
#include "contrib/libvhost-user/libvhost-user.h"
#include "standard-headers/linux/virtio_blk.h"
-#include "util/vhost-user-server.h"
+#include "qemu/vhost-user-server.h"
#include "vhost-user-blk-server.h"
#include "qapi/error.h"
#include "qom/object_interfaces.h"
diff --git a/util/vhost-user-server.c b/util/vhost-user-server.c
index 516999b38a..783d847a6d 100644
--- a/util/vhost-user-server.c
+++ b/util/vhost-user-server.c
@@ -9,8 +9,8 @@
*/
#include "qemu/osdep.h"
#include "qemu/main-loop.h"
+#include "qemu/vhost-user-server.h"
#include "block/aio-wait.h"
-#include "vhost-user-server.h"
/*
* Theory of operation:
--
2.26.2
- [PULL v3 10/28] util/vhost-user-server: drop unnecessary watch deletion, (continued)
- [PULL v3 10/28] util/vhost-user-server: drop unnecessary watch deletion, Stefan Hajnoczi, 2020/10/23
- [PULL v3 13/28] util/vhost-user-server: fix memory leak in vu_message_read(), Stefan Hajnoczi, 2020/10/23
- [PULL v3 14/28] util/vhost-user-server: check EOF when reading payload, Stefan Hajnoczi, 2020/10/23
- [PULL v3 15/28] util/vhost-user-server: rework vu_client_trip() coroutine lifecycle, Stefan Hajnoczi, 2020/10/23
- [PULL v3 16/28] block/export: report flush errors, Stefan Hajnoczi, 2020/10/23
- [PULL v3 21/28] block: move block exports to libblockdev, Stefan Hajnoczi, 2020/10/23
- [PULL v3 25/28] block/io: bdrv_common_block_status_above: support include_base, Stefan Hajnoczi, 2020/10/23
- [PULL v3 23/28] block/export: add vhost-user-blk multi-queue support, Stefan Hajnoczi, 2020/10/23
- [PULL v3 24/28] block/io: fix bdrv_co_block_status_above, Stefan Hajnoczi, 2020/10/23
- [PULL v3 19/28] util/vhost-user-server: use static library in meson.build, Stefan Hajnoczi, 2020/10/23
- [PULL v3 18/28] util/vhost-user-server: move header to include/,
Stefan Hajnoczi <=
- [PULL v3 26/28] block/io: bdrv_common_block_status_above: support bs == base, Stefan Hajnoczi, 2020/10/23
- [PULL v3 20/28] qemu-storage-daemon: avoid compiling blockdev_ss twice, Stefan Hajnoczi, 2020/10/23
- [PULL v3 17/28] block/export: convert vhost-user-blk server to block export API, Stefan Hajnoczi, 2020/10/23
- [PULL v3 27/28] block/io: fix bdrv_is_allocated_above, Stefan Hajnoczi, 2020/10/23
- [PULL v3 28/28] iotests: add commit top->base cases to 274, Stefan Hajnoczi, 2020/10/23
- [PULL v3 22/28] block/export: add iothread and fixed-iothread options, Stefan Hajnoczi, 2020/10/23
- Re: [PULL v3 00/28] Block patches, no-reply, 2020/10/23
- Re: [PULL v3 00/28] Block patches, Peter Maydell, 2020/10/26