|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] ignoring xenbus state transitions during shutdown
Ok -- the .shutdown callbacks are there for Linux kernels >= 2.6.16. So I think I want to protect this (ignore transitions) code with: #if defined(CONFIG_KEXEC) || LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)(That is, ignore state transitions if kexec is enabled or if we're defining the shutdown callbacks.) Right? (Or should I instead test only for CONFIG_KEXEC there and leave the shutdown callbacks NULL unless KEXEC is enabled?? Either way works for the cases I care about.) Dave Keir Fraser wrote: Unless you care about domU kexec, you can pretty safely remove that system_state() check, so long as you remove the .shutdown callback hooks (in the same file) too. -- Keir On 25/6/07 19:41, "David Lively" <dlively@xxxxxxxxxxxxxxx> wrote: _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |