Skip to contentSkip to conversation

Register PV driver product numbers 4 and 5.

PATCH In review Paul Durrant 2 participants 3 messages Oct 16, 2013 – Nov 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Register PV driver product numbers 4 and 5.

---
v2:
- Added some words to hvm-emulated-unplug to note that the platform PCI device owns the IO ports

 docs/misc/hvm-emulated-unplug.markdown |    6 +++++-
 xen/include/public/hvm/pvdrivers.h     |   12 +++++++-----
 2 files changed, 12 insertions(+), 6 deletions(-)
docs/misc/hvm-emulated-unplug.markdown +5 -1
index ec9ce83..c6d1f9b 100644
@@ -65,4 +65,8 @@ decimal number.  `{product_name}` is a string corresponding to the
 product number in step 3.
 
 The master registry of product names and numbers is in
-xen/include/public/hvm/pvdrivers.h
+xen/include/public/hvm/pvdrivers.h.
+
+NOTE: The IO ports implementing the unplug protocol are implemented
+as part of the Xen Platform PCI Device, so if that device is not
+present in the system then this protocol will not work.
xen/include/public/hvm/pvdrivers.h +7 -5
index 4c6b705..77994d2 100644
@@ -38,10 +38,12 @@
  * indicate a driver which is yet to be released.
  */
 
-#define PVDRIVERS_PRODUCT_LIST(EACH)                         \
-        EACH("xensource-windows", 0x0001) /* Citrix */       \
-        EACH("gplpv-windows",     0x0002) /* James Harper */ \
-        EACH("linux",             0x0003)                    \
-        EACH("experimental",      0xffff)
+#define PVDRIVERS_PRODUCT_LIST(EACH)                               \
+        EACH("xensource-windows",       0x0001) /* Citrix */       \
+        EACH("gplpv-windows",           0x0002) /* James Harper */ \
+        EACH("linux",                   0x0003)                    \
+        EACH("xenserver-windows-v7.0+", 0x0004) /* Citrix */       \
+        EACH("xenserver-windows-v7.2+", 0x0005) /* Citrix */       \
+        EACH("experimental",            0xffff)
 
 #endif /* _XEN_PUBLIC_PVDRIVERS_H_ */
Signature · 1 line
1.7.10.4
Acked-by on v2 1/1
#1 lore raw
Quoted 1 line · Paul Durrant

This is probably strictly a tools change despite the paths touched. Unless someone objects (or beats me to it) I will apply.

Quoted 45 lines

---
v2:
- Added some words to hvm-emulated-unplug to note that the platform PCI device owns the IO ports

 docs/misc/hvm-emulated-unplug.markdown |    6 +++++-
 xen/include/public/hvm/pvdrivers.h     |   12 +++++++-----
 2 files changed, 12 insertions(+), 6 deletions(-)
docs/misc/hvm-emulated-unplug.markdown +5 -1
index ec9ce83..c6d1f9b 100644
@@ -65,4 +65,8 @@ decimal number.  `{product_name}` is a string corresponding to the
 product number in step 3.
 
 The master registry of product names and numbers is in
-xen/include/public/hvm/pvdrivers.h
+xen/include/public/hvm/pvdrivers.h.
+
+NOTE: The IO ports implementing the unplug protocol are implemented
+as part of the Xen Platform PCI Device, so if that device is not
+present in the system then this protocol will not work.
xen/include/public/hvm/pvdrivers.h +7 -5
index 4c6b705..77994d2 100644
@@ -38,10 +38,12 @@
  * indicate a driver which is yet to be released.
  */
 
-#define PVDRIVERS_PRODUCT_LIST(EACH)                         \
-        EACH("xensource-windows", 0x0001) /* Citrix */       \
-        EACH("gplpv-windows",     0x0002) /* James Harper */ \
-        EACH("linux",             0x0003)                    \
-        EACH("experimental",      0xffff)
+#define PVDRIVERS_PRODUCT_LIST(EACH)                               \
+        EACH("xensource-windows",       0x0001) /* Citrix */       \
+        EACH("gplpv-windows",           0x0002) /* James Harper */ \
+        EACH("linux",                   0x0003)                    \
+        EACH("xenserver-windows-v7.0+", 0x0004) /* Citrix */       \
+        EACH("xenserver-windows-v7.2+", 0x0005) /* Citrix */       \
+        EACH("experimental",            0xffff)
 
 #endif /* _XEN_PUBLIC_PVDRIVERS_H_ */