]> Git Repo - qemu.git/commit - hw/s390x/s390-virtio-bus.c
s390x: keep hint on virtio managing size
authorAlexander Graf <[email protected]>
Wed, 13 Apr 2011 08:55:11 +0000 (10:55 +0200)
committerAlexander Graf <[email protected]>
Fri, 20 May 2011 15:35:12 +0000 (17:35 +0200)
commitd1ff903ca592420b196ce261428e035b69aa470f
tree9a9c5bcf5ea24d00038383dacc1223bbc8e70bd8
parent1f20626679964730f991a9faeb5d9438c2827465
s390x: keep hint on virtio managing size

The s390x virtio bus keeps management information on virtio after the top
of the guest's RAM. We need to be able to tell the guest the size of its
RAM (without virtio stuff), but also be able to trap when the guest accesses
RAM outside of its scope (including virtio stuff).

So we need a variable telling us the size of the virtio stuff, so we can
calculate the highest available RAM address from that.

While at it, also increase the maximum number of virtio pages, so we play
along well with more recent kernels that spawn a ridiculous number of virtio
console adapters.

Signed-off-by: Alexander Graf <[email protected]>
hw/s390-virtio-bus.c
hw/s390-virtio-bus.h
target-s390x/cpu.h
This page took 0.026349 seconds and 4 git commands to generate.