qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	Alexander Graf <agraf@suse.de>,
	Jens Freimann <jfrei@linux.vnet.ibm.com>,
	Cornelia Huck <cornelia.huck@de.ibm.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] s390: deprecate the non-ccw machine in 2.5
Date: Fri, 6 Nov 2015 12:48:02 +0100	[thread overview]
Message-ID: <563C9372.7020306@de.ibm.com> (raw)
In-Reply-To: <CAFEAcA9V28i0eHG04M7x9yNZ-+ciHwZomqGnHY-VvL5Yo5jJhw@mail.gmail.com>

Am 06.11.2015 um 12:41 schrieb Peter Maydell:
> On 6 November 2015 at 11:28, Christian Borntraeger
> <borntraeger@de.ibm.com> wrote:
>> The non-ccw machine for s390 (s390-virtio) is not very well maintained
>> and caused several issues in the past:
>> - aliases like virtio-blk did not work for s390
>> - virtio refactoring failed due to long standing bugs (e.g.see commit
>>   cb927b8a "s390-virtio: Accommodate guests using virtqueues too early")
>> - some features like memory hotplug will cause trouble due to virtio storage
>>   being above guest memory
>> - the boot loader bios no longer seems to work. the source code of that
>>   loader is also no longer maintained
>>
>> 2.4 changed the default to the ccw machine, let's deprecate the old
>> machine for 2.5.
>>
>> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
>> Acked-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
> 
> You'll also want to add a suitable note to the Changelog on the wiki.

Yes.
> 
>> ---
>>  hw/s390x/s390-virtio.c | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/hw/s390x/s390-virtio.c b/hw/s390x/s390-virtio.c
>> index e4000c9..7d95cfd 100644
>> --- a/hw/s390x/s390-virtio.c
>> +++ b/hw/s390x/s390-virtio.c
>> @@ -266,6 +266,9 @@ static void s390_init(MachineState *machine)
>>      hwaddr virtio_region_len;
>>      hwaddr virtio_region_start;
>>
>> +    error_report("WARNING\nThe s390-virtio machine (non-ccw) is deprecated.\n"
>> +                 "It will be removed in 2.6. Please use s390-ccw-virtio");
>> +
> 
> I have a vague recollection that you shouldn't have embedded
> newlines in error_report() strings, but maybe I'm misremembering?

Hmm, right error_printf can handle newlines, error_report might not depending
on output.

  reply	other threads:[~2015-11-06 11:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06 11:28 [Qemu-devel] [PATCH] s390: deprecate the non-ccw machine in 2.5 Christian Borntraeger
2015-11-06 11:41 ` Peter Maydell
2015-11-06 11:48   ` Christian Borntraeger [this message]
2015-11-06 11:50   ` Cornelia Huck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=563C9372.7020306@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=agraf@suse.de \
    --cc=cornelia.huck@de.ibm.com \
    --cc=jfrei@linux.vnet.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).