From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Shelton Subject: [PATCH V3 0/1] libxl: set stub domain size based on VRAM size Date: Sat, 11 Jul 2015 17:30:41 -0400 Message-ID: <1436650242-1067-1-git-send-email-eshelton@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZE2MT-0008TU-IX for xen-devel@lists.xenproject.org; Sat, 11 Jul 2015 21:31:05 +0000 Received: by qgep37 with SMTP id p37so50413320qge.1 for ; Sat, 11 Jul 2015 14:31:02 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, ian.jackson@eu.citrix.com, samuel.thibault@ens-lyon.org, Eric Shelton List-Id: xen-devel@lists.xenproject.org I ran into crashes with qemu-traditional stub domain when 16 MB was assigned to the stdvga virtual video adapter. These were occurring due to an out of memory condition arising from stub domains having a fixed size of 32 MB, with half of that being demanded for video. Assuming the the original value of 32 MB was based on having a 4 MB video adapter, this increases the stub domain size by however much the VRAM exceeds 4 MB. Revised per Ian Jackson's and Samuel Thibault's suggestions. Eric Shelton (1): libxl: set stub domain size based on VRAM size tools/libxl/libxl_dm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.1.0