From: Eric Shelton Subject: [PATCH V2 0/1] libxl: set stub domain size based on VRAM size Date: Fri, 10 Jul 2015 18:14:31 -0400 Message-ID: <1436566472-13962-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 1ZDgZN-0000EU-GY for xen-devel@lists.xenproject.org; Fri, 10 Jul 2015 22:14:57 +0000 Received: by qkdv3 with SMTP id v3so20943012qkd.3 for ; Fri, 10 Jul 2015 15:14:54 -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 suggestion. 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