| Branch: | Revision:

root / Makefile.objs @ feature-archipelago

History | View | Annotate | Download (3.7 kB)

# Date Author Comment
cc475698 02/20/2014 02:14 pm Fam Zheng

Makefile: introduce common-obj-m and block-obj-m for DSO

$(common-obj-m) will include $(block-obj-m), like $(common-obj-y) does
for $(block-obj-y).

Signed-off-by: Fam Zheng <>
Signed-off-by: Paolo Bonzini <>

ba1183da 02/20/2014 02:12 pm Fam Zheng

rules.mak: fix $(obj) to a real relative path includes rule.mak and unnested common-obj-y, then prefix
them with '../', this will ignore object specific QEMU_CFLAGS in subdir

$(obj)/curl.o: QEMU_CFLAGS += $(CURL_CFLAGS)...
0150cd81 01/22/2014 01:07 pm Stefan Hajnoczi

readline: move readline to a generic location

Now that the monitor and readline are decoupled, readline.h no longer
belongs in include/monitor/. Put the header into include/qemu/.

Move the source file into util/ so it can be linked as part of

b6fcfa59 01/13/2014 01:39 pm Eduardo Habkost

vmstate: Move VMState code to vmstate.c

This will allow unit tests to be written for VMState code without
pulling dependencies from the savevm code.

Signed-off-by: Eduardo Habkost <>
Reviewed-by: Orit Wasserman <>
Signed-off-by: Juan Quintela <>

093c455a 01/13/2014 01:39 pm Eduardo Habkost

qemu-file: Move QEMUFile code to qemu-file.c

Signed-off-by: Eduardo Habkost <>
Reviewed-by: Orit Wasserman <>
Signed-off-by: Juan Quintela <>

b39297ae 09/09/2013 10:17 pm Tomoki Sekiyama

qemu-ga: Add Windows VSS provider and requester as DLL

Adds VSS provider and requester as a qga-vss.dll, which is loaded by
Windows VSS service as well as by qemu-ga.

"provider.cpp" implements a basic stub of a software VSS provider.
Currently, this module only relays a frozen event from VSS service to the...

0b516ef0 08/12/2013 05:19 pm Stefan Weil

w32: Add missing version.o to all executables (fix regression)

QEMU executables for w32, w64 had included meta information built from
version.rc. These rules were changed several times some months ago.

The latest version added version.o to the tools, but not to the system...

2da776db 07/23/2013 12:12 pm Michael R. Hines

rdma: core logic

Code that does need to be visible is kept
well contained inside this file and this is the only
new additional file to the entire patch.

This file includes the entire protocol and interfaces
required to perform RDMA migration.

Also, the configure and Makefile modifications to link...

587da2c3 06/06/2013 12:27 pm Kevin Wolf

Make qemu-io commands available in HMP

It was decided to not make this command available in QMP in order to
make clear that this is not supposed to be a stable API and should be
used only for testing and debugging purposes.

Signed-off-by: Kevin Wolf <>...

8e8aba50 05/06/2013 08:16 pm Eduardo Habkost

target-i386: Add "feature-words" property to X86CPU

This property will be useful for libvirt, as libvirt already has logic
based on low-level feature bits (not feature names), so it will be
really easy to convert the current libvirt logic to something using the...

0b6a16c1 04/24/2013 11:48 am Alon Levy

libcacard: move atr setting from macro to function

Only because qemu's checkpatch complains about it.

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

bdee56f5 04/15/2013 07:19 pm Paolo Bonzini

tpm: reorganize headers and split hardware part

The TPM subsystem does not have a full front-end/back-end separation.
The sole available backend, tpm_passthrough, depends on the data
structures of the sole available frontend, tpm_tis.

However, we can at least try to split the user interface (tpm.c) from the...

7c2acc70 04/08/2013 06:38 pm Peter Maydell

configure: Don't fall back to gthread coroutine backend

The gthread coroutine backend is broken and does not produce a working
QEMU; it is only useful for some very limited debugging situations.
Clean up the backend selection logic in configure so that it now runs...

d1a0cf73 03/12/2013 08:40 pm Stefan Berger

Support for TPM command line options

This patch adds support for TPM command line options.
The command line options supported here are

