[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/32] include: move qemu_write_full() declaration to osdep.h
From: |
marcandre . lureau |
Subject: |
[PATCH 17/32] include: move qemu_write_full() declaration to osdep.h |
Date: |
Wed, 23 Mar 2022 19:57:28 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Closer to other IO functions.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
include/qemu-common.h | 3 ---
include/qemu/osdep.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/qemu-common.h b/include/qemu-common.h
index db8b03be51f3..c6f3ed94bc7e 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -24,9 +24,6 @@
int qemu_main(int argc, char **argv, char **envp);
#endif
-ssize_t qemu_write_full(int fd, const void *buf, size_t count)
- G_GNUC_WARN_UNUSED_RESULT;
-
#ifndef _WIN32
int qemu_pipe(int pipefd[2]);
#endif
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 489a5d1aad5f..259436ff5371 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -527,6 +527,9 @@ static inline void qemu_timersub(const struct timeval *val1,
#define qemu_timersub timersub
#endif
+ssize_t qemu_write_full(int fd, const void *buf, size_t count)
+ G_GNUC_WARN_UNUSED_RESULT;
+
void qemu_set_cloexec(int fd);
void fips_set_state(bool requested);
--
2.35.1.273.ge6ebfd0e8cbb
- [PATCH 10/32] tests: replace free_all() usage with g_auto, (continued)
- [PATCH 10/32] tests: replace free_all() usage with g_auto, marcandre . lureau, 2022/03/23
- [PATCH 12/32] qga: replace deprecated g_get_current_time(), marcandre . lureau, 2022/03/23
- [PATCH 11/32] Replace qemu_real_host_page variables with inlined functions, marcandre . lureau, 2022/03/23
- [PATCH 14/32] util: rename qemu-error.c to match its header name, marcandre . lureau, 2022/03/23
- [PATCH 13/32] error-report: replace deprecated g_get_current_time() with glib >= 2.62, marcandre . lureau, 2022/03/23
- [PATCH 15/32] error-report: use error_printf() for program prefix, marcandre . lureau, 2022/03/23
- [PATCH 16/32] include: move TFR to osdep.h, marcandre . lureau, 2022/03/23
- [PATCH 18/32] include: move qemu_pipe() to osdep.h, marcandre . lureau, 2022/03/23
- [PATCH 17/32] include: move qemu_write_full() declaration to osdep.h,
marcandre . lureau <=
- [PATCH 19/32] include: move coroutine IO functions to coroutine.h, marcandre . lureau, 2022/03/23
- [PATCH 20/32] include: move dump_in_progress() to runstate.h, marcandre . lureau, 2022/03/23
- [PATCH 21/32] include: move C/util-related declarations to cutils.h, marcandre . lureau, 2022/03/23
- [PATCH 22/32] include: move cpu_exec* declarations to cpu-common.h, marcandre . lureau, 2022/03/23
- [PATCH 23/32] include: move target page bits declaration to page-vary.h, marcandre . lureau, 2022/03/23
- [PATCH 24/32] include: move progress API to qemu-progress.h, marcandre . lureau, 2022/03/23
- [PATCH 25/32] include: move qemu_get_vm_name() to sysemu.h, marcandre . lureau, 2022/03/23
- [PATCH 26/32] include: move os_*() to os-foo.h, marcandre . lureau, 2022/03/23