RE: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through

From: KY Srinivasan
Date: Fri Oct 30 2015 - 13:30:35 EST




> -----Original Message-----
> From: Andy Shevchenko [mailto:andy.shevchenko@xxxxxxxxx]
> Sent: Friday, October 30, 2015 9:59 AM
> To: KY Srinivasan <kys@xxxxxxxxxxxxx>
> Cc: Jake Oshins <jakeo@xxxxxxxxxxxxx>; Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx;
> devel@xxxxxxxxxxxxxxxxxxxxxx; olaf@xxxxxxxxx; apw@xxxxxxxxxxxxx; Vitaly
> Kuznetsov <vkuznets@xxxxxxxxxx>; tglx@xxxxxxxxxx; Haiyang Zhang
> <haiyangz@xxxxxxxxxxxxx>; marc.zyngier@xxxxxxx; Jiang Liu
> <jiang.liu@xxxxxxxxxxxxxxx>; Bjorn Helgaas <bhelgaas@xxxxxxxxxx>; linux-
> pci@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V
> PCI Express pass-through
>
> On Fri, Oct 30, 2015 at 6:56 PM, KY Srinivasan <kys@xxxxxxxxxxxxx> wrote:
>
> >> >> What about
> >> >> #include <linux/uuid.h>
> >> >>
> >> >> UUID_LE(...)
> >> >>
> >> >> And you may use uuid_le type instead of custom raw buffer.
> >> >>
> >> >
> >> > Thanks. I was just following the form of all the others in this file. I think
> >> that this was done to match up with the representation that's coming
> across
> >> the VM boundary from Windows.
> >>
> >> Perhaps a separate patch to move to uuid.h then?
> >
> > Yes; I am about to send out a patch to use the UUID_LE macro for all of the
> Hyper-V guids.
>
> And switching to struct uuid_le ?

Yes.

K. Y
>
> --
> With Best Regards,
> Andy Shevchenko
N‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå