[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Should we auto-generate IDs?
From: |
Jeff Cody |
Subject: |
Re: [Qemu-devel] Should we auto-generate IDs? |
Date: |
Thu, 3 Sep 2015 10:43:09 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Sep 03, 2015 at 10:34:04AM -0400, Programmingkid wrote:
> It has been over a week since we first started talking about this
> subject. A lot of opinions have been flying around. Does this issue
> look like it is starting to be fixed? I just have to say I don't
> think it has been solved yet. Having device_del use a QOM path does
> not sound very good. It is actually easier and faster for the user
> to restart QEMU with a new ID for some device than to have to look
> up some QOM path. Having a user-friendly system for creating ID's
> should be a priority.
Please see my v2 patch series (you were CC'ed on it):
[PATCH v2 1/2] util - add automated ID generation utility
[PATCH v2 2/2] block: auto-generated node-names
The first patch is a qemu-wide utility to generate IDs.
The scheme seems to have some consensus, and a few r-b's (it is
also derived from this conversation thread).
The second patch is using it in the block layer, for node-names; it
should be trivial to see how to use it for qdev.
Would you like me to roll a v3, with a qdev patch added in?
Thanks,
Jeff