Statistics
| Branch: | Revision:

root / stubs @ df32fd1c

Name Size
Makefile.objs 771 Bytes
arch-query-cpu-def.c 211 Bytes
clock-warp.c 94 Bytes
cpu-get-clock.c 115 Bytes
cpu-get-icount.c 113 Bytes
cpus.c 57 Bytes
dump.c 507 Bytes
fd-register.c 88 Bytes
fdset-add-fd.c 133 Bytes
fdset-find-fd.c 116 Bytes
fdset-get-fd.c 128 Bytes
fdset-remove-fd.c 117 Bytes
get-fd.c 207 Bytes
get-vm-name.c 83 Bytes
iothread-lock.c 137 Bytes
migr-blocker.c 148 Bytes
mon-is-qmp.c 102 Bytes
mon-print-filename.c 123 Bytes
mon-printf.c 184 Bytes
mon-protocol-event.c 122 Bytes
mon-set-error.c 131 Bytes
pci-drive-hot-add.c 298 Bytes
reset.c 290 Bytes
set-fd-handler.c 291 Bytes
slirp.c 211 Bytes
sysbus.c 83 Bytes
vm-stop.c 99 Bytes
vmstate.c 556 Bytes

Latest revisions

# Date Author Comment
2a78636b 06/11/2013 07:16 pm Andreas Färber

dump: Drop qmp_dump_guest_memory() stub and build for all targets

qmp_dump_guest_memory() calls dump_init() and returns an Error when
cpu_get_dump_info() returns an error, as done by the stub.
So there is no need to have a stub for qmp_dump_guest_memory()....

88f62c2b 06/11/2013 12:33 am Andreas Färber

dump: Move stubs into libqemustub.a

This allows us to drop CONFIG_NO_CORE_DUMP with its indirect dependency
on CONFIG_HAVE_CORE_DUMP.

Acked-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

2993683b 05/01/2013 02:04 pm Igor Mammedov

cpu: Introduce cpu_resume(), for single CPU

Also add a stub for it, to make possible to use it in qom/cpu.c,
which is shared with user emulators.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

c71c3e99 03/12/2013 11:35 am Andreas Färber

stubs: Add a vmstate_dummy struct for CONFIG_USER_ONLY

Reviewed-by: Juan Quintela <>
Reviewed-by: Eduardo Habkost <>
Signed-off-by: Andreas Färber <>

1559e0d4 03/01/2013 02:57 pm Paolo Bonzini

hw: move device-hotplug.o to toplevel, compile it once

The situation with device-hotplug.c is similar to qdev-monitor.c.
Add a stub for pci_drive_hot_add, so that it can be compiled once,
and move it out of hw/.

Signed-off-by: Paolo Bonzini <>

8917c3bd 02/22/2013 12:17 am Stefan Hajnoczi

slirp: switch to GPollFD

Slirp uses rfds/wfds/xfds more extensively than other QEMU components.

The rarely-used out-of-band TCP data feature is used. That means we
need the full table of select(2) to g_poll(3) events:

rfds -> G_IO_IN | G_IO_HUP | G_IO_ERR...
5708fc66 01/12/2013 06:19 pm Paolo Bonzini

stubs: fully replace qemu-tool.c and qemu-user.c

Signed-off-by: Paolo Bonzini <>

41c6bcd9 01/08/2013 10:03 pm Eduardo Habkost

libqemustub: Add qemu_[un]register_reset() stubs

This will be useful for code that don't call qemu_devices_reset() (e.g.
*-user). If qemu_devices_reset() is never called, it means we don't need
to keep track of the reset handler list.

Signed-off-by: Eduardo Habkost <>...

083a5f87 01/08/2013 10:03 pm Eduardo Habkost

libqemustub: vmstate register/unregister stubs

Add vmstate stub functions, so that qdev.o can be used without savevm.o
when vmstate support is not necessary (i.e. by *-user).

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Andreas Färber <>

906709a1 01/08/2013 10:03 pm Eduardo Habkost

libqemustub: sysbus_get_default() stub

The stub will be used on cases where sysbus.c is not compiled in (e.g.
*-user).

Note that code that uses NULL as the bus with qdev{_try,}_create()
implicitly uses sysbus_get_default() as the bus, and will still require...

View revisions

Also available in: Atom