linux/drivers/xen/xenbus
Paolo Bonzini c6e1971139 xen: fix is_disconnected_device/exists_disconnected_device
The logic of is_disconnected_device/exists_disconnected_device is wrong
in that they are used to test whether a device is trying to connect (i.e.
connecting).  For this reason the patch fixes them to not consider a
Closing or Closed device to be connecting.  At the same time the patch
also renames the functions according to what they really do; you could
say a closed device is "disconnected" (the old name), but not "connecting"
(the new name).

This patch is a backport of changeset 909 from the Xenbits tree.

Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
2009-12-03 11:14:48 -08:00
..
Makefile xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_client.c drivers/xen/xenbus/xenbus_client.c: cleanup kerneldoc 2009-01-08 08:30:59 -08: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: fix is_disconnected_device/exists_disconnected_device 2009-12-03 11:14:48 -08: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 xen: use device model for suspending xenbus devices 2009-03-30 09:26:56 -07:00