qtest: don't report signals if qtest driver enabled
commit35b307126cc99165881d24bb62cc52f21275cb54
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 4 Feb 2014 18:04:21 +0000 (4 20:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Feb 2014 14:55:50 +0000 (5 16:55 +0200)
treec16e0ff5acd55a56a9538eb01b4c3b4d75c3259e
parente358edc8e90d580443b824e4ef799e137377ad86
qtest: don't report signals if qtest driver enabled

qtest driver always uses signals to kill qemu
no need to report it, whatever the accelerator state.

Add API to detect qtest driver, and suppress reporting
signals in this case.

Reported-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/sysemu/qtest.h
qtest.c
vl.c