xemu/include
Paolo Bonzini d4fce24f3a qtest: split configuration of qtest accelerator and chardev
qtest uses the icount infrastructure to implement a test-driven vm_clock.  This
however is not necessary when using -qtest as a "probe" together with a normal
TCG-, KVM- or Xen-based virtual machine.  Hence, split out the call to
configure_icount into a new function that is called only for "-machine
accel=qtest"; and disable those commands when running with an accelerator
other than qtest.

This also fixes an assertion failure with "qemu-system-x86_64 -machine
accel=qtest" but no -qtest option.  This is a valid case, albeit somewhat
weird; nothing will happen in the VM but you'll still be able to
interact with the monitor or the GUI.

Now that qtest_init is not limited to an int(void) function, change
global variables that are not used outside qtest_init to arguments.

And finally, cleanup useless parts of include/sysemu/qtest.h.  The file
is not used at all for user-only emulation, and qtest is not available
on Win32 due to its usage of sigwait.

Reported-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-12-10 12:29:56 +02:00
..
block block: add opt_transfer_length to BlockLimits 2013-12-05 11:45:24 +01:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
hw pc: map PCI address space as catchall region for not mapped addresses 2013-12-10 12:29:56 +02:00
migration migration: add version supporting macros for struct pointer 2013-09-24 13:22:50 +02:00
monitor Merge remote-tracking branch 'kwolf/for-anthony' into staging 2013-09-03 12:32:46 -05:00
net net: disallow to specify multicast MAC address 2013-11-08 17:32:34 +01:00
qapi qemu-ga: Extend 'guest-info' command to expose flag 'success-response' 2013-10-10 14:52:37 -05:00
qemu util: Use qemu_getauxval in linux qemu_cache_utils_init 2013-11-30 07:45:30 +13:00
qom qom: Fix pointer to int property helpers' documentation 2013-11-05 18:06:51 +01:00
sysemu qtest: split configuration of qtest accelerator and chardev 2013-12-10 12:29:56 +02:00
ui trace: Remove trace.h from console.h (less dependencies) 2013-12-02 21:02:00 +04:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h tcg-s390: Use qemu_getauxval in query_facilities 2013-11-30 07:45:30 +13:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
qemu-common.h qmp: add interface blockdev-snapshot-delete-internal-sync 2013-09-12 10:12:47 +02:00
qemu-io.h qemu-io: Interface cleanup 2013-06-06 11:27:05 +02:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00