[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [Xen-devel] [PATCH] libxl: support domainReset



On Tue, 2014-08-05 at 10:55 +0200, Olaf Hering wrote:
> On Tue, Aug 05, Ian Campbell wrote:
> 
> > On Tue, 2014-08-05 at 10:41 +0200, Olaf Hering wrote:
> > > On Tue, Aug 05, Ian Campbell wrote:
> > > 
> > > >     case LIBXL_TRIGGER_RESET:
> > > >         rc = xc_domain_send_trigger(ctx->xch, domid,
> > > >                                     XEN_DOMCTL_SENDTRIGGER_RESET, vcpu
> > > >         break;
> > > > 
> > > > Do you mean to say that it is broken or perhaps that it doesn't match
> > > > the required semantics of domainReset?
> > > 
> > > This op is not implemented.
> > 
> > You mean in libxc/Xen?
> 
> In Xen itself.
> 
> > >  And would it work for PV and HVM anyway?
> > 
> > Aren't these triggers HVM only? They turn into ACPI events and things,
> > don't they?
> 
> Most likely yes.
> 
> > I'm not sure what the intended behaviour of libvirt domainReset is, but
> > perhaps libxl_domain_{reboot,shutdown} is closer to what is needed?
> 
> The original report was that 'Reset' does not work from GUI, like
> virt-manager or virsh. I think the expected outcome is like pushing the
> reset button on a physical board. Xen doesnt do it that way, no idea
> about others.

Sounds like you want libxl_domain_reboot then, perhaps with a fallback
on ERROR_NOPARAVIRT for an HVM guest to sending a trigger.

Ian.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]