Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull…
Browse files Browse the repository at this point in the history
…-request' into staging

Machine queue, 2018-06-11

* Fix -daemonize hang caused by --preconfig code

# gpg: Signature made Mon 11 Jun 2018 18:32:52 BST
# gpg:                using RSA key 2807936F984DC5A6
# gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/machine-next-pull-request:
  cli: Don't run early event loop if no --preconfig was specified

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
pm215 committed Jun 12, 2018
2 parents a48f764 + 0f5319e commit 6e3bd76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vl.c
Expand Up @@ -1841,15 +1841,15 @@ static void main_loop(void)
#ifdef CONFIG_PROFILER
int64_t ti;
#endif
do {
while (!main_loop_should_exit()) {
#ifdef CONFIG_PROFILER
ti = profile_getclock();
#endif
main_loop_wait(false);
#ifdef CONFIG_PROFILER
dev_time += profile_getclock() - ti;
#endif
} while (!main_loop_should_exit());
}
}

static void version(void)
Expand Down

0 comments on commit 6e3bd76

Please sign in to comment.