Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2013-01-03 Thread Alexander Graf
On 18.12.2012, at 18:50, Jens Freimann wrote: > From: Viktor Mihajlovski > > This enables qemu -cpu help to return a list of supported CPU models > on s390 and also to query for cpu definitions in the monitor. > Initially only cpu model = host is returned. This needs to be reworked > into a ful

[Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-18 Thread Jens Freimann
From: Viktor Mihajlovski This enables qemu -cpu help to return a list of supported CPU models on s390 and also to query for cpu definitions in the monitor. Initially only cpu model = host is returned. This needs to be reworked into a full-fledged CPU model handling later on. This change is needed

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-17 Thread Andreas Färber
Am 17.12.2012 15:47, schrieb Alexander Graf: > > On 14.12.2012, at 17:46, Jens Freimann wrote: > >> From: Viktor Mihajlovski >> >> This enables qemu -cpu help to return a list of supported CPU models >> on s390 and also to query for cpu definitions in the monitor. >> Initially only cpu model = h

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-17 Thread Alexander Graf
On 14.12.2012, at 17:46, Jens Freimann wrote: > From: Viktor Mihajlovski > > This enables qemu -cpu help to return a list of supported CPU models > on s390 and also to query for cpu definitions in the monitor. > Initially only cpu model = host is returned. This needs to be reworked > into a ful

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-16 Thread Andreas Färber
Am 14.12.2012 17:46, schrieb Jens Freimann: > From: Viktor Mihajlovski > > This enables qemu -cpu help to return a list of supported CPU models > on s390 and also to query for cpu definitions in the monitor. > Initially only cpu model = host is returned. This needs to be reworked > into a full-fl

[Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-14 Thread Jens Freimann
From: Viktor Mihajlovski This enables qemu -cpu help to return a list of supported CPU models on s390 and also to query for cpu definitions in the monitor. Initially only cpu model = host is returned. This needs to be reworked into a full-fledged CPU model handling later on. This change is needed

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Alexander Graf
On 12/12/2012 06:52 PM, Richard Henderson wrote: On 12/12/2012 06:03 AM, Alexander Graf wrote: The TCG model is a "z900". We can just have a "z900" model and a "host" model with tcg_enabled() vs kvm_enabled() checks on each. My target-s390x tcg rewrite targets something just shy of z196. The m

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Alexander Graf
On 12/12/2012 05:28 PM, Andreas Färber wrote: Am 12.12.2012 16:05, schrieb Viktor Mihajlovski: On 12/12/2012 02:51 PM, Andreas Färber wrote: +(*cpu_fprintf)(f, "s390 %16s\n", "[host]"); Note that the square-bracket notation was specific to x86 when it distinguished between built-in and con

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Viktor Mihajlovski
On 12/12/2012 03:03 PM, Alexander Graf wrote: The TCG model is a "z900". We can just have a "z900" model and a "host" model with tcg_enabled() vs kvm_enabled() checks on each. Alex I would advise to not define 'artificial' names, i.e. such that cannot be retrieved via a user-space interf

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Richard Henderson
On 12/12/2012 06:03 AM, Alexander Graf wrote: > The TCG model is a "z900". We can just have a "z900" model and a > "host" model with tcg_enabled() vs kvm_enabled() checks on each. My target-s390x tcg rewrite targets something just shy of z196. The main thing that's missing is actually STORE FACIL

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Viktor Mihajlovski
On 12/12/2012 02:51 PM, Andreas Färber wrote: +(*cpu_fprintf)(f, "s390 %16s\n", "[host]"); Note that the square-bracket notation was specific to x86 when it distinguished between built-in and config-based models. OK, since libvirt capable of dealing with s390 cpu models will never see thi

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Andreas Färber
Am 12.12.2012 16:05, schrieb Viktor Mihajlovski: > On 12/12/2012 02:51 PM, Andreas Färber wrote: >>> +(*cpu_fprintf)(f, "s390 %16s\n", "[host]"); >> >> Note that the square-bracket notation was specific to x86 when it >> distinguished between built-in and config-based models. >> > OK, since lib

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Alexander Graf
On 12/12/2012 04:05 PM, Viktor Mihajlovski wrote: On 12/12/2012 02:51 PM, Andreas Färber wrote: +(*cpu_fprintf)(f, "s390 %16s\n", "[host]"); Note that the square-bracket notation was specific to x86 when it distinguished between built-in and config-based models. OK, since libvirt capable

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Alexander Graf
On 12.12.2012, at 14:51, Andreas Färber wrote: > Am 12.12.2012 14:08, schrieb Jens Freimann: >> From: Viktor Mihajlovski >> >> This enables qemu -cpu help to return a list of supported CPU models >> on s390 and also to query for cpu definitions in the monitor. >> Initially only cpu model = host

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Andreas Färber
Am 12.12.2012 14:08, schrieb Jens Freimann: > From: Viktor Mihajlovski > > This enables qemu -cpu help to return a list of supported CPU models > on s390 and also to query for cpu definitions in the monitor. > Initially only cpu model = host is returned. This needs to be reworked > into a full-fl

Re: [Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Alexander Graf
On 12.12.2012, at 14:08, Jens Freimann wrote: > From: Viktor Mihajlovski > > This enables qemu -cpu help to return a list of supported CPU models > on s390 and also to query for cpu definitions in the monitor. > Initially only cpu model = host is returned. This needs to be reworked > into a ful

[Qemu-devel] [PATCH 3/3] S390: Enable -cpu help and QMP query-cpu-definitions

2012-12-12 Thread Jens Freimann
From: Viktor Mihajlovski This enables qemu -cpu help to return a list of supported CPU models on s390 and also to query for cpu definitions in the monitor. Initially only cpu model = host is returned. This needs to be reworked into a full-fledged CPU model handling later on. This change is needed