android_kernel_xiaomi_sm8350/drivers/xen
Stefano Stabellini a947f0f8f7 xen: do not set xenstored_ready before xenbus_probe on hvm
Register_xenstore_notifier should guarantee that the caller gets
notified even if xenstore is already up.
Therefore we revert "do not notify callers from
register_xenstore_notifier" and set xenstored_read at the right time for
PV on HVM guests too.
In fact in case of PV on HVM guests xenstored is ready only after the
platform pci driver has completed the initialization, so do not set
xenstored_ready before the call to xenbus_probe().

This patch fixes a shutdown_event watcher registration bug that causes
"xm shutdown" not to work properly.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
2010-10-05 13:37:28 +01:00
..
xenbus xen: do not set xenstored_ready before xenbus_probe on hvm 2010-10-05 13:37:28 +01:00
xenfs Merge branch 'xen/xenbus' into upstream/xen 2010-08-04 14:49:24 -07:00
balloon.c
cpu_hotplug.c
events.c xen: handle events as edge-triggered 2010-08-24 11:14:12 -07:00
evtchn.c
features.c
grant-table.c
Kconfig Merge branch 'stable/xen-swiotlb-0.8.6' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen 2010-08-12 09:09:41 -07:00
Makefile Merge branch 'stable/xen-swiotlb-0.8.6' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen 2010-08-12 09:09:41 -07:00
manage.c Input: sysrq - drop tty argument form handle_sysrq() 2010-08-21 00:34:45 -07:00
platform-pci.c
swiotlb-xen.c
sys-hypervisor.c
xencomm.c