./qemu-... -tpmdev passthrough,path=<path to TPM device>,id=<id>
-device tpm-tis,tpmdev=<id>,id=<other id>

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 <>

b4a42f81 03/01/2013 02:54 pm Paolo Bonzini

hw: move qdev-monitor.o to toplevel directory

qdev-monitor.c is the only "core qdev" file that is not used in
user-mode emulation, and it does not define anything that is used
by hardware models. Remove it from the hw/ directory and
remove hw/qdev-monitor.h from hw/qdev.h too; this requires...

872536bf 02/18/2013 04:39 pm Andreas Färber

qtest: Add MMIO support

Introduce [qtest_]{read,write}[bwlq]() libqtest functions and
corresponding QTest protocol commands to replace local versions in

Also convert m48t59-test's cmos_{read,write}_mmio() to {read,write}b().

Signed-off-by: Andreas Färber <>...

ba2e28e8 02/01/2013 09:32 am Orit Wasserman

Move XBZRLE encoding code to a separate file to allow testing

Signed-off-by: Orit Wasserman <>
Reviewed-by: Paolo Bonzini <>

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>

82cb6b04 01/26/2013 03:15 pm Paolo Bonzini

build: remove extra-obj-y

extra-obj-y is somewhat complicated to understand. Replace it with a
special CONFIG_ALL symbol that is defined only at toplevel.
This limits the case of directories defining more than one
*-obj-y target.

Signed-off-by: Paolo Bonzini <>...

00082344 01/26/2013 03:15 pm Paolo Bonzini

build: remove universal-obj-y

All of universal-obj-y, user-obj-y (right now unused) and common-obj-y can
be unified into common-obj-y if we take care of defining CONFIG_SOFTMMU
and CONFIG_USER_ONLY in the toplevel makefile. This is similar to how
we define symbols for hardware components....

737f3518 01/26/2013 03:15 pm Paolo Bonzini

build: use -$(CONFIG_SECCOMP) instead of ifeq

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

65980015 01/26/2013 03:14 pm Paolo Bonzini

build: move around libcacard-y definition

It is also needed if !CONFIG_SOFTMMU, unlike everything that surrounds it.
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Blue Swirl <>

59cacde8 01/12/2013 07:42 pm Paolo Bonzini

build: move QAPI definitions for QEMU out of qapi-obj-y

There is no reason why for example qemu-ga should include all the
definitions for the QEMU monitor. However, there are a few
that are needed (qapi_free_SocketAddress, qapi_free_InetSocketAddress,
ErrorClass_lookup). These should be moved to a separate "core"...

576d5506 01/12/2013 07:42 pm Paolo Bonzini

build: move base QAPI files to libqemuutil.a

Signed-off-by: Paolo Bonzini <>

bf0842b7 01/12/2013 07:42 pm Paolo Bonzini

build: move version-obj-y to the generic LINK rule

There is no reason for it to be in block-obj-y, in particular.

Signed-off-by: Paolo Bonzini <>

84ecb7a6 01/12/2013 07:42 pm Paolo Bonzini

build: remove coroutine-obj-y

Just fold it into block-obj-y.

Signed-off-by: Paolo Bonzini <>

ff667e2e 01/12/2013 07:42 pm Paolo Bonzini

build: fold trace-obj-y into libqemuutil.a

Signed-off-by: Paolo Bonzini <>

e4b42e6e 01/12/2013 07:42 pm Paolo Bonzini

build: rename oslib-obj-y to util-obj-y

This prepares the creation of libqemuutil.a in the next patch.

Signed-off-by: Paolo Bonzini <>

8a090705 01/12/2013 07:42 pm Paolo Bonzini

build: move util-obj-y to libqemuutil.a

Use a static library to eliminate repetition in the linking rules.

Signed-off-by: Paolo Bonzini <>

f157ebba 01/12/2013 07:42 pm Paolo Bonzini

build: move files away from tools-obj-y, common-obj-y, user-obj-y

Split them between libqemuutil.a and, for those used by qemu-img/io/nbd,

Static libraries ensure that binaries such as qemu-ga do not include
unused modules.

Signed-off-by: Paolo Bonzini <>

baacf047 01/12/2013 07:42 pm Paolo Bonzini

build: move libqemuutil.a components to util/

Signed-off-by: Paolo Bonzini <>

a372823a 01/12/2013 07:42 pm Paolo Bonzini

build: move qobject files to qobject/ and libqemuutil.a

Signed-off-by: Paolo Bonzini <>

9444e9e6 01/12/2013 07:42 pm Paolo Bonzini

build: consolidate multiple variables into universal-obj-y

The directory descent mechanism, and a less-flat tree both helped
in making some *-obj-y definitions very short. Many of these
often end up in universal-obj-y, and used to be separate only
because of libuser (which is now part of history...)....

5708fc66 01/12/2013 06:19 pm Paolo Bonzini

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

Signed-off-by: Paolo Bonzini <>

507066f8 01/08/2013 10:03 pm Eduardo Habkost

qdev: Include qdev code into *-user, too

The code depends on some functions from qemu-option.o, so add
qemu-option.o to universal-obj-y to make sure it's included.

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

1d728c39 01/06/2013 10:15 am Blue Swirl

tests: add gcov support

Add support for compiling for GCOV test coverage, enabled
with '--enable-gcov' during configure.

Test coverage will be reported after each test.

Signed-off-by: Blue Swirl <>

eac236ea 12/23/2012 10:28 pm Lluís Vilanova

build: Use separate makefile for "trace/"

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Lluís Vilanova <>
Changes in v2:

  • Do not depend on "qemu-timer-common.o".
  • Use "$(obj)" in rules to refer to the build sub-directory....
0d82d0e8 12/21/2012 12:09 am Juan Quintela

migration: move buffered_file.c code into migration.c

This only moves the code (also from buffered_file.h to migration.h).
Fix whitespace until checkpatch is happy.

Signed-off-by: Juan Quintela <>

2870dc34 12/19/2012 09:31 am Paolo Bonzini

qemu-ga: move qemu-ga files to qga/

Signed-off-by: Paolo Bonzini <>

28ecbaee 12/19/2012 09:31 am Paolo Bonzini

ui: move files to ui/ and include/ui/

Signed-off-by: Paolo Bonzini <>

fd9400b3 12/19/2012 09:29 am Paolo Bonzini

net: move net.c to net/

Signed-off-by: Paolo Bonzini <>

76cad711 12/19/2012 09:29 am Paolo Bonzini

build: kill libdis, move disassemblers to disas/

Signed-off-by: Paolo Bonzini <>

8e98e2e8 12/19/2012 09:29 am Paolo Bonzini

build: kill libuser

Signed-off-by: Paolo Bonzini <>

6f991980 12/17/2012 07:56 pm Paolo Bonzini

Merge commit '1dd3a74d2ee2d873cde0b390b536e45420b3fe05' into HEAD

Signed-off-by: Paolo Bonzini <>

3bc2f570 11/18/2012 09:19 pm Paolo Bonzini

build: replace weak symbols with a static library

Weak symbols were a nice idea, but they turned out not to be a good one.
Toolchain support is just too sparse, in particular llvm-gcc is totally

This patch uses a surprisingly low-tech approach: a static library....

a9b7b2ad 11/16/2012 04:36 pm Anthony Liguori

rng: add RndBackend abstract object class

This is the backend used by devices that need to request entropy.

Signed-off-by: Anthony Liguori <>

365b1e9e 11/05/2012 12:54 pm Gerd Hoffmann

pflib: unused, remove it.

Replaced by pixman library.

Signed-off-by: Gerd Hoffmann <>

4ba79505 11/01/2012 06:14 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/pixman.v3' into staging

  • kraxel/pixman.v3: (22 commits)
    pixman: drop obsolete fields from DisplaySurface
    pixman/vnc: remove dead code.
    pixman/vnc: remove rgb_prepare_row* functions
    pixman/vnc: use pixman images in vnc....
d2ec7e24 11/01/2012 03:00 pm Gerd Hoffmann

pixman: helper functions

Add some helper functions which will be put
into use by following patches.

Signed-off-by: Gerd Hoffmann <>

10fb6e06 10/31/2012 11:38 am Paolo Bonzini

raw-posix: move linux-aio.c to block/

Signed-off-by: Paolo Bonzini <>

de81a169 10/31/2012 11:38 am Paolo Bonzini

raw: merge posix-aio-compat.c into block/raw-posix.c

Making the qemu_paiocb specific to raw devices will let us access members
of the BDRVRawState arbitrarily.

Signed-off-by: Paolo Bonzini <>

d354c7ec 10/31/2012 11:37 am Paolo Bonzini

aio: add generic thread-pool facility

Add a generic thread-pool. The code is roughly based on posix-aio-compat.c,
with some changes, especially the following:

- use QemuSemaphore instead of QemuCond;

- separate the state of the thread from the return code of the worker...

f42b2207 10/30/2012 10:30 am Paolo Bonzini

aio: add Win32 implementation

The Win32 implementation will only accept EventNotifiers, thus a few
drivers are disabled under Windows. EventNotifiers are a good match
for the GSource implementation, too, because the Win32 port of glib
allows to place their HANDLEs in a GPollFD....

136594f1 10/30/2012 10:30 am Paolo Bonzini

build: do not include main loop where it is not actually used

Signed-off-by: Paolo Bonzini <>

fc97a652 10/30/2012 10:30 am Paolo Bonzini

event_notifier: add Win32 implementation

Signed-off-by: Paolo Bonzini <>

9958c351 10/30/2012 10:30 am Paolo Bonzini

aio: provide platform-independent API

This adds to aio.c a platform-independent API based on EventNotifiers, that
can be used by both POSIX and Win32.

Reviewed-by: Anthony Liguori <>
Signed-off-by: Paolo Bonzini <>

f3192e8f 10/30/2012 10:18 am Paolo Bonzini

build: move cutils.o and qemu-timer-common.o to oslib-obj-y

Signed-off-by: Paolo Bonzini <>

0191253c 10/30/2012 10:18 am Paolo Bonzini

janitor: move iovector functions out of cutils.c

This removes the dependency of cutils.c on iov.c, and lets us remove
iov.o from several builds.

Signed-off-by: Paolo Bonzini <>

6dd844db 10/23/2012 11:39 pm Paolo Bonzini

qmp: add NBD server commands

Adding an NBD server inside QEMU is trivial, since all the logic is
in nbd.c and can be shared easily between qemu-nbd and QEMU itself.
The main difference is that qemu-nbd serves a single unnamed export,
while QEMU serves named exports....

d7d512f6 10/23/2012 11:39 pm Paolo Bonzini

block: add close notifiers

The first user of close notifiers will be the embedded NBD server.
It would be possible to use them to do some of the ad hoc processing
(e.g. for block jobs and I/O limits) that is currently done by

Acked-by: Kevin Wolf <>...

69758c22 10/23/2012 08:05 pm Paolo Bonzini

build: add QAPI files to the tools

We need them because qemu-sockets will soon be using SocketAddress.

Acked-by: Luiz Capitulino <>
Signed-off-by: Paolo Bonzini <>

c9159fe9 10/06/2012 12:07 am Stefan Weil

Remove libhw

The entries for libhw* are no longer needed in .gitignore.

There is also no longer a difference between common-obj-y and
hw-obj-y, so one of those two macros is sufficient.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

2f0c9fe6 09/28/2012 08:14 pm Paolo Bonzini

block: move job APIs to separate files

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Eric Blake <>
Signed-off-by: Kevin Wolf <>

ca0defb9 09/28/2012 06:51 pm Paolo Bonzini

qemu: URI parsing library

Add a new URI parsing library to QEMU. The code has been borrowed from
libxml2 and libvirt.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Bharata B Rao <>
Signed-off-by: Kevin Wolf <>

f794573e 08/16/2012 09:41 pm Eduardo Otubo

Adding support for libseccomp in configure and Makefile (v8)

Adding basic options to the configure script to use libseccomp or not.
The default is set to 'no'. If the flag --enable-libseccomp is used, the
script will check for its existence using pkg-config....

633decd7 08/14/2012 12:12 am Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

  • qmp/queue/qmp: (48 commits)
    target-ppc: add implementation of query-cpu-definitions (v2)
    target-i386: add implementation of query-cpu-definitions (v2)
    qapi: add query-cpu-definitions command (v2)...
93b91c59 08/13/2012 08:17 pm Luiz Capitulino

