Re: [Qemu-devel] [PATCH v2] qdev-monitor.c: Add device id generation

2015-08-28 Thread Daniel P. Berrange
On Thu, Aug 27, 2015 at 07:14:28PM -0400, Programmingkid wrote: > Add device ID generation to each device if an ID isn't given. > > An auto-generated ID will begin with an underscore character. This will > distinguish it from user-made ID's. > > An user-made ID cannot begin with an underscore, s

[Qemu-devel] [PATCH v2] qdev-monitor.c: Add device id generation

2015-08-27 Thread Programmingkid
Add device ID generation to each device if an ID isn't given. An auto-generated ID will begin with an underscore character. This will distinguish it from user-made ID's. An user-made ID cannot begin with an underscore, so there is no problem of collisions with auto-generated ID's. A management