Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
qemu-linux-user.1643
0043-s390-Remove-legacy-s390-virtio-mach.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0043-s390-Remove-legacy-s390-virtio-mach.patch of Package qemu-linux-user.1643
From 8526e2d444f1bc89818e88abfbe4925bf47e27c7 Mon Sep 17 00:00:00 2001 From: Alexander Graf <agraf@suse.de> Date: Wed, 27 Mar 2013 01:40:20 +0100 Subject: [PATCH] s390: Remove legacy s390-virtio machine type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't want to confuse users by offering the legacy, broken machine type -M s390-virtio. Let's just not include the machine description in the first place.. Signed-off-by: Alexander Graf <agraf@suse.de> [AF: Explicitly declare s390-virtio-ccw the default for v2.0.0-rc0] Signed-off-by: Andreas Färber <afaerber@suse.de> --- hw/s390x/s390-virtio-ccw.c | 1 + hw/s390x/s390-virtio.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index afb539a..ccb3010 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -216,6 +216,7 @@ static void ccw_machine_class_init(ObjectClass *oc, void *data) mc->no_sdcard = 1; mc->use_sclp = 1; mc->max_cpus = 255; + mc->is_default = 1; nc->nmi_monitor_handler = s390_nmi; } diff --git a/hw/s390x/s390-virtio.c b/hw/s390x/s390-virtio.c index bdb5388..471d00a 100644 --- a/hw/s390x/s390-virtio.c +++ b/hw/s390x/s390-virtio.c @@ -333,7 +333,6 @@ static void s390_machine_class_init(ObjectClass *oc, void *data) mc->no_floppy = 1; mc->no_cdrom = 1; mc->no_sdcard = 1; - mc->is_default = 1; nc->nmi_monitor_handler = s390_nmi; } @@ -347,9 +346,11 @@ static const TypeInfo s390_machine_info = { }, }; +#if 0 static void s390_machine_register_types(void) { type_register_static(&s390_machine_info); } type_init(s390_machine_register_types) +#endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor