Re: [PATCH 6/9] Revert "qemu_conf: Track embed root dir"

2020-03-25 Thread Andrea Bolognani
On Wed, 2020-03-25 at 11:18 +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 immutable it

[PATCH 6/9] Revert "qemu_conf: Track embed root dir"

2020-03-25 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