linux_dsm_epyc7002/drivers/xen/xenbus
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
..
Makefile xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_client.c xenbus: Make xenbus_switch_state transactional 2010-08-07 18:31:34 +02:00
xenbus_comms.c xenbus: rebind irq on restore 2008-05-27 10:11:38 +02:00
xenbus_comms.h xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_probe.c xen: do not set xenstored_ready before xenbus_probe on hvm 2010-10-05 13:37:28 +01:00
xenbus_probe.h xen: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:34 -08:00
xenbus_xs.c Merge branch 'xen/xenbus' into upstream/xen 2010-08-04 14:49:24 -07:00