Re: [Qemu-devel] [PATCH 3/7] s390: sclp base support

2012-08-20 Thread Heinz Graalfs
Hi Alex, there was one leftover ... On Mon, 2012-07-30 at 14:38 +0200, Alexander Graf wrote: > On 24.07.2012, at 09:37, Christian Borntraeger wrote: > > > From: Heinz Graalfs > > > > This adds a more generic infrastructure for handling Service-Call > > requests on s390. Currently we only supp

Re: [Qemu-devel] [PATCH 3/7] s390: sclp base support

2012-08-03 Thread Andreas Färber
Am 24.07.2012 09:37, schrieb Christian Borntraeger: > diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c > new file mode 100644 > index 000..4095ba6 > --- /dev/null > +++ b/hw/s390x/sclp.c [...] > + > +static TypeInfo s390_sclp_bridge_info = { Two minor comments: static const please. > +.nam

Re: [Qemu-devel] [PATCH 3/7] s390: sclp base support

2012-07-30 Thread Christian Borntraeger
On 30/07/12 14:38, Alexander Graf wrote: >> +/* There is one SCLP bus per machine */ >> +static SCLPS390Bus *sbus; > > ... but there isn't necessarily one machine per qemu instance. Today there > is, > but we shouldn't rely on that fact. Please move the bus variable into a > machine > struct t

Re: [Qemu-devel] [PATCH 3/7] s390: sclp base support

2012-07-30 Thread Alexander Graf
On 24.07.2012, at 09:37, Christian Borntraeger wrote: > From: Heinz Graalfs > > This adds a more generic infrastructure for handling Service-Call > requests on s390. Currently we only support a small subset of Read > SCP Info directly in target-s390x. This patch provides the base > infrastructu

[Qemu-devel] [PATCH 3/7] s390: sclp base support

2012-07-24 Thread Christian Borntraeger
From: Heinz Graalfs This adds a more generic infrastructure for handling Service-Call requests on s390. Currently we only support a small subset of Read SCP Info directly in target-s390x. This patch provides the base infrastructure for supporting more commands and moves Read SCP Info. In the futu