WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: Re: [Xen-devel] Balloon driver for Linux/HVM

To: 牛立新 <topperxin@xxxxxxx>
Subject: Re: Re: [Xen-devel] Balloon driver for Linux/HVM
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Tue, 16 Nov 2010 12:56:49 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Chu Rui <ruichu@xxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 16 Nov 2010 04:57:35 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=TxDPNnsBKXMDcty9w2NVxKk62S8E+1fw2sOgMMUqFSM=; b=PT1q6nONjcJu31M/LVTHdMXK/TN8Lt1Vfgobq0M6S3+fpbIYjyN/pvx+saBLP1MWLm IXGAT6uNe0KAnczJJOQfoHIpQVcry+H9tbtgqD4l2DRL6gAaZCRXGNITSSVxY4TUl7RD 4rrkeplxD3iPmCHbIlg7x1KKsIPIF5x5cavZ8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=IovbQx6F78WsXGR8tVZvenVwgUfBzEdnooi2DuiC3pC+tCg78Ia9wNmvZ2AqdkJQn6 tiURnMHOiCPP9tHLp0YjU9dNrm2/NF4/kkFm9fStmUVCQanryQ0wyWpRG3FSGsvXviS4 wL4kIqTIFXRL/BcpvIluv9mfNB1QHnfQ/Ru4A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1ae18b.16279.12c547ff769.Coremail.topperxin@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimG5Z3FFrKc21Mtfg-q3eF-aEPEeWZ1cfEDqB7D@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1011161133350.2373@kaball-desktop> <1ae18b.16279.12c547ff769.Coremail.topperxin@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2010/11/16 牛立新 <topperxin@xxxxxxx>:
> o, it's strange, the old version have no this limitation.

No; unfortunately a great deal of functionality present in "classic
xen" has been lost in the process of getting the core dom0 support
into the pvops kernel.  I think the plan is, once we have the
necessary changes to non-xen code pushed up stream, we can start
working on getting feature parity with classic xen.

>
>
> At 2010-11-16 19:35:50,"Stefano Stabellini" 
> <stefano.stabellini@xxxxxxxxxxxxx> wrote:
>
>>On Tue, 16 Nov 2010, Chu Rui wrote:
>>> Hi,
>>> I have noticed that, in the code of linux/drivers/xen/balloon.c, there 
>>> exists the snippet as this:
>>>
>>> static int __init balloon_init(void)
>>> {
>>> unsigned long pfn;
>>> struct page *page;
>>> if (!xen_pv_domain())
>>> return -ENODEV;
>>> .....
>>> }
>>>
>>> Does it means the driver will not work in HVM? If so, where is the 
>>> HVN-enabled code for that?
>>
>>not yet, even though I have a patch ready to enable it:
>>
>>git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 2.6.36-rc7-pvhvm-v1
>
>
> ________________________________
> 网易163/126邮箱百分百兼容iphone ipad邮件收发
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel