From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hongkaixing Subject: Re: [PATCH] xenpaging:close domU's event channel and free port Date: Wed, 15 Feb 2012 10:33:25 +0800 Message-ID: <003101cceb8a$318b9ff0$94a2dfd0$@com> References: <9f4640e40d4f31563885.1328777634@h00166998.china.huawei.com> <20120210164010.GA10009@aepfle.de> <002201ccea12$e83c0420$b8b40c60$@com> <20120214205954.GA21776@aepfle.de> <20120214211905.GA23069@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <20120214211905.GA23069@aepfle.de> Content-language: zh-cn List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'Olaf Hering' Cc: bicky.shi@huawei.com, xiaowei.yang@huawei.com, xen-devel@lists.xensource.com, yanqiangjun@huawei.com, hanweidong@huawei.com List-Id: xen-devel@lists.xenproject.org > -----Original Message----- > From: Olaf Hering [mailto:olaf@aepfle.de] > Sent: Wednesday, February 15, 2012 5:19 AM > To: Hongkaixing > Cc: xen-devel@lists.xensource.com; yanqiangjun@huawei.com; bicky.shi@huawei.com; xiaowei.yang@huawei.com; > hanweidong@huawei.com > Subject: Re: [PATCH] xenpaging:close domU's event channel and free port > > On Tue, Feb 14, Olaf Hering wrote: > > > xc: error: Error initialising shared page (28 = No space left on device): Internal error > > After reading the code more carefully I now see that mem_event_enable() > calls alloc_unbound_xen_event_channel() and stores it into > med->xen_port. As Tim suggested, your patch should use this value > instead of relying on the shared_page pointer. Thanks for your advices. And In your another mail, you have mentioned the problem like this: xc: detail: xenpaging init xc: detail: watching '/local/domain/1/memory/target-tot_pages' xc: error: Error initialising shared page (28 = No space left on device): Internal error Yes, I am sure it is the error we have met before! > > Olaf