qemu-ga: switch to the new error format on the wire

IMPORTANT: this BREAKS qemu-ga compatibility for the error response.

Instead of returning something like:

{ "error": { "class": "InvalidParameterValue",
"data": {"name": "mode", "expected": "halt|powerdown|reboot" } } }...

9fb26641 08/08/2012 02:51 pm Orit Wasserman

Add cache handling functions

Add MRU page cache mechanism.
The page are accessed by their address.

Signed-off-by: Benoit Hudzia <>
Signed-off-by: Petter Svard <>
Signed-off-by: Aidan Shribman <>...

23797df3 07/09/2012 08:35 pm Anthony Liguori

Merge remote-tracking branch 'mjt/mjt-iov2' into staging

  • mjt/mjt-iov2:
    rewrite iov_send_recv() and move it to iov.c
    cleanup qemu_co_sendv(), qemu_co_recvv() and friends
    export iov_send_recv() and use it in iov_send() and iov_recv()
    rename qemu_sendv to iov_send, change proto and move declarations to iov.h...
5726c27f 06/21/2012 09:45 pm Blue Swirl

qemu-log: move logging to qemu-log.c

Move logging functions from exec.c to qemu-log.c,
compile it only once.

Signed-off-by: Blue Swirl <>

3d9b4925 06/11/2012 10:07 pm Michael Tokarev

consolidate qemu_iovec_memset{,_skip}() into single function and use existing iov_memset()

This patch combines two functions into one, and replaces
the implementation with already existing iov_memset() from

The new prototype of qemu_iovec_memset():...

dbaf26b3 06/10/2012 11:29 pm Blue Swirl

Revert "build: compile oslib-obj-y once"

This reverts commit 25f27a4f7160d077d6992e811021b4bc3a82abc1
because of bsd-user breakage.

Signed-off-by: Blue Swirl <>

25f27a4f 06/07/2012 10:21 am Paolo Bonzini

build: compile oslib-obj-y once

There is no difference in oslib-obj-y between user-mode and system
targets. There used to be when user-mode could optionally be
compiled with PIE.

Signed-off-by: Paolo Bonzini <>

00c705fb 06/07/2012 10:21 am Paolo Bonzini

build: libcacard Makefile cleanups

Build vscclient from toplevel Makefile, limit usage of vpath.

Signed-off-by: Paolo Bonzini <>

be1029ec 06/07/2012 10:21 am Paolo Bonzini

build: convert libhw to nested Makefile.objs

After this patch, the libhw* directories will have a hierarchy
that mimics the source tree. This is useful because we do have
a couple of files there that are in the top source directory.

Signed-off-by: Paolo Bonzini <>

4eb7ba8a 06/07/2012 10:21 am Paolo Bonzini

build: move qga/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

3d5a3f9a 06/07/2012 10:21 am Paolo Bonzini

build: move target-independent hw/ objects to nested Makefile.objs

This patch starts converting the hw/ directory. Some files in hw/
are compiled once, some twice (32-/64-bit), some once per target.
Each category is moved in a separate patch.

After this patch, the files that are compiled once will show the...

4c696054 06/07/2012 10:21 am Paolo Bonzini

build: move slirp/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

dd5614d6 06/07/2012 10:21 am Paolo Bonzini

build: move qapi/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

8867aef0 06/07/2012 10:21 am Paolo Bonzini

build: move ui/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

b0b68fc6 06/07/2012 10:21 am Paolo Bonzini

build: move audio/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

7456e4ce 06/07/2012 10:21 am Paolo Bonzini

build: move block/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

d8469de6 06/07/2012 10:21 am Paolo Bonzini

build: move net/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

ee20477d 06/07/2012 10:21 am Paolo Bonzini

build: move fsdev/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

99100dc3 06/07/2012 10:21 am Paolo Bonzini

build: move rules for nesting to Makefile.objs

At this point we will start adding nesting behavior to other files
than Because Makefile.objs is included by, it is simpler to move the processing of
subdirectories there.

To enable this, only add per-target files to obj-y. Use a separate...

7f07b9cb 06/07/2012 10:21 am Paolo Bonzini

build: adapt qom/Makefile and move it to Makefile.objs

