Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
qemu-linux-user.7445
0045-s390-Default-virtio-blk-to-ccw.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0045-s390-Default-virtio-blk-to-ccw.patch of Package qemu-linux-user.7445
From ac843c3784667a27dbbb4f67099a31711d0abb62 Mon Sep 17 00:00:00 2001 From: Alexander Graf <agraf@suse.de> Date: Tue, 26 Mar 2013 23:53:17 +0100 Subject: [PATCH] s390: Default virtio-blk to ccw MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When spawning a drive with -drive if=virtio on s390x, we want to create a ccw device by default, as that is our default machine. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Bruce Rogers <brogers@suse.com> Signed-off-by: Andreas Färber <afaerber@suse.de> --- blockdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockdev.c b/blockdev.c index 4d98224920..e96bf6972a 100644 --- a/blockdev.c +++ b/blockdev.c @@ -868,7 +868,7 @@ DriveInfo *drive_init(QemuOpts *all_opts, BlockInterfaceType block_default_type) devopts = qemu_opts_create(qemu_find_opts("device"), NULL, 0, &error_abort); if (arch_type == QEMU_ARCH_S390X) { - qemu_opt_set(devopts, "driver", "virtio-blk-s390"); + qemu_opt_set(devopts, "driver", "virtio-blk-ccw"); } else { qemu_opt_set(devopts, "driver", "virtio-blk-pci"); }
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