On 09.03.2016 17:11, Alberto Garcia wrote: > This allows us to perform tests on the monitor queues to verify that > the rate limits are enforced. > > Signed-off-by: Alberto Garcia <be...@igalia.com> > --- > monitor.c | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/monitor.c b/monitor.c > index c9fe862..d689b83 100644 > --- a/monitor.c > +++ b/monitor.c > @@ -76,6 +76,7 @@ > #include "qapi-event.h" > #include "qmp-introspect.h" > #include "sysemu/block-backend.h" > +#include "sysemu/qtest.h" > > /* for hmp_info_irq/pic */ > #if defined(TARGET_SPARC) > @@ -232,6 +233,8 @@ static const mon_cmd_t qmp_cmds[]; > > Monitor *cur_mon; > > +static QEMUClockType clock_type = QEMU_CLOCK_REALTIME;
Maybe event_clock_type would be a better name. Regardless: Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature