From: Yury Kotov Date: Fri, 26 Apr 2019 10:21:15 +0000 (+0300) Subject: trace: fix runstate tracing X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b1939fcd438b7140cb8f2685dee026bb112819d7;p=qemu.git trace: fix runstate tracing Signed-off-by: Yury Kotov Reviewed-by: Vladimir Sementsov-Ogievskiy Message-id: 20190426102115.30002-1-yury-kotov@yandex-team.ru Message-Id: <20190426102115.30002-1-yury-kotov@yandex-team.ru> Signed-off-by: Stefan Hajnoczi --- diff --git a/vl.c b/vl.c index 4019a4387d..d9fea0a119 100644 --- a/vl.c +++ b/vl.c @@ -725,7 +725,7 @@ void runstate_set(RunState new_state) assert(new_state < RUN_STATE__MAX); trace_runstate_set(current_run_state, RunState_str(current_run_state), - new_state, RunState_str(current_run_state)); + new_state, RunState_str(new_state)); if (current_run_state == new_state) { return;