Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1259138
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through |
| Date | 2015-10-30 01:50 +0100 |
| Message-ID | <qp63f-7lc-9@gated-at.bofh.it> (permalink) |
| References | <qp57c-6Mj-17@gated-at.bofh.it> <qp57c-6Mj-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Oct 30, 2015 at 1:46 AM, <jakeo@microsoft.com> wrote:
> From: Jake Oshins <jakeo@microsoft.com>
>
> This defines the channel type for PCI front-ends in Hyper-V VMs.
>
> Signed-off-by: Jake Oshins <jakeo@microsoft.com>
> ---
> include/linux/hyperv.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
> index ea0a0e3..5587899 100644
> --- a/include/linux/hyperv.h
> +++ b/include/linux/hyperv.h
> @@ -1140,6 +1140,17 @@ u64 hv_do_hypercall(u64 control, void *input, void *output);
> }
>
> /*
> + * PCI Express Pass Through
> + * {44C4F61D-4444-4400-9D52-802E27EDE19F}
> + */
> +
> +#define HV_PCIE_GUID \
> + .guid = { \
> + 0x1D, 0xF6, 0xC4, 0x44, 0x44, 0x44, 0x00, 0x44, \
> + 0x9D, 0x52, 0x80, 0x2E, 0x27, 0xED, 0xE1, 0x9F \
> + }
What about
#include <linux/uuid.h>
UUID_LE(...)
And you may use uuid_le type instead of custom raw buffer.
> +
> +/*
> * Common header for Hyper-V ICs
> */
>
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through jakeo@microsoft.com - 2015-10-30 00:50 +0100
Re: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-10-30 01:50 +0100
RE: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through Jake Oshins <jakeo@microsoft.com> - 2015-10-30 17:20 +0100
Re: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-10-30 18:00 +0100
RE: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through KY Srinivasan <kys@microsoft.com> - 2015-10-30 18:40 +0100
RE: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through KY Srinivasan <kys@microsoft.com> - 2015-10-30 18:00 +0100
Re: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-10-30 18:00 +0100
csiph-web