From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37704 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Onf6C-00029B-2a for qemu-devel@nongnu.org; Mon, 23 Aug 2010 18:02:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Onf6A-0000bT-O4 for qemu-devel@nongnu.org; Mon, 23 Aug 2010 18:02:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58084 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Onf6A-0000b8-C9 for qemu-devel@nongnu.org; Mon, 23 Aug 2010 18:02:34 -0400 From: Alexander Graf Date: Tue, 24 Aug 2010 00:02:28 +0200 Message-Id: <1282600951-30803-3-git-send-email-agraf@suse.de> In-Reply-To: <1282600951-30803-1-git-send-email-agraf@suse.de> References: <1282600951-30803-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 2/5] [S390] Increase amount of virtio pages List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel List Cc: Gerd Hoffmann , Markus Armbruster , Aurelien Jarno , Luiz Capitulino While booting a recent guest, I realized that we're know spawning 2x 64 vrings. Each vring occupies 3 * PAGE_SIZE size and we only reserved 256 * PAGE_SIZE bytes where some additional meta info also has to fit in. This is obviously too little. So let's increase the amount of reserved pages to a reasonable 1024. Signed-off-by: Alexander Graf --- hw/s390-virtio-bus.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/s390-virtio-bus.h b/hw/s390-virtio-bus.h index 7a2f8dc..c2f8dde 100644 --- a/hw/s390-virtio-bus.h +++ b/hw/s390-virtio-bus.h @@ -30,7 +30,7 @@ #define VIRTIO_VQCONFIG_LEN 24 #define VIRTIO_RING_LEN (TARGET_PAGE_SIZE * 3) -#define S390_DEVICE_PAGES 256 +#define S390_DEVICE_PAGES 1024 #define VIRTIO_PARAM_MASK 0xff #define VIRTIO_PARAM_VRING_INTERRUPT 0x0 -- 1.6.0.2