s390x/sclp: fix missing be conversion
commite537112b418306229eb74c53de93751dd7b484d0
authorDavid Hildenbrand <david@redhat.com>
Mon, 18 Dec 2017 22:46:16 +0000 (18 23:46 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 22 Jan 2018 10:04:52 +0000 (22 11:04 +0100)
treeadaecdf9affaef8960bd04c4356f5cc6bab334b9
parentbb8794307252be791f1723eae47983f815882376
s390x/sclp: fix missing be conversion

Linux crashes right now if maxmem > mem is specified on the command line.

On s390x, the guest can hotplug memory itself right now - very weird -
and e.g. Fedora 27 will simply add all memory it can when booting.

So now, we have at least the same behavior on TCG and KVM.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171218224616.21030-3-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/sclp.c