From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932759AbbIYRT3 (ORCPT ); Fri, 25 Sep 2015 13:19:29 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:33226 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932474AbbIYRT2 (ORCPT ); Fri, 25 Sep 2015 13:19:28 -0400 Message-ID: <560581B4.3070107@oracle.com> Date: Fri, 25 Sep 2015 13:17:40 -0400 From: Boris Ostrovsky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Vitaly Kuznetsov CC: Konrad Rzeszutek Wilk , xen-devel@lists.xenproject.org, x86@kernel.org, David Vrabel , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support References: <1443175192-4828-1-git-send-email-vkuznets@redhat.com> <20150925135937.GJ20966@l.oracle.com> <56056E1D.80307@oracle.com> <87si62pjnd.fsf@vitty.brq.redhat.com> In-Reply-To: <87si62pjnd.fsf@vitty.brq.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/25/2015 12:07 PM, Vitaly Kuznetsov wrote: >> Also, I am not sure I see how this new op will be used in the >> hypervisor --- currently AFAICS it is only processed under >> is_hardware_domain(). Are there other patches that will support HVM >> guests? > Please see my Xen series: > http://lists.xenproject.org/archives/html/xen-devel/2015-09/msg00547.html > (last 'full' submission). > > All patches from my 'toolstack-assisted approach to PVHVM guest kexec' > are already merged to xen.git (first 10 are already in 'master' and the > last one is in 'staging'). > OK, so I was looking at the right tree. Then I don't understand how SHUTDOWN_soft_reset would be reached for a non-privileged domain. The only path that I see is domain_shutdown() { ... if ( is_hardware_domain(d) ) hwdom_shutdown(reason); ... } Is there another path to handle this op? Thanks. -boris