qom/ already used a separate makefile. Convert it to use relative
paths, and make it declare both common-obj-y and user-obj-y. This
way, the upper makefiles do not need to know that some QOM files
are compiled twice....

046e7c5f 06/07/2012 08:17 am Paolo Bonzini

build: remove trace-nested-y

Signed-off-by: Paolo Bonzini <>

c0424934 04/25/2012 04:21 pm Lluís Vilanova

Beautify makefile commands for generation of files with tracetool

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

650ab98d 04/18/2012 04:02 pm Lluís Vilanova

tracetool: Rewrite infrastructure as python modules

The tracetool script is written in shell and has hit several portability
problems due to shell quirks or external tools across host platforms.
Additionally the amount of string processing and lack of real data...

4e1957ac 04/10/2012 04:21 pm Anthony Liguori

Merge commit 'ff71f2e8cacefae99179993204172bc65e4303df' into staging

  • commit 'ff71f2e8cacefae99179993204172bc65e4303df': (21 commits)
    rtl8139: do the network/host communication only in normal operating mode
    rtl8139: correctly check the opmode
    net: move compute_mcast_idx() to net.h...
79368f49 04/01/2012 09:30 pm Michael Walle

target-lm32: add simple disassembler

Because binutils disassembler is based on libopcode, this is a rewrite from

Signed-off-by: Michael Walle <>

c7f0f3b1 03/30/2012 04:14 pm Anthony Liguori

qtest: add test framework

The idea behind qtest is pretty simple. Instead of executing a CPU via TCG or
KVM, rely on an external process to send events to the device model that the CPU
would normally generate.

qtest presents itself as an accelerator. In addition, a new option is added to...

762833b3 03/16/2012 12:41 am Michael S. Tsirkin

slotid: add slot id capability

This capability makes it possible for the guest to
report a unique chassis identifier to the user.

The spec also recommends making chassis indentifier
persist in eeprom.
This isn't implemented.

Signed-off-by: Michael S. Tsirkin <>

4eb812f7 03/16/2012 12:41 am Michael S. Tsirkin

pci: add standard bridge device

This adds support for a standard pci to pci bridge,
enabling support for more than 32 PCI devices in the system.
Device hotplug is supported by means of SHPC controller.
For guests with an SHPC driver, this allows robust hotplug...

1dc324d2 03/16/2012 12:41 am Michael S. Tsirkin

shpc: standard hot plug controller

This adds support for SHPC interface, as defined by PCI Standard
Hot-Plug Controller and Subsystem Specification, Rev 1.0

Only SHPC intergrated with a PCI-to-PCI bridge is supported,...

dd83b06a 03/14/2012 11:20 pm Andreas Färber

qom: Introduce CPU class

Reintroduce CPUState as QOM object: It's abstract and derived directly
from TYPE_OBJECT for compatibility with the user emulators.
The identifier CPUState avoids conflicts between CPU and the struct.

Introduce $(qom-twice-y) to build it separately for system and for user...

684e1e04 03/13/2012 08:55 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.44' into staging

  • kraxel/usb.44:
    Endian fix an assertion in usb-msd
    uhci: alloc can't fail, drop check.
    uhci: new uhci_handle_td return code for tds still in flight
    uhci: renumber uhci_handle_td return codes...
ce008c1f 03/13/2012 08:23 pm Andreas Färber

qom: Add QOM support to user emulators

Link the Object base class and the module infrastructure for class
registration. Introduce $(universal-obj-y) for objects that are more
common than $(common-obj-y), so that those only get built once.

Call QOM module init for type registration....

f1ae32a1 03/13/2012 11:15 am Gerd Hoffmann

usb: the big rename

Reorganize usb source files. Create a new hw/usb/ directory and move
all usb source code to that place. Also make filenames a bit more
descriptive. Host adapters are prefixed with "hch-" now, usb device
emulations are prefixed with "dev-". Fixup paths Makefile and include...

fe91bfa8 03/12/2012 04:14 pm Alex Barcelo

coroutine: adding configure option for sigaltstack coroutine backend

It's possible to use sigaltstack backend with --with-coroutine=sigaltstack

v2: changed from enable/disable configure flags

Signed-off-by: Alex Barcelo <>
Signed-off-by: Kevin Wolf <>