From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: peter.maydell@linaro.org
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>,
borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com,
qemu-devel@nongnu.org, agraf@suse.de
Subject: [Qemu-devel] [PULL for-2.5 15/15] s390: deprecate the non-ccw machine in 2.5
Date: Wed, 11 Nov 2015 18:56:33 +0100 [thread overview]
Message-ID: <1447264593-14625-16-git-send-email-cornelia.huck@de.ibm.com> (raw)
In-Reply-To: <1447264593-14625-1-git-send-email-cornelia.huck@de.ibm.com>
From: Christian Borntraeger <borntraeger@de.ibm.com>
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>
Message-Id: <1446811645-25565-1-git-send-email-borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
hw/s390x/s390-virtio.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hw/s390x/s390-virtio.c b/hw/s390x/s390-virtio.c
index cebebb1..51dc0a8 100644
--- a/hw/s390x/s390-virtio.c
+++ b/hw/s390x/s390-virtio.c
@@ -268,6 +268,10 @@ static void s390_init(MachineState *machine)
hwaddr virtio_region_len;
hwaddr virtio_region_start;
+ error_printf("WARNING\n"
+ "The s390-virtio machine (non-ccw) is deprecated.\n"
+ "It will be removed in 2.6. Please use s390-ccw-virtio\n");
+
if (machine->ram_slots) {
error_report("Memory hotplug not supported by the selected machine.");
exit(EXIT_FAILURE);
@@ -334,7 +338,7 @@ static void s390_machine_class_init(ObjectClass *oc, void *data)
NMIClass *nc = NMI_CLASS(oc);
mc->alias = "s390";
- mc->desc = "VirtIO based S390 machine";
+ mc->desc = "VirtIO based S390 machine (deprecated)";
mc->init = s390_init;
mc->reset = s390_machine_reset;
mc->block_default_type = IF_VIRTIO;
--
2.6.3
next prev parent reply other threads:[~2015-11-11 17:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 17:56 [Qemu-devel] [PULL for-2.5 00/15] s390x patches for 2.5 Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 01/15] s390x/css: sense data endianness Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 02/15] s390x/pci : fix up s390 pci iommu translation function Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 03/15] MAINTAINERS: update s390 file patterns Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 04/15] MAINTAINERS: update virtio-ccw/s390 git tree Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 05/15] s390x: switch to memory_region_allocate_system_memory Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 06/15] s390x/kvm: don't enable CMMA when hugetlbfs will be used Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 07/15] pc-bios/s390-ccw: Always adjust virtio sector count Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 08/15] pc-bios/s390-ccw: ISO-9660 El Torito boot implementation Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 09/15] pc-bios/s390-ccw: El Torito s390x boot entry check Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 10/15] pc-bios/s390-ccw: El Torito 16-bit boot image size field workaround Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 11/15] pc-bios/s390-ccw: rebuild image Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 12/15] qdev: provide qdev_reset_all_fn() Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 13/15] s390x/ipl: clean up qom definitions and turn into TYPE_DEVICE Cornelia Huck
2015-11-11 17:56 ` [Qemu-devel] [PULL for-2.5 14/15] s390x/ipl: switch error reporting to error_setg Cornelia Huck
2015-11-11 17:56 ` Cornelia Huck [this message]
2015-11-11 23:19 ` [Qemu-devel] [PULL for-2.5 00/15] s390x patches for 2.5 Peter Maydell
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=1447264593-14625-16-git-send-email-cornelia.huck@de.ibm.com \
--to=cornelia.huck@de.ibm.com \
--cc=agraf@suse.de \
--cc=borntraeger@de.ibm.com \
--cc=jfrei@linux.vnet.ibm.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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).