<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/stubs/fd-register.c, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/stubs/fd-register.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/stubs/fd-register.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2020-09-07T10:34:17+00:00</updated>
<entry>
<title>stubs: Move qemu_fd_register stub to util/main-loop.c</title>
<updated>2020-09-07T10:34:17+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2020-09-02T11:17:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8c2787629eee73ca8ce4f100cff4f4946583b4e8'/>
<id>urn:sha1:8c2787629eee73ca8ce4f100cff4f4946583b4e8</id>
<content type='text'>
The linker of MinGW sometimes runs into the following problem:

libqemuutil.a(util_main-loop.c.obj): In function `qemu_fd_register':
/builds/huth/qemu/build/../util/main-loop.c:331: multiple definition of
 `qemu_fd_register'
libqemuutil.a(stubs_fd-register.c.obj):/builds/huth/qemu/stubs/fd-register.c:5:
 first defined here
collect2: error: ld returned 1 exit status
/builds/huth/qemu/rules.mak:88: recipe for target 'tests/test-timed-average.exe'
 failed

qemu_fd_register() is defined in util/main-loop.c for WIN32, so let's simply
move the stub also there in the #else part of the corresponding #ifndef
to fix this problem.

Message-Id: &lt;20200903054503.425435-1-thuth@redhat.com&gt;
Acked-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>Include qemu-common.h exactly where needed</title>
<updated>2019-06-12T11:20:20+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2019-05-23T14:35:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a8d2532645cf5ce4f75981f81dfe363efc35d05c'/>
<id>urn:sha1:a8d2532645cf5ce4f75981f81dfe363efc35d05c</id>
<content type='text'>
No header includes qemu-common.h after this commit, as prescribed by
qemu-common.h's file comment.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20190523143508.25387-5-armbru@redhat.com&gt;
[Rebased with conflicts resolved automatically, except for
include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
net/tap-bsd.c fixed up]
</content>
</entry>
<entry>
<title>stubs: Clean up includes</title>
<updated>2016-02-04T17:01:04+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-01-29T17:49:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=87c9b5e047f3799ec9dba6e31ec0522adf06951c'/>
<id>urn:sha1:87c9b5e047f3799ec9dba6e31ec0522adf06951c</id>
<content type='text'>
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-id: 1454089805-5470-3-git-send-email-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>misc: move include files to include/qemu/</title>
<updated>2012-12-19T07:32:39+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2012-12-17T17:20:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1de7afc984b49af164e2619e6850b9732b173b34'/>
<id>urn:sha1:1de7afc984b49af164e2619e6850b9732b173b34</id>
<content type='text'>
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>build: replace weak symbols with a static library</title>
<updated>2012-11-18T19:19:23+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2012-11-16T17:35:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3bc2f570ec9fc930619a8ef26a22dd6d03c25dac'/>
<id>urn:sha1:3bc2f570ec9fc930619a8ef26a22dd6d03c25dac</id>
<content type='text'>
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
broken.

This patch uses a surprisingly low-tech approach: a static library.
Symbols in a static library are always overridden by symbols in an
object file.  Furthermore, if you place each function in a separate
source file, object files for unused functions will not be taken in.
This means that each function can use all the dependencies that it needs
(especially QAPI stuff such as error_setg).

Thus, all stubs are placed in separate object files and put together in
a static library.  The library then is linked to all programs.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Tested-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Tested-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Signed-off-by: Blue Swirl &lt;blauwirbel@gmail.com&gt;
</content>
</entry>
</feed>
