mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
icount: Add QemuOpts for icount
Make icount parameter use QemuOpts style options in order to easily add other suboptions. Signed-off-by: Sebastian Tanase <sebastian.tanase@openwide.fr> Tested-by: Camille Bégué <camille.begue@openwide.fr> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
7146839505
commit
1ad9580bd7
@@ -41,6 +41,7 @@
|
||||
#include <assert.h>
|
||||
#include <signal.h>
|
||||
#include "glib-compat.h"
|
||||
#include "qemu/option.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "sysemu/os-win32.h"
|
||||
@@ -105,7 +106,7 @@ static inline char *realpath(const char *path, char *resolved_path)
|
||||
#endif
|
||||
|
||||
/* icount */
|
||||
void configure_icount(const char *option);
|
||||
void configure_icount(QemuOpts *opts, Error **errp);
|
||||
extern int use_icount;
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
Reference in New Issue
Block a user