From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wen Congyang Subject: Re: [RFC Patch v2 01/16] xen: introduce new hypercall to reset vcpu Date: Tue, 06 Aug 2013 14:47:01 +0800 Message-ID: <52009BE5.4060807@cn.fujitsu.com> References: <1373531748-12547-1-git-send-email-wency@cn.fujitsu.com> <1373531748-12547-2-git-send-email-wency@cn.fujitsu.com> <20130801114804.GG78039@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130801114804.GG78039@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: Lai Jiangshan , Jiang Yunhong , Dong Eddie , Ye Wei , xen-devl , Hong Tao , Xu Yao , Shriram Rajagopalan List-Id: xen-devel@lists.xenproject.org At 08/01/2013 07:48 PM, Tim Deegan Wrote: > Hi, > > At 16:35 +0800 on 11 Jul (1373560533), Wen Congyang wrote: >> In colo mode, SVM is running, and it will create pagetable, use gdt... >> When we do a new checkpoint, we may need to rollback all this operations. >> This new hypercall will do this. > > Can you do what you need with XEN_DOMCTL_setvcpucontext(domid, vcpuid, NULL)? > If not, maybe some small extensions to that call would be enough? I will try it. > > I think if we do need an entirely new hypercall, it should be part of > the DOMCTL call along with the other vcpu operations, rather than having > a new top-level hypercall of its own. If setvcpucontext() can't work, I will add a new subop to DOMCTL instead of a new hypercall. Thanks Wen Congyang > > Cheers, > > Tim. >