Jiang, Yunhong
2010-Sep-13 13:29 UTC
[Xen-devel] Where can I get a balloon driver to test PoD
I want to try PoD to test some code. After setting different value to maxmem and memory config option, I can see PoD cache count in the domain dump debug output. However, I can''t find a balloon driver to do more testing. I don''t want to use 2.6.18 kernel because it is really a bit of legacy now. In pvops dom0''s stable-2.6.32-x branch, I noticed driver/xen/balloon.c only support PV xen domain as followed code stated. Simply remove the check cause guest panic. Does anyone know where I can get a working balloon driver for PV-on-HVM guest? Does any branch in pvops dom0 support this? And, George, can you share me some experience that how did you test your PoD patch? Thanks --jyh static int __init balloon_init(void) { unsigned long pfn; struct page *page; if (!xen_pv_domain()) return -ENODEV; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jan Beulich
2010-Sep-13 13:42 UTC
Re: [Xen-devel] Where can I get a balloon driver to test PoD
>>> On 13.09.10 at 15:29, "Jiang, Yunhong" <yunhong.jiang@intel.com> wrote: > Does anyone know where I can get a working balloon driver for PV-on-HVM guest?You could build unmodified_drivers/ against our SLE11 SP1 kernel (or XCP''s, which is based on this) or against OpenSuSE 11.3''s. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jiang, Yunhong
2010-Sep-13 13:55 UTC
RE: [Xen-devel] Where can I get a balloon driver to test PoD
Jan, thanks for your information. I will try to get a SLE11 SP1 kernel or XCP kernel. Also not sure if Stefano has interests to fix this, since he added the platform-pci driver, which makes pv-on-hvm possible. CC him. Thanks --jyh>-----Original Message----- >From: Jan Beulich [mailto:JBeulich@novell.com] >Sent: Monday, September 13, 2010 9:43 PM >To: Jiang, Yunhong >Cc: George Dunlap; xen-devel >Subject: Re: [Xen-devel] Where can I get a balloon driver to test PoD > >>>> On 13.09.10 at 15:29, "Jiang, Yunhong" <yunhong.jiang@intel.com> wrote: >> Does anyone know where I can get a working balloon driver for PV-on-HVM guest? > >You could build unmodified_drivers/ against our SLE11 SP1 kernel (or >XCP''s, which is based on this) or against OpenSuSE 11.3''s. > >Jan_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Sep-13 15:02 UTC
Re: [Xen-devel] Where can I get a balloon driver to test PoD
On Mon, Sep 13, 2010 at 09:55:46PM +0800, Jiang, Yunhong wrote:> Jan, thanks for your information. I will try to get a SLE11 SP1 kernel or XCP kernel. >http://wiki.xensource.com/xenwiki/XenDom0Kernels Links there. -- Pasi> Also not sure if Stefano has interests to fix this, since he added the platform-pci driver, which makes pv-on-hvm possible. CC him. > > Thanks > --jyh > > >-----Original Message----- > >From: Jan Beulich [mailto:JBeulich@novell.com] > >Sent: Monday, September 13, 2010 9:43 PM > >To: Jiang, Yunhong > >Cc: George Dunlap; xen-devel > >Subject: Re: [Xen-devel] Where can I get a balloon driver to test PoD > > > >>>> On 13.09.10 at 15:29, "Jiang, Yunhong" <yunhong.jiang@intel.com> wrote: > >> Does anyone know where I can get a working balloon driver for PV-on-HVM guest? > > > >You could build unmodified_drivers/ against our SLE11 SP1 kernel (or > >XCP''s, which is based on this) or against OpenSuSE 11.3''s. > > > >Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
George Dunlap
2010-Sep-13 16:12 UTC
Re: [Xen-devel] Where can I get a balloon driver to test PoD
Yunhong: When I originally developed the balloon drivers about a year ago, it was possible to compile PV drivers externally, from xen.hg/unmodified_drivers/linux-2.6 using Debian''s stock kernel. However, since that time, things have changed and I haven''t been able to. The system I''m using now actually uses one of Stefano Stabellini''s "pv-on-hvm" trees. It''s a bit experimental, but stable enough, and the balloon driver seems to be working. He''s on holiday now, but you can cc him and ask. Another option would be to use a Windows guest, with either the XCP or the OSS Windows drivers. (Not sure of the OSS Windows drivers have ballooning, but the XCP ones do.) I have a stack of patches from XenServer to push upstream to -unstable, but I haven''t had time to test them yet, due to higher-priority things coming in. Let me know how it goes. -George On Mon, Sep 13, 2010 at 4:02 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Mon, Sep 13, 2010 at 09:55:46PM +0800, Jiang, Yunhong wrote: >> Jan, thanks for your information. I will try to get a SLE11 SP1 kernel or XCP kernel. >> > > http://wiki.xensource.com/xenwiki/XenDom0Kernels > > Links there. > > -- Pasi > >> Also not sure if Stefano has interests to fix this, since he added the platform-pci driver, which makes pv-on-hvm possible. CC him. >> >> Thanks >> --jyh >> >> >-----Original Message----- >> >From: Jan Beulich [mailto:JBeulich@novell.com] >> >Sent: Monday, September 13, 2010 9:43 PM >> >To: Jiang, Yunhong >> >Cc: George Dunlap; xen-devel >> >Subject: Re: [Xen-devel] Where can I get a balloon driver to test PoD >> > >> >>>> On 13.09.10 at 15:29, "Jiang, Yunhong" <yunhong.jiang@intel.com> wrote: >> >> Does anyone know where I can get a working balloon driver for PV-on-HVM guest? >> > >> >You could build unmodified_drivers/ against our SLE11 SP1 kernel (or >> >XCP''s, which is based on this) or against OpenSuSE 11.3''s. >> > >> >Jan >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jiang, Yunhong
2010-Sep-14 09:39 UTC
RE: [Xen-devel] Where can I get a balloon driver to test PoD
This is a helpful wiki. Thanks for your information. --jyh>-----Original Message----- >From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >Sent: Monday, September 13, 2010 11:02 PM >To: Jiang, Yunhong >Cc: Jan Beulich; George Dunlap; xen-devel; Stefano Stabellini >Subject: Re: [Xen-devel] Where can I get a balloon driver to test PoD > >On Mon, Sep 13, 2010 at 09:55:46PM +0800, Jiang, Yunhong wrote: >> Jan, thanks for your information. I will try to get a SLE11 SP1 kernel or XCP kernel. >> > >http://wiki.xensource.com/xenwiki/XenDom0Kernels > >Links there. > >-- Pasi > >> Also not sure if Stefano has interests to fix this, since he added the platform-pci >driver, which makes pv-on-hvm possible. CC him. >> >> Thanks >> --jyh >> >> >-----Original Message----- >> >From: Jan Beulich [mailto:JBeulich@novell.com] >> >Sent: Monday, September 13, 2010 9:43 PM >> >To: Jiang, Yunhong >> >Cc: George Dunlap; xen-devel >> >Subject: Re: [Xen-devel] Where can I get a balloon driver to test PoD >> > >> >>>> On 13.09.10 at 15:29, "Jiang, Yunhong" <yunhong.jiang@intel.com> wrote: >> >> Does anyone know where I can get a working balloon driver for PV-on-HVM >guest? >> > >> >You could build unmodified_drivers/ against our SLE11 SP1 kernel (or >> >XCP''s, which is based on this) or against OpenSuSE 11.3''s. >> > >> >Jan >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Sep-21 16:53 UTC
Re: [Xen-devel] Where can I get a balloon driver to test PoD
On Mon, 13 Sep 2010, George Dunlap wrote:> Yunhong: > > When I originally developed the balloon drivers about a year ago, it > was possible to compile PV drivers externally, from > xen.hg/unmodified_drivers/linux-2.6 using Debian''s stock kernel. > However, since that time, things have changed and I haven''t been able > to. > > The system I''m using now actually uses one of Stefano Stabellini''s > "pv-on-hvm" trees. It''s a bit experimental, but stable enough, and > the balloon driver seems to be working. He''s on holiday now, but you > can cc him and ask.you might want to checkout: git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 2.6.35-rc5-pvhvm-v7 this is upstream Linux pv on hvm plus few patches and one of them enables ballooning. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
George Dunlap
2010-Sep-22 08:27 UTC
Re: [Xen-devel] Where can I get a balloon driver to test PoD
Yunhong: FYI, as of yesterday booting PoD with this kernel doesn''t work correctly, due to some math error. The balloon driver will balloon down, but is about 8 megs off. So eventually the guest OS will try to populate those pages, and the guest will crash. I suspect it probably has to do with libxl not accounting for the video ram properly, but I haven''t had a chance to look into it. -George On Tue, Sep 21, 2010 at 5:53 PM, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:> On Mon, 13 Sep 2010, George Dunlap wrote: >> Yunhong: >> >> When I originally developed the balloon drivers about a year ago, it >> was possible to compile PV drivers externally, from >> xen.hg/unmodified_drivers/linux-2.6 using Debian''s stock kernel. >> However, since that time, things have changed and I haven''t been able >> to. >> >> The system I''m using now actually uses one of Stefano Stabellini''s >> "pv-on-hvm" trees. It''s a bit experimental, but stable enough, and >> the balloon driver seems to be working. He''s on holiday now, but you >> can cc him and ask. > > > you might want to checkout: > > git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 2.6.35-rc5-pvhvm-v7 > > this is upstream Linux pv on hvm plus few patches and one of them > enables ballooning. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Sep-22 10:51 UTC
Re: [Xen-devel] Where can I get a balloon driver to test PoD
On Wed, 22 Sep 2010, George Dunlap wrote:> Yunhong: FYI, as of yesterday booting PoD with this kernel doesn''t > work correctly, due to some math error. The balloon driver will > balloon down, but is about 8 megs off. So eventually the guest OS > will try to populate those pages, and the guest will crash. I suspect > it probably has to do with libxl not accounting for the video ram > properly, but I haven''t had a chance to look into it. >I made few videoram adjustments in my xl ballooning series, probably this issue will go away when the series is applied. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jiang, Yunhong
2010-Sep-25 07:33 UTC
RE: [Xen-devel] Where can I get a balloon driver to test PoD
Geroge/Stefano, thanks for your information very much. I will try this tree after clone it locally. Thanks --jyh>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com >[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Stefano Stabellini >Sent: Wednesday, September 22, 2010 6:51 PM >To: George Dunlap >Cc: Jiang, Yunhong; xen-devel; Jan Beulich; Stefano Stabellini >Subject: Re: [Xen-devel] Where can I get a balloon driver to test PoD > >On Wed, 22 Sep 2010, George Dunlap wrote: >> Yunhong: FYI, as of yesterday booting PoD with this kernel doesn''t >> work correctly, due to some math error. The balloon driver will >> balloon down, but is about 8 megs off. So eventually the guest OS >> will try to populate those pages, and the guest will crash. I suspect >> it probably has to do with libxl not accounting for the video ram >> properly, but I haven''t had a chance to look into it. >> > >I made few videoram adjustments in my xl ballooning series, probably >this issue will go away when the series is applied. > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel