[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: assign unique serial numbers to hid device
Dr. David Alan Gilbert
Re: [Qemu-devel] [PATCH] usb: assign unique serial numbers to hid devices
Fri, 14 Sep 2018 11:57:23 +0100
* Gerd Hoffmann (address@hidden) wrote:
> > > + [STR_SERIAL_MOUSE] = "89126",
> > > + [STR_SERIAL_TABLET] = "28754",
> > > + [STR_SERIAL_KEYBOARD] = "68284",
> > Is there any significance to the magical numbers?
> No, other than that the three device types should have different ones.
OK, I had vague memories a while ago of us asking about encoding things
in serial numbers and the previous 42 not actually being magical.
> > Will this change trigger a serial number change across migrate
> > or will the current serial be carried across?
> No, it is not migrated over.
> So I guess we should better add a compat property ...
Dr. David Alan Gilbert / address@hidden / Manchester, UK