<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/tcg/multiarch/system/memory.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/tests/tcg/multiarch/system/memory.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/tcg/multiarch/system/memory.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-07-06T07:31:16+00:00</updated>
<entry>
<title>tests/tcg: compile system emulation tests as freestanding</title>
<updated>2022-07-06T07:31:16+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-06-22T09:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bb52a8a278782f4e0f009d3568e60a9689b64da7'/>
<id>urn:sha1:bb52a8a278782f4e0f009d3568e60a9689b64da7</id>
<content type='text'>
System emulation tests do not run in a hosted environment, since they
do not link with libc.  They should only use freestanding headers
(float.h, limits.h, stdarg.h, stddef.h, stdbool.h, stdint.h,
stdalign.h, stdnoreturn.h) and should be compiled with -ffreestanding
in order to use the compiler implementation of those headers
rather than the one in libc.

Some tests are using inttypes.h instead of stdint.h, so fix that.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/tcg: fix missing return</title>
<updated>2021-05-18T08:36:21+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2021-05-12T10:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ec6b219a4e25139ae4305c57f3e41bbd4ee36997'/>
<id>urn:sha1:ec6b219a4e25139ae4305c57f3e41bbd4ee36997</id>
<content type='text'>
This was picked up when clang built the test.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20210512102051.12134-30-alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
</content>
</entry>
<entry>
<title>tests: Rename PAGE_SIZE definitions</title>
<updated>2021-01-20T09:46:54+00:00</updated>
<author>
<name>Jiaxun Yang</name>
</author>
<published>2021-01-18T06:38:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d2c4f3841d1cba17c99f76812ffcb75a6c402202'/>
<id>urn:sha1:d2c4f3841d1cba17c99f76812ffcb75a6c402202</id>
<content type='text'>
As per POSIX specification of limits.h [1], OS libc may define
PAGE_SIZE in limits.h.

Self defined PAGE_SIZE is frequently used in tests, to prevent
collosion of definition, we give PAGE_SIZE definitons reasonable
prefixs.

[1]: https://pubs.opengroup.org/onlinepubs/7908799/xsh/limits.h.html

Signed-off-by: Jiaxun Yang &lt;jiaxun.yang@flygoat.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20210118063808.12471-7-jiaxun.yang@flygoat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/tcg: better detect truncated reads</title>
<updated>2019-06-12T16:53:22+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2019-06-03T15:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fcf112317c6c5eaa816a010a701efeaebc5baf60'/>
<id>urn:sha1:fcf112317c6c5eaa816a010a701efeaebc5baf60</id>
<content type='text'>
If we've truncated a wider read we can detect the condition earlier by
looking at the number of zeros we've read. So we don't trip up on
cases where we have written zeros to the start of the buffer we also
ensure we only start each offset read from the right address.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg/multiarch: expand system memory test to cover more</title>
<updated>2019-05-28T09:28:51+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2019-04-29T15:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7ac283e9637f770ad85189531de11c555a6c3813'/>
<id>urn:sha1:7ac283e9637f770ad85189531de11c555a6c3813</id>
<content type='text'>
Expand the memory test to cover move of the softmmu code. Specifically
we:

  - improve commentary
  - add some helpers (for later BE support)
  - reduce boiler plate into helpers
  - add signed reads at various sizes/offsets
  - required -DCHECK_UNALIGNED

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg/multiarch: move the system memory test</title>
<updated>2019-05-28T09:28:51+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2019-04-26T08:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=67f3da9d743592182e593cc843f547a966a2670b'/>
<id>urn:sha1:67f3da9d743592182e593cc843f547a966a2670b</id>
<content type='text'>
There is nothing inherently architecture specific about the memory
test although we may have to manage different restrictions of
unaligned access across architectures.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
</feed>
