From: Ian Campbell Subject: Re: [PATCH v2] Register PV driver product numbers 4 and 5. Date: Thu, 31 Oct 2013 19:01:52 +0000 Message-ID: <1383246112.5436.86.camel@dagon.hellion.org.uk> References: <1381940109-23657-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1381940109-23657-1-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-10-16 at 17:15 +0100, Paul Durrant wrote: > Signed-off-by: Paul Durrant Acked-by: Ian Campbell This is probably strictly a tools change despite the paths touched. Unless someone objects (or beats me to it) I will apply. > --- > 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(-) > > diff --git a/docs/misc/hvm-emulated-unplug.markdown b/docs/misc/hvm-emulated-unplug.markdown > index ec9ce83..c6d1f9b 100644 > --- a/docs/misc/hvm-emulated-unplug.markdown > +++ b/docs/misc/hvm-emulated-unplug.markdown > @@ -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. > diff --git a/xen/include/public/hvm/pvdrivers.h b/xen/include/public/hvm/pvdrivers.h > index 4c6b705..77994d2 100644 > --- a/xen/include/public/hvm/pvdrivers.h > +++ b/xen/include/public/hvm/pvdrivers.h > @@ -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_ */