<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target-s390x/cpu_models.h, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/target-s390x/cpu_models.h?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target-s390x/cpu_models.h?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2016-12-20T20:52:12+00:00</updated>
<entry>
<title>Move target-* CPU file into a target/ folder</title>
<updated>2016-12-20T20:52:12+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2016-10-11T06:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fcf5ef2ab52c621a4617ebbef36bf43b4003f4c0'/>
<id>urn:sha1:fcf5ef2ab52c621a4617ebbef36bf43b4003f4c0</id>
<content type='text'>
We've currently got 18 architectures in QEMU, and thus 18 target-xxx
folders in the root folder of the QEMU source tree. More architectures
(e.g. RISC-V, AVR) are likely to be included soon, too, so the main
folder of the QEMU sources slowly gets quite overcrowded with the
target-xxx folders.
To disburden the main folder a little bit, let's move the target-xxx
folders into a dedicated target/ folder, so that target-xxx/ simply
becomes target/xxx/ instead.

Acked-by: Laurent Vivier &lt;laurent@vivier.eu&gt; [m68k part]
Acked-by: Bastian Koppelmann &lt;kbastian@mail.uni-paderborn.de&gt; [tricore part]
Acked-by: Michael Walle &lt;michael@walle.cc&gt; [lm32 part]
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt; [s390x part]
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt; [s390x part]
Acked-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt; [i386 part]
Acked-by: Artyom Tarasenko &lt;atar4qemu@gmail.com&gt; [sparc part]
Acked-by: Richard Henderson &lt;rth@twiddle.net&gt; [alpha part]
Acked-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt; [xtensa part]
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt; [ppc part]
Acked-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt; [cris&amp;microblaze part]
Acked-by: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt; [unicore32 part]
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>s390x/kvm: implement CPU model support</title>
<updated>2016-09-06T15:06:50+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3b84c25cc7e4106a588737b2031863994bb86f03'/>
<id>urn:sha1:3b84c25cc7e4106a588737b2031863994bb86f03</id>
<content type='text'>
Let's implement our two hooks so we can support CPU models.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-22-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390x/sclp: propagate hmfai</title>
<updated>2016-09-06T15:06:50+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a366930780a75027bf44fa8b1efa03372f71e17d'/>
<id>urn:sha1:a366930780a75027bf44fa8b1efa03372f71e17d</id>
<content type='text'>
hmfai is provided on CPU models &gt;= z196. Let's propagate it properly.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-19-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390x/sclp: propagate the mha via sclp</title>
<updated>2016-09-06T15:06:50+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3fad3252a362515a44003434cab3766b6b57c985'/>
<id>urn:sha1:3fad3252a362515a44003434cab3766b6b57c985</id>
<content type='text'>
The mha is provided in the CPU model, so get any CPU and extract the value.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-18-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390x/sclp: propagate the ibc val (lowest and unblocked ibc)</title>
<updated>2016-09-06T15:06:50+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=059be520d519565636f73496c20b2b8d331fa865'/>
<id>urn:sha1:059be520d519565636f73496c20b2b8d331fa865</id>
<content type='text'>
If we have a lowest ibc, we can indicate the ibc to the guest.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-17-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390x/sclp: indicate sclp features</title>
<updated>2016-09-06T15:06:50+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4dd4200ee7b4bc4b383932720bc53accf85cc8b2'/>
<id>urn:sha1:4dd4200ee7b4bc4b383932720bc53accf85cc8b2</id>
<content type='text'>
We have three different blocks in the SCLP read-SCP information response
that indicate sclp features. Let's prepare propagation.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-16-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390x/cpumodel: let the CPU model handle feature checks</title>
<updated>2016-09-06T15:06:50+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7c72ac49ae9f38fa0125296e05988655157decb5'/>
<id>urn:sha1:7c72ac49ae9f38fa0125296e05988655157decb5</id>
<content type='text'>
If we have certain features enabled, we have to migrate additional state
(e.g. vector registers or runtime-instrumentation registers). Let the
CPU model control that unless we have no "host" CPU model in the KVM
case. This will later on be the case for compatibility machines, so
migration from QEMU versions without the CPU model will still work.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-12-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390x/cpumodel: store the CPU model in the CPU instance</title>
<updated>2016-09-06T15:06:50+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ad5afd07b628cd0610ea322ad60b5ad03aa250c8'/>
<id>urn:sha1:ad5afd07b628cd0610ea322ad60b5ad03aa250c8</id>
<content type='text'>
A CPU model consists of a CPU definition, to which delta changes are
applied - features added or removed (e.g. z13-base,vx=on). In addition,
certain properties (e.g. cpu id) can later on change during migration
but belong into the CPU model. This data will later be filled from the
host model in the KVM case.

Therefore, store the configured CPU model inside the CPU instance, so
we can later on perform delta changes using properties.

For the "qemu" model, we emulate in TCG a z900. "host" will be
uninitialized (cpu-&gt;model == NULL) unless we have CPU model support in KVM
later on. The other models are all initialized from their definitions.
Only the "host" model can have a cpu-&gt;model == NULL.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-10-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390x/cpumodel: register defined CPU models as subclasses</title>
<updated>2016-09-06T15:06:49+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2016-09-05T08:52:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6c064de1e08f425e2852ea9b38ea0723994aa4fd'/>
<id>urn:sha1:6c064de1e08f425e2852ea9b38ea0723994aa4fd</id>
<content type='text'>
This patch adds the CPU model definitions that are known on s390x -
like z900, zBC12 or z13. For each definition, introduce two CPU models:

1. Base model (e.g. z13-base): Minimum feature set we expect to be around
   on all z13 systems. These models are migration-safe and will never
   change.
2. Flexible models (e.g. z13): Models that can change between QEMU versions
   and will be extended over time as we implement further features that
   are already part of such a model in real hardware of certain
   configurations.

We want to work on features using ordinary bitmap operations, however we
can't initialize a bitmap statically (unsigned long[] ...). Therefore we
store the generated feature lists in separate arrays and convert them to
proper bitmaps before registering all our CPU model classes.

Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Message-Id: &lt;20160905085244.99980-9-dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
</feed>
