s390: disallow memory hotplug for the s390-virtio machine
commit2998ffee245e3a141ce1b6fca127744c3e19dc63
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 29 May 2015 11:22:12 +0000 (29 13:22 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 7 Sep 2015 14:10:44 +0000 (7 16:10 +0200)
treecd2c06994d3b3ae7dee9cc3f3909a623e4c972b3
parent311467f77eab5c3e1f8e0f6f446201e3a1f46e70
s390: disallow memory hotplug for the s390-virtio machine

That machine type doesn't currently support memory hotplug, so let's abort
if it is requested. Reason is, that the virtio queues are allocated for now
at the end of the initial ram - extending the ram is therefore not possible.

Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio.c