From: Wei Liu Subject: Re: [PATCH] set pv guest default video_memkb to 0 Date: Wed, 19 Nov 2014 21:24:35 +0000 Message-ID: <20141119212434.GB27349@zion.uk.xensource.com> References: <1416302762.17982.1.camel@citrix.com> <1416344228-24164-1-git-send-email-zhigang.x.wang@oracle.com> <20141119210845.GF20440@laptop.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XrCk8-0006HI-I3 for xen-devel@lists.xenproject.org; Wed, 19 Nov 2014 21:24:52 +0000 Content-Disposition: inline In-Reply-To: <20141119210845.GF20440@laptop.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: ian.jackson@eu.citrix.com, Zhigang Wang , wei.liu2@citrix.com, ian.campbell@citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, Nov 19, 2014 at 04:08:46PM -0500, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 18, 2014 at 03:57:08PM -0500, Zhigang Wang wrote: > > Before this patch, pv guest video_memkb is -1, which is an invalid value. > > And it will cause the xenstore 'memory/targe' calculation wrong: > > > > memory/target = info->target_memkb - info->video_memkb > > CC-ing the maintainers. > > Is this an regression as compared to Xen 4.4 or is this also in Xen 4.4? > I don't think this is a regression, it has been broken for quite a while. Wei.