Re: [PATCH v2 08/11] Revert "qemu_conf: Track embed root dir"

2020-03-30 Thread Daniel P . Berrangé
On Thu, Mar 26, 2020 at 04:15:12PM +0100, Michal Privoznik wrote: > This reverts commit 06a19921b6a522cd7b4d352c9320909752947de3. > > What I haven't realized when writing this ^^ commit is that the > virQEMUDriver structure already stores the root directory path. > And since the pointer is immutab

[PATCH v2 08/11] Revert "qemu_conf: Track embed root dir"

2020-03-26 Thread Michal Privoznik
This reverts commit 06a19921b6a522cd7b4d352c9320909752947de3. What I haven't realized when writing this ^^ commit is that the virQEMUDriver structure already stores the root directory path. And since the pointer is immutable it can be accessed right from the structure and thus there is no need to