Hi Namhyung,
> On Aug 23, 2016, at 8:20 AM, Namhyung Kim wrote:
>
> Hi Joel,
>
> On Tue, Aug 23, 2016 at 7:25 PM, Joel Fernandes wrote:
>> From: Namhyung Kim
>
>>
>> Any thoughts on what you think about it? In your approach though, you
>> wouldn't need a backing mem-path file which is the s
Hi,
I noticed that QEMU would not compile on Windows in the MSYS2
environment.
Here is a patch that adds a check for it to the configure script and
amended some ifdefs so it now builds.
At the bottom of this email is a build script I made for building under
MSYS2, however I am
not sure if i
From: Shannon Zhao
This series add cortex-a72 cpu support for target-arm.
Shannon Zhao (3):
target-arm: cpu64: Add support for Cortex-A72
target-arm/kvm64: Add cortex-a72 cpu support
hw/arm/virt: Add cortex-a72 cpu support in machine virt
hw/arm/virt.c | 5
linux-he
From: Shannon Zhao
Add cortex-a72 cpu support in machine virt, so it can be used for TCG
and KVM.
Signed-off-by: Shannon Zhao
---
hw/arm/virt.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index a193b5a..adffe03 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/
From: Shannon Zhao
Add the ARM Cortex-A72 processor definition. It's similar to A57.
Signed-off-by: Shannon Zhao
---
target-arm/cpu64.c | 55 ++
1 file changed, 55 insertions(+)
diff --git a/target-arm/cpu64.c b/target-arm/cpu64.c
index 1635
From: Shannon Zhao
Enable cortex-a72 cpu support for KVM.
Signed-off-by: Shannon Zhao
---
linux-headers/asm-arm64/kvm.h | 3 ++-
target-arm/cpu64.c| 1 +
target-arm/kvm-consts.h | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/linux-headers/asm-arm64/kvm.
cc'ing in Liang Li who did the original avx2 code.
Dave
* Richard Henderson (r...@twiddle.net) wrote:
> Patches 1-3 remove the use of ifunc from the implementation.
>
> Patch 5 adjusts the x86 implementation a bit more to take
> advantage of ptest (in sse4.1) and unaligned accesses (in avx1).
* Richard Henderson (r...@twiddle.net) wrote:
> Since the two users don't make use of the returned offset,
> beyond ensuring that the entire buffer is zero, consider the
> can_use_buffer_find_nonzero_offset and buffer_find_nonzero_offset
> functions internal.
>
> Signed-off-by: Richard Henderson
Stefan Hajnoczi writes:
> On Sun, Aug 21, 2016 at 02:32:34PM +0200, Lluís Vilanova wrote:
>> Unfortuntely, I've been unable to to make dtrace recognise QEMU's events (I'm
>> only able to see the host kernel events). If someone with more experience on
>> it
>> can help me use dtrace with QEMU's ev
> * Richard Henderson (r...@twiddle.net) wrote:
>> Patches 1-3 remove the use of ifunc from the implementation.
[...]
I am not a qemu developer, but I wanted to write in support of
removing the use of ifunc.
I filed a glibc bug at
https://sourceware.org/bugzilla/show_bug.cgi?id=20480 that I actua
From: "Dr. David Alan Gilbert"
rc4030 seems to be part of a MIPS chipset; this converts it to
VMState.
Note:
a) It builds but I've not found a way to boot a MIPS Jazz image to
test it.
b) It was saving 0..<15 on the 16 entry rem_speed array; I've not
got a clue what that array is but I
From: "Dr. David Alan Gilbert"
Changed a few types to fixed sized types in the ssi_sd_state
Now saving/loading a byte for the cmdarg/response bytes that were
previously saved as uint32
Bumped version number to deal with those changes.
Signed-off-by: Dr. David Alan Gilbert
---
hw/sd/ssi-sd.c
From: "Dr. David Alan Gilbert"
Bumps version number because we now use the VMSTATE_SSI_SLAVE that
only uses a byte rather than a 32bit (for saving a bool 'cs').
Signed-off-by: Dr. David Alan Gilbert
---
hw/display/ssd0323.c | 102 ---
1 file c
From: "Dr. David Alan Gilbert"
In an effort to nibble away at register_savevm users,
this set removes 5 more and converts them to vmstate.
The ssd0323 seems to test OK with Peter's Stellaris test.
The rc4030 has a tested-by from Hervé.
The other 3 I'm less sure of; the ssi-sd is similar to the s
From: "Dr. David Alan Gilbert"
I've converted the fields in it's main data structure
to fixed size types in ways that look sane, but I don't actually
know the details of this hardware.
Signed-off-by: Dr. David Alan Gilbert
---
hw/input/tsc2005.c | 154 --
From: "Dr. David Alan Gilbert"
Note:
I know nothing about this hardware.
I'm now saving all 3 of the pll entries; only 2 were saved before.
There are a couple of times that were previously stored as offsets
from 'now' calculated before saving; with vmstate it's easier
to store the 'n
On 24 August 2016 at 11:26, Adam Richter wrote:
> I hope that that consideration, combined with the micro-costs to
> readability and portability of using and ELF specific and perhaps
> currently GCC specific feature might tip the balance against the
> savings of a level of function call indirectio
From: Vijaya Kumar K
This series introduces support for GICv3 live migration with
new VGIC implementation in 4.7-rc3 kernel.
In this series, patch 1 of the previous implementation
are ported.
https://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg05284.html
Patch 2, is based on below implem
From: Vijaya Kumar K
This temporary patch adds kernel API definitions. Use proper header update
procedure after these features are released.
Signed-off-by: Pavel Fedin
---
linux-headers/asm-arm64/kvm.h | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git
From: Vijaya Kumar K
This actually implements pre_save and post_load methods for in-kernel
vGICv3.
Signed-off-by: Pavel Fedin
Signed-off-by: Peter Maydell
[PMM:
* use decimal, not 0bnnn
* fixed typo in names of ICC_APR0R_EL1 and ICC_AP1R_EL1
* completely rearranged the get and put functions
- Original Message -
> From: "ronnie sahlberg"
> To: "Paolo Bonzini"
> Cc: "Roy Shterman" , "qemu-devel"
> , "Peter Lieven"
> Sent: Monday, August 22, 2016 10:35:03 PM
> Subject: Re: [PATCH] block/iscsi: Adding iser support in Libiscsi-QEMU
>
> It is never too late.
>
> I can start
> On 24 August 2016 at 11:26, Adam Richter wrote:
> > I hope that that consideration, combined with the micro-costs to
> > readability and portability of using and ELF specific and perhaps
> > currently GCC specific feature might tip the balance against the
> > savings of a level of function call
On 24 August 2016 at 12:45, Paolo Bonzini wrote:
> It does save a level of indirection after the first call AFAIK, but
> it shouldn't be measurable.
It's worse on first call, but I don't think the subsequent calls
are better than straight pointer-indirection. It's been a while
since I looked thou
Alex Bennée writes:
> Hi,
>
> I'm proposing for the 2.8 cycle we officially drop supporting 64 bit
> guests on 32 bit hosts. For most of the KVM targets it doesn't make
> any sense anyway and for TCG it makes things harder (e.g. supporting
> 64 bit atomics on a 32 bit platform). I'm not actually
This series contains 14 new instructions for POWER9 described in ISA3.0.
Patches:
01: Adds vector insert instructions.
vinsertb - Vector Insert Byte
vinserth - Vector Insert Halfword
vinsertw - Vector Insert Word
vinsertd - Vector Insert Doub
The following vector insert instructions are added from ISA 3.0.
vinsertb - Vector Insert Byte
vinserth - Vector Insert Halfword
vinsertw - Vector Insert Word
vinsertd - Vector Insert Doubleword
Signed-off-by: Rajalakshmi Srinivasaraghavan
---
target-ppc/helper.h |4
ta
The following vector extract instructions are added from ISA 3.0.
vextractub - Vector Extract Unsigned Byte
vextractuh - Vector Extract Unsigned Halfword
vextractuw - Vector Extract Unsigned Word
vextractd - Vector Extract Unsigned Doubleword
Signed-off-by: Rajalakshmi Srinivasaraghavan
---
tar
Add vbpermd instruction from ISA 3.0.
Signed-off-by: Rajalakshmi Srinivasaraghavan
---
target-ppc/helper.h |1 +
target-ppc/int_helper.c | 20
target-ppc/translate/vmx-impl.inc.c |1 +
target-ppc/translate/vmx-ops.inc.c |1 +
4 file
Add vpermr instruction from ISA 3.0.
Signed-off-by: Rajalakshmi Srinivasaraghavan
---
target-ppc/helper.h |1 +
target-ppc/int_helper.c | 23 +++
target-ppc/translate/vmx-impl.inc.c | 18 ++
target-ppc/translate/vmx-ops.inc.
The following vector count trailing zeros instructions are
added from ISA 3.0.
vctzb - Vector Count Trailing Zeros Byte
vctzh - Vector Count Trailing Zeros Halfword
vctzw - Vector Count Trailing Zeros Word
vctzd - Vector Count Trailing Zeros Doubleword
Signed-off-by: Rajalakshmi Srinivasaraghavan
Hi All,
I have added two new files (.h/.c) file in 9pfs for some new feature.
When I compile there is a lot of compilation time errors and also I do not
see a dependency
file getting created for this source file.
Please let me know how can I fix this, is there a place where I need to
mention the
From: "Dr. David Alan Gilbert"
Report the values when a comparison fails; together with
the previous patch that prints the device and field names
this should give a good idea of why loading the migration failed.
Signed-off-by: Dr. David Alan Gilbert
---
migration/vmstate.c | 8
1 file
From: "Dr. David Alan Gilbert"
VMSTATE_UNUSED_VARRAY_UINT32 is used to skip a chunk of the stream
that's an n-element array; note the array size and the dynamic value
read never get multiplied so there's no overflow risk.
Signed-off-by: Dr. David Alan Gilbert
---
include/migration/vmstate.h |
From: "Dr. David Alan Gilbert"
Hi,
This series converts two parts of virtio to VMState - the
device load/save for virtio-balloon and virtio-net.
It's only been smoke tested (which it passes); but if anyone
has a good suggestion for testing virtio-net migration
I'd be greatful.
The first coupl
From: "Dr. David Alan Gilbert"
Only lightly smoke-tested so far
Signed-off-by: Dr. David Alan Gilbert
---
hw/net/virtio-net.c| 256 -
include/hw/virtio/virtio-net.h | 10 +-
2 files changed, 157 insertions(+), 109 deletions(-)
diff --git a/
From: "Dr. David Alan Gilbert"
Provide a vmsd pointer for VirtIO devices to use instead of the
load/save methods.
We'll eventually kill off the load/save methods.
Signed-off-by: Dr. David Alan Gilbert
---
hw/virtio/virtio.c | 11 +++
include/hw/virtio/virtio.h | 2 ++
2 files
From: "Dr. David Alan Gilbert"
Replace the load/save with a vmsd.
Signed-off-by: Dr. David Alan Gilbert
---
hw/virtio/virtio-balloon.c | 31 +++
1 file changed, 15 insertions(+), 16 deletions(-)
diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c
i
From: "Dr. David Alan Gilbert"
When a field fails to load (typically due to a limit
check, or a call to a get/put) report the device and field
to give an indication of the cause.
Signed-off-by: Dr. David Alan Gilbert
---
migration/vmstate.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a
At various places in 9pfs, full paths are created by concatenating a guest
originated string to the export path. A malicious guest could forge a
relative path and access files outside the export path.
A tentative fix was sent recently by Prasad J Pandit, but it was only
focused on the local backen
Hi T,
im checking and testing the lastest qemu and i understand
the issue is present only with all softmmu system .
if i open eg qemu-system-ppc64 i have the issue
if i open qemu-system-ppc64 with kvm enabled the issue isnt present and all run
like have to be.
It means all the emulated machine
On 08/23/2016 09:38 PM, Paolo Bonzini wrote:
On 24/08/2016 06:30, no-re...@patchew.org wrote:
ERROR: Use of volatile is usually wrong: see
Documentation/volatile-considered-harmful.txt
#44: FILE: util/cutils.c:289:
+__asm volatile("vmovdqu -0x80(%1),%0\n\t"
Other errors can be ignor
- Original Message -
> From: "Richard Henderson"
> To: "Paolo Bonzini" , qemu-devel@nongnu.org
> Cc: "peter maydell" , qemu-...@nongnu.org,
> f...@redhat.com, "vijay kilari"
>
> Sent: Wednesday, August 24, 2016 4:53:37 PM
> Subject: Re: [Qemu-devel] [PATCH 0/7] Improve buffer_is_zero
>
On 24 August 2016 at 15:29, Greg Kurz wrote:
> At various places in 9pfs, full paths are created by concatenating a guest
> originated string to the export path. A malicious guest could forge a
> relative path and access files outside the export path.
>
> A tentative fix was sent recently by Prasa
On Wed, 24 Aug 2016 14:42:27 +0100
"Dr. David Alan Gilbert (git)" wrote:
> From: "Dr. David Alan Gilbert"
>
> Hi,
> This series converts two parts of virtio to VMState - the
> device load/save for virtio-balloon and virtio-net.
>
> It's only been smoke tested (which it passes); but if anyone
On Wed, 24 Aug 2016 14:42:31 +0100
"Dr. David Alan Gilbert (git)" wrote:
> From: "Dr. David Alan Gilbert"
>
> Provide a vmsd pointer for VirtIO devices to use instead of the
> load/save methods.
>
> We'll eventually kill off the load/save methods.
>
> Signed-off-by: Dr. David Alan Gilbert
>
* Cornelia Huck (cornelia.h...@de.ibm.com) wrote:
> On Wed, 24 Aug 2016 14:42:31 +0100
> "Dr. David Alan Gilbert (git)" wrote:
>
> > From: "Dr. David Alan Gilbert"
> >
> > Provide a vmsd pointer for VirtIO devices to use instead of the
> > load/save methods.
> >
> > We'll eventually kill off t
On Wed, Aug 24, 2016 at 04:00:24PM +0100, Peter Maydell wrote:
> On 24 August 2016 at 15:29, Greg Kurz wrote:
> > At various places in 9pfs, full paths are created by concatenating a guest
> > originated string to the export path. A malicious guest could forge a
> > relative path and access files
On 23 August 2016 at 07:50, Peter Lieven wrote:
> Am 16.08.2016 um 18:30 schrieb Daniel P. Berrange:
>>
>> In previous commit
>>
>>commit c7628bff4138ce906a3620d12e0820c1cf6c140d
>>Author: Gerd Hoffmann
>>Date: Fri Oct 30 12:10:09 2015 +0100
>>
>> vnc: only alloc server surface
On Wed, Aug 24, 2016 at 04:46:31PM +0100, Peter Maydell wrote:
> On 23 August 2016 at 07:50, Peter Lieven wrote:
> > Am 16.08.2016 um 18:30 schrieb Daniel P. Berrange:
> >>
> >> In previous commit
> >>
> >>commit c7628bff4138ce906a3620d12e0820c1cf6c140d
> >>Author: Gerd Hoffmann
> >>D
On Wed, 24 Aug 2016 16:42:05 +0100
"Dr. David Alan Gilbert" wrote:
> * Cornelia Huck (cornelia.h...@de.ibm.com) wrote:
> > On Wed, 24 Aug 2016 14:42:31 +0100
> > "Dr. David Alan Gilbert (git)" wrote:
> > > diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
> > > index d2490c1.
Hi Stefan!
I tried it on s390x and... it doesn't compile :(
Something has been changed somewhere behind our backs, and you need to
change this line to get it to compile again:
--- virtio-ccw.c~ 2016-08-23 16:37:14.0 +0200
+++ virtio-ccw.c2016-08-23 16:41:10.587853314 +020
Hi all,
I am a new developer at Qemu and i want to understand how the processors code
works. I am get lost through google and didn't know where i can begin to
understand the code.
my aim is to understand how can we model the proccessors using qemu?
Thanks,
Mahmoud
Changed E100 device so it updates EOF, F, and Actual Count fields of Receive
Frame Descriptor (RFD).
Assuming RFD.actual_count equals to size.
Signed-off-by: Mateus Krepsky Ludwich
---
hw/net/eepro100.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c
On Tue, 23 Aug 2016 19:45:15 +0200
Claudio Imbrenda wrote:
> Hi Stefan!
>
> I tried it on s390x and... it doesn't compile :(
> Something has been changed somewhere behind our backs, and you need to
> change this line to get it to compile again:
>
> --- virtio-ccw.c~ 2016-08-23 16:37:14.0
* Cornelia Huck (cornelia.h...@de.ibm.com) wrote:
> On Wed, 24 Aug 2016 14:42:27 +0100
> "Dr. David Alan Gilbert (git)" wrote:
>
> > From: "Dr. David Alan Gilbert"
> >
> > Hi,
> > This series converts two parts of virtio to VMState - the
> > device load/save for virtio-balloon and virtio-net.
On 22 August 2016 at 21:15, Ed Maste wrote:
> On 22 August 2016 at 12:20, Peter Maydell wrote:
>>
>> Awkward that this missed rc4 by an hour or two :-(
>
> Indeed, and I'm sorry that's the case. It wasn't even in the context
> of the upcoming release that I tried building and stumbled across this
On 2016-08-04 at 14:18, John Snow wrote:
These files are currently unmaintained.
I'm proposing that Fam and I co-maintain them; under the model that
whomever between us isn't authoring a given series will be responsible
for reviewing it.
Signed-off-by: John Snow
---
MAINTAINERS | 14 +
On 2016-08-21 at 23:36, Alberto Garcia wrote:
The 'block-commit' command has a 'top' parameter to specify the
topmost node from which the data is going to be copied.
[E] <- [D] <- [C] <- [B] <- [A]
In this case if [C] is the top node then this is the result:
[E] <- [B] <- [A]
[B] must b
On Wed, 24 Aug 2016 16:00:24 +0100
Peter Maydell wrote:
> On 24 August 2016 at 15:29, Greg Kurz wrote:
> > At various places in 9pfs, full paths are created by concatenating a guest
> > originated string to the export path. A malicious guest could forge a
> > relative path and access files outsi
On Wed, 24 Aug 2016 18:46:10 +0300
"Michael S. Tsirkin" wrote:
> On Wed, Aug 24, 2016 at 04:00:24PM +0100, Peter Maydell wrote:
> > On 24 August 2016 at 15:29, Greg Kurz wrote:
> > > At various places in 9pfs, full paths are created by concatenating a guest
> > > originated string to the expor
From: "Dr. David Alan Gilbert"
xbzrle relies on reading pages that have already been sent
to the destination and then applying the modifications; we can't
do that in postcopy because the destination may well have
modified the page already or the page has been discarded.
I already didn't allow re
Since the two users don't make use of the returned offset,
beyond ensuring that the entire buffer is zero, consider the
can_use_buffer_find_nonzero_offset and buffer_find_nonzero_offset
functions internal.
Reviewed-by: Dr. David Alan Gilbert
Signed-off-by: Richard Henderson
---
include/qemu/cut
Patches 1-4 remove the use of ifunc from the implementation.
Patch 6 adjusts the x86 implementation a bit more to take
advantage of ptest (in sse4.1) and unaligned accesses (in avx1).
Patches 3 and 7 are the result of my conversation with Vijaya
Kumar with respect to ThunderX.
Patch 8 is the res
Provide 64-byte and 128-byte versions.
Use dczid_el0 as a proxy for the cacheline size.
Cc: qemu-...@nongnu.org
Cc: vijay.kil...@gmail.com
Signed-off-by: Richard Henderson
---
util/bufferiszero.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/ut
Allow selection of several acceleration functions
based on the size and alignment of the buffer.
Do not require ifunc support for AVX2 acceleration.
Signed-off-by: Richard Henderson
---
configure | 21 +---
util/bufferiszero.c | 352 +---
There's no real knowledge of the cacheline size,
just prefetching one loop ahead.
Signed-off-by: Richard Henderson
---
util/bufferiszero.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/util/bufferiszero.c b/util/bufferiszero.c
index 5246c5b..264598b 100644
--- a/util/bufferiszero.c
++
Signed-off-by: Richard Henderson
---
util/Makefile.objs | 1 +
util/bufferiszero.c | 272
util/cutils.c | 244 --
3 files changed, 273 insertions(+), 244 deletions(-)
create mode 100644 util
GCC versions through 6 do a poor job with the indexed addressing,
and (for ppc64le) issues unnecessary xxswapd insns.
Cc: qemu-...@nongnu.org
Cc: David Gibson
Signed-off-by: Richard Henderson
---
util/bufferiszero.c | 40 ++--
1 file changed, 38 insertions(+)
Use unaligned load operations.
Add versions for avx1 and sse4.1.
Cc: liang.z...@intel.com
Signed-off-by: Richard Henderson
---
util/bufferiszero.c | 169
1 file changed, 145 insertions(+), 24 deletions(-)
diff --git a/util/bufferiszero.c b/ut
Compatibility machines that touch runtime-instrumentation should not
be used with the CPU model. Otherwise the host model will look different,
depending on the QEMU machine QEMU has been started with.
So let's simply disable the host model for existing compatibility machines
that all disable ri. T
To be able to query the correct host model for the "none" machine,
let's allow runtime-instrumentation for that machine.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
hw/s390x/s390-virtio-ccw.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/s390x/s390-virtio-ccw.c b/
Feature groups will be very helpful to reduce the amount of features
typically available in sane configurations. E.g. the MSA facilities
introduced loads of subfunctions, which could - in theory - go away
in the future, but we want to avoid reporting hundrets of features to
the user if usually all
We have three different blocks in the SCLP read-SCP information response
that indicate sclp features. Let's prepare propagation.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
hw/s390x/sclp.c | 9 +
target-s390x/cpu_models.c | 14 ++
target-s390x/cpu
Starting with recent kernels, if the cmma attributes are available, we
actually have hardware support. Enabling CMMA then means providing the
guest VCPU with CMM, therefore enabling its CMM facility.
Let's not blindly enable CMM anymore but let's control it using CPU models.
For disabled CPU model
It might be of interest for tooling whether a CPU definition can be safely
used when migrating, or if e.g. CPU features might get lost during
migration when migrationg from/to a different QEMU version or host, even if
the same compatibility machine is used.
Also, we want to know if a CPU definitio
From: Michael Mueller
This patch introduces the helper "gen-features" which allows to generate
feature list definitions at compile time. Its flexibility is better and the
error-proneness is lower when compared to static programming time added
statements.
The helper includes "target-s390x/cpu_fea
From: Michael Mueller
The patch introduces s390x CPU features (most of them refered to as
facilities) along with their discription and some functions that will be
helpful when working with the features later on.
Please note that we don't introduce all known CPU features, only the
ones currently
The sclp "read cpu info" and "read scp info" commands can include
features for the cpu info and configuration characteristics (extended),
decribing some advanced features available in the configuration.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
include/hw/s390x/sclp.h | 12 ++
This patch introduces two CPU models, "host" and "qemu".
"qemu" is used as default when running under TCG. "host" is used
as default when running under KVM. "host" cannot be used without KVM.
"host" is not migration-safe. They both inherit from the base s390x CPU,
which is turned into an abstract c
As the CPU model now controls msa3, trying to set wrapping keys without
msa3 being around/enable in the kernel will produce misleading errors.
So let's simply not configure key wrapping if msa3 is not enabled and
make compat machines with disabled CPU model work correctly.
Signed-off-by: David Hi
Only minor changes this version. I think this is ready to go. If we
find model inconsitencies or bad feature names, we can still fix them
until the next release.
Latest version can be found on branch:
github.com/cohuck/qemu cpumodel-s390x-v3
Concept---
Let's use the generated groups to create feature group representations for
the user. These groups can later be used to enable/disable multiple
features in one shot and will be used to reduce the amount of reported
features to the user if all subfeatures are in place.
Acked-by: Cornelia Huck
Signe
Let's implement that interface by reusing our convertion code implemented
for expansion.
We use CPU generations and CPU features to calculate the result. This
means, that a zEC12 cannot simply be converted into a z13 by stripping
of features. This is required, as other magic values (e.g. maximum
a
Let's implement that interface by reusing our conversion code and
lookup code for CPU definitions.
In order to find a compatible CPU model, we first detect the maximum
possible CPU generation and then try to find a maximum model, satisfying
all base features (not exceeding the maximum generation).
Let's implement our two hooks so we can support CPU models.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
target-s390x/cpu_models.c | 75 +++-
target-s390x/cpu_models.h | 50
target-s390x/kvm.c| 295 ++
3 file
We have to test if a configured CPU model is runnable in the current
configuration, and if not report why that is the case. This is done by
comparing it to the maximum supported model (host for KVM or z900 for TCG).
Also, we want to do some base sanity checking for a configured CPU model.
We'll ca
In order to expand CPU models, we create temporary cpus that handle the
feature/group parsing. Only CPU feature properties are expanded.
When converting the data structure back, we always fall back to the
static base CPU model, which is by definition migration-safe.
Acked-by: Cornelia Huck
Signe
Let's provide a standardized interface to compare two CPU models.
"query-cpu-model-compare" takes two models and returns how they compare
in a specific configuration.
The result will give guarantees about runnability. E.g. if a CPU model A
is a subset of CPU model B, model A is guaranteed to run
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
Let's factor out the common code of "read cpu info" and "read scp
info". This will make the introduction of new cpu entry fields easier.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
hw/s390x/sclp.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
d
hmfai is provided on CPU models >= z196. Let's propagate it properly.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
hw/s390x/sclp.c | 1 +
include/hw/s390x/sclp.h | 3 ++-
target-s390x/cpu_models.c | 14 ++
target-s390x/cpu_models.h | 1 +
4 files chang
On Wed, Aug 24, 2016 at 06:41:45PM +0200, Greg Kurz wrote:
> On Wed, 24 Aug 2016 18:46:10 +0300
> "Michael S. Tsirkin" wrote:
>
> > On Wed, Aug 24, 2016 at 04:00:24PM +0100, Peter Maydell wrote:
> > > On 24 August 2016 at 15:29, Greg Kurz wrote:
> > > > At various places in 9pfs, full paths ar
If we have a lowest ibc, we can indicate the ibc to the guest.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
hw/s390x/sclp.c | 2 ++
include/hw/s390x/sclp.h | 3 ++-
target-s390x/cpu_models.c | 21 +
target-s390x/cpu_models.h | 12
4
Update against 29b4817d4018 ("Linux 4.8-rc1")
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
include/standard-headers/linux/input-event-codes.h | 32 +
include/standard-headers/linux/input.h | 1 +
include/standard-headers/linux/virtio_config.h | 1
Let's provide a standardized interface to expand CPU models. This interface
can be used by tooling to get details about a specific CPU model in a
certain configuration, e.g. about the "host" model.
To take care of all architectures, two detail levels for an expansion
are introduced. Certain archit
The debian-bootstrap image doesn't choose a default architecture and
distribution version, instead the user has to set both DEB_ARCH and
DEB_TYPE in the environment. Print a reasonably helpful message if
either of them isn't set instead of complaining about "qemu-" being
missing or erroring out bec
Let's expose the description and migration safety and whether a definition
is static, as class properties, this can be helpful in the future.
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
---
target-s390x/cpu.c| 1 +
target-s390x/cpu.h| 1 +
target-s390x/cpu_models.
Let's add all features and feature groups as properties to all CPU models.
If the "host" CPU model is unknown, we can neither query nor change
features. KVM will just continue to work like it did until now.
We will not allow to enable features that were not part of the original
CPU model, because
A couple of fixes for issues encountered while trying out the new
docker test support. As of v2 building the debian-debootstrap image
now works on my laptop, too.
Thanks for the docker test support, BTW. The centos6 test came in
rather handy today for testing the glib < 2.30 compatibility code.
v
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.
1 - 100 of 159 matches
Mail list logo