[Spice-devel] [PATCH spice-gtk v4 14/29] fixup! usb-redir: add implementation of emulated CD device
Frediano Ziglio
fziglio at redhat.com
Tue Aug 27 14:14:16 UTC 2019
>
> Hi,
>
> On Tue, Aug 27, 2019 at 10:22:31AM +0100, Frediano Ziglio wrote:
> > Add comment on constant
> > ---
> > src/usb-device-cd.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/src/usb-device-cd.c b/src/usb-device-cd.c
> > index c33bb290..2234289c 100644
> > --- a/src/usb-device-cd.c
> > +++ b/src/usb-device-cd.c
> > @@ -57,6 +57,7 @@ typedef struct SpiceCdLU {
> >
> > #define MAX_LUN_PER_DEVICE 1
> > #define USB2_BCD 0x200
> > +/* Red Hat USB VID */
>
> I don't mind adding a comment but perhaps SPICE USB VID instead?
>
No, SPICE is a project, not a vendor, the 0x2b23 is reserved by USB
standards for Red Hat, not for SPICE.
Another reason why the comment make sense :-)
> > #define CD_DEV_VID 0x2b23
> > #define CD_DEV_PID 0xCDCD
> > #define CD_DEV_CLASS 8
Frediano
More information about the Spice-devel
mailing list