Re: [Xen-devel] [PATCH] libxl: support ACPI shutdown flag

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

 



On Tue, 2014-04-29 at 10:06 +0100, Daniel P. Berrange wrote:
> IIUC  libxl_domain_shutdown() will use the Xen paravirt channel
> to trigger a controlled shutdown in the guest. Currently we have
> the following flags defined
> 
>     VIR_DOMAIN_SHUTDOWN_DEFAULT        = 0,        /* hypervisor choice */
>     VIR_DOMAIN_SHUTDOWN_ACPI_POWER_BTN = (1 << 0), /* Send ACPI event */
>     VIR_DOMAIN_SHUTDOWN_GUEST_AGENT    = (1 << 1), /* Use guest agent */
>     VIR_DOMAIN_SHUTDOWN_INITCTL        = (1 << 2), /* Use initctl */
>     VIR_DOMAIN_SHUTDOWN_SIGNAL         = (1 << 3), /* Send a signal */
> 
> None of those really map to the Xen paravirt shutdown

It's not a million miles away from VIR_DOMAIN_SHUTDOWN_GUEST_AGENT if
you consider the bit of the kernel which responds to the paravirt
shutdown request as an agent of sorts. With Windows PV drivers I think
this is even literally a userspace component.

Not that having a more explicit type is a bad idea, but I thought I'd
mention it.

Ian.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]