[PATCH v2 08/15] qdev: Make DeviceState.id independent of QemuOpts
Damien Hedde
damien.hedde at greensocs.com
Wed Oct 13 13:41:19 UTC 2021
On 10/8/21 15:34, Kevin Wolf wrote:
> DeviceState.id is a pointer to a string that is stored in the QemuOpts
> object DeviceState.opts and freed together with it. We want to create
> devices without going through QemuOpts in the future, so make this a
> separately allocated string.
>
> Signed-off-by: Kevin Wolf <kwolf at redhat.com>
> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov at virtuozzo.com>
Reviewed-by: Damien Hedde <damien.hedde at greensocs.com>
More information about the libvir-list
mailing list