Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1233040
| From | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support |
| Date | 2015-09-25 21:40 +0200 |
| Message-ID | <qcH0D-2u4-41@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <qcDzI-5Tv-9@gated-at.bofh.it> <qcEvM-7fp-15@gated-at.bofh.it> <qcEP8-7Rs-13@gated-at.bofh.it> <qcGxz-1U9-1@gated-at.bofh.it> <qcGQW-2j5-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Sep 25, 2015 at 03:19:57PM -0400, Boris Ostrovsky wrote:
> On 09/25/2015 03:01 PM, Konrad Rzeszutek Wilk wrote:
> >On Fri, Sep 25, 2015 at 01:17:40PM -0400, Boris Ostrovsky wrote:
> >>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?
> >Yes:
> > e1bd9812966de9a16f30a58e7162b80bd6af361b libxc: support XEN_DOMCTL_soft_reset operation
> >and
> > c57e6ebd8c3e490e353e68d96abec1dad01e72f5 (lib)xl: soft reset support
> >
>
>
> That's toolstack issuing hypercalls from dom0.
>
> I am asking about (non-privileged) guest itself calling SCHEDOP_shutdown.
The hypervisor ends up calling:
__domain_finalise_shutdown which sends an VIRQ_DOM_EXC to dom0 which
makes the toolstack do all of those operations.
>
> -boris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] xen/pvhvm: add soft reset on kexec/kdump support Vitaly Kuznetsov <vkuznets@redhat.com> - 2015-09-25 12:10 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> - 2015-09-25 16:10 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-09-25 18:00 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Vitaly Kuznetsov <vkuznets@redhat.com> - 2015-09-25 19:00 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-09-25 19:20 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> - 2015-09-25 21:10 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-09-25 21:30 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> - 2015-09-25 21:40 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-09-25 23:10 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Vitaly Kuznetsov <vkuznets@redhat.com> - 2015-09-29 13:50 +0200
Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-09-29 15:20 +0200
Re: [Xen-devel] [PATCH] xen/pvhvm: add soft reset on kexec/kdump support David Vrabel <david.vrabel@citrix.com> - 2015-09-28 16:20 +0200
csiph-web