Re: [Qemu-devel] [PATCH v1 RFC 6/6] KVM: s390: add cpu model support
From: Michael Mueller
Date: Thu May 22 2014 - 08:29:30 EST
On Thu, 22 May 2014 10:53:38 +0200
Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
> Il 22/05/2014 10:23, Michael Mueller ha scritto:
> > On Wed, 21 May 2014 15:22:35 +0200
> > Alexander Graf <agraf@xxxxxxx> wrote:
> >
> > I have seen the slides from Eduardo which he presented during this years
> > DevConf in Brno and made my comments according the s390x implementation
> > on that. Is you will see, this is mostly overlapping except for the model
> > definition authority that I clearly see on qemu's side.
> >
> > See pdf attachment.
>
> More comments:
>
> - "Only one machine type in s390 case which is -machine s390-virtio-ccw"
>
> This probably should change sooner or later, as soon as the
> implementation becomes stable enough. Versioning is necessary for live
> migration across different QEMU version. Perhaps start versioning in
> 2.2, i.e. start making s390-virtio-ccw-2.1 an alias for s390-virtio-ccw now?
Absolutely right, we did not do it yet.
>
> Note that new virtio device features can appear at any time outside the
> s390 code, and will take part in versioning as well.
These changes are then as well included in the machine version I guess.
>
> - "No enforce option"
>
> Strongly suggest making enforce the only possible behavior.
Right that's the plan.
>
> - "Not in the s390x case, because the KVM facility mask limits the cpu
> model specific facilities"
>
> What if the KVM facility mask changes? For x86, nowadays new CPUID bits
> are only introduced in KVM when a new processors comes out. But if we
> introduced an older CPUID bit, it would be a huge complication for
> backwards compatibility. Is it different for s390?
>
I'm thinking about this one currently. The ABI itself will not change
because all facilities of the architecture will be defined in QEMU for the
respective CPU model even though some of them are masked out upon request
by KVM, but the mask is part of the interface itself and can be applied by
QEMU already.
Michael
> Paolo
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/