qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 08/15] qdev: Make DeviceState.id independent of QemuOpts


From: Damien Hedde
Subject: Re: [PATCH v2 08/15] qdev: Make DeviceState.id independent of QemuOpts
Date: Wed, 13 Oct 2021 15:41:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.2



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@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>


Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]