mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07: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:
parent
7146839505
commit
1ad9580bd7
5 changed files with 52 additions and 13 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue