diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-23 19:57:35 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 14:31:43 +0200 |
commit | 16a18f26818c783fed153f7a8fb4a9afdfb547ac (patch) | |
tree | 6e5312d718ac6acfc5e61c763dc6530a12923ca4 /include | |
parent | ec5f7ca857a396ae23ce01a8f84fbae12bdce0f4 (diff) | |
download | qemu-16a18f26818c783fed153f7a8fb4a9afdfb547ac.zip qemu-16a18f26818c783fed153f7a8fb4a9afdfb547ac.tar.gz qemu-16a18f26818c783fed153f7a8fb4a9afdfb547ac.tar.bz2 |
include: move progress API to qemu-progress.h
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-25-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu-common.h | 4 | ||||
-rw-r--r-- | include/qemu/qemu-progress.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h index bc73dae..fee2181 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -24,10 +24,6 @@ int qemu_main(int argc, char **argv, char **envp); #endif - -void qemu_progress_init(int enabled, float min_skip); -void qemu_progress_end(void); -void qemu_progress_print(float delta, int max); const char *qemu_get_vm_name(void); /* OS specific functions */ diff --git a/include/qemu/qemu-progress.h b/include/qemu/qemu-progress.h new file mode 100644 index 0000000..137e1c3 --- /dev/null +++ b/include/qemu/qemu-progress.h @@ -0,0 +1,8 @@ +#ifndef QEMU_PROGRESS_H +#define QEMU_PROGRESS_H + +void qemu_progress_init(int enabled, float min_skip); +void qemu_progress_end(void); +void qemu_progress_print(float delta, int max); + +#endif /* QEMU_PROGRESS_H */ |