Revision 35b30712

b/include/sysemu/qtest.h
23 23
    return qtest_allowed;
24 24
}
25 25

  
26
bool qtest_driver(void);
27

  
26 28
int qtest_init_accel(void);
27 29
void qtest_init(const char *qtest_chrdev, const char *qtest_log);
28 30

  
b/qtest.c
528 528

  
529 529
    qtest_chr = chr;
530 530
}
531

  
532
bool qtest_driver(void)
533
{
534
    return qtest_chr;
535
}
b/vl.c
1750 1750

  
1751 1751
static void qemu_kill_report(void)
1752 1752
{
1753
    if (!qtest_enabled() && shutdown_signal != -1) {
1753
    if (!qtest_driver() && shutdown_signal != -1) {
1754 1754
        fprintf(stderr, "qemu: terminating on signal %d", shutdown_signal);
1755 1755
        if (shutdown_pid == 0) {
1756 1756
            /* This happens for eg ^C at the terminal, so it's worth

Also available in: Unified diff