]> git.ipfire.org Git - thirdparty/qemu.git/commit
s390x: fix -initrd in virtio machine
authorAlexander Graf <agraf@suse.de>
Wed, 19 Sep 2012 15:24:46 +0000 (17:24 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 30 Nov 2012 21:55:22 +0000 (15:55 -0600)
commit7817b8d858852adb2ae93f2af8c7f2a1198f4f61
treeb629b50fd864c06350e0bb0a87baa2c3e20579c0
parent0dfd8215c2d7023436e4bd25b68d6f00d83702e6
s390x: fix -initrd in virtio machine

When using -initrd in the virtio machine, we need to indicate the initrd
start and size inside the kernel image. These parameters need to be stored
in native endianness.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Richard Henderson <rth@twiddle.net>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
(cherry picked from commit 235a3f0bed3584fe65079ffa07c7a842971f261e)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/s390-virtio.c