From: Tim Deegan Subject: Re: [RFC Patch v2 01/16] xen: introduce new hypercall to reset vcpu Date: Thu, 1 Aug 2013 12:48:04 +0100 Message-ID: <20130801114804.GG78039@ocelot.phlegethon.org> References: <1373531748-12547-1-git-send-email-wency@cn.fujitsu.com> <1373531748-12547-2-git-send-email-wency@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1373531748-12547-2-git-send-email-wency@cn.fujitsu.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: Wen Congyang Cc: Lai Jiangshan , Jiang Yunhong , Dong Eddie , Ye Wei , xen-devl , Hong Tao , Xu Yao , Shriram Rajagopalan List-Id: xen-devel@lists.xenproject.org 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 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. Cheers, Tim.