|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 08/13] Xen paravirtualised PCI hotplug.
Konrad Rzeszutek Wilk wrote:
The pciback driver adds two new states that are shared by the pcifront
and pciback. This is a patch pulled from the linux-2.6-xen-sparse tree.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
include/xen/interface/io/xenbus.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/include/xen/interface/io/xenbus.h
b/include/xen/interface/io/xenbus.h
index 46508c7..9fda532 100644
--- a/include/xen/interface/io/xenbus.h
+++ b/include/xen/interface/io/xenbus.h
@@ -27,8 +27,14 @@ enum xenbus_state
XenbusStateClosing = 5, /* The device is being closed
due to an error or an unplug
event. */
- XenbusStateClosed = 6
+ XenbusStateClosed = 6,
+ /*
+ * Reconfiguring: The device is being reconfigured.
+ */
+ XenbusStateReconfiguring = 7,
+
+ XenbusStateReconfigured = 8
};
ouch.
what's the usefulness of those 2 new states here ?
the xenbus state is just here to represent the connection status of the
xenbus device, doesn't reconfiguring/reconfigured state is something
about the underlying device more than the xenbus device ?
And regarding the xenbus-state state machine, what happen when you reach 8 ?
does every userspace handler need to handle it as a 4 ? if yes why is it
not 4 ?
--
Vincent
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 04/13] Removed MSI capability in the pci-back driver., (continued)
- [Xen-devel] [PATCH 04/13] Removed MSI capability in the pci-back driver., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 05/13] Use pci_is_enabled() instead of is_enabled., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 06/13] Fix usage of INIT_WORK., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 07/13] Update the calling mechanism for xenbus_[map|unmap]_ring_valloc functions., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 08/13] Xen paravirtualised PCI hotplug., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 09/13] xenbus: Add new states to xenbus_strstate(), Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 10/13] xenbus: prevent warnings on unhandled enumeration values, Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 11/13] pciback: Add check to load only under priviliged domain., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 12/13] Remove usage of pci_restore_bars() as Linux handles the power-up states correctly now., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 13/13] pciback: Enable Xen-PCI-back to be compiled., Konrad Rzeszutek Wilk
- Re: [Xen-devel] [PATCH 08/13] Xen paravirtualised PCI hotplug.,
Vincent Hanquez <=
- Re: [Xen-devel] [PATCH 08/13] Xen paravirtualised PCI hotplug., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 08/13] Xen paravirtualised PCI hotplug., Yosuke Iwamatsu
- [Xen-devel] Re: [PATCH 04/13] Removed MSI capability in the pci-back driver., Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 04/13] Removed MSI capability in the pci-back driver., Konrad Rzeszutek Wilk
Re: [Xen-devel] [PATCH PV_OPS] pciback support, Jeremy Fitzhardinge
Re: [Xen-devel] [PATCH PV_OPS] pciback support, Sander Eikelenboom
|
|
|
|
|