On Mon, Jan 31, 2022 at 13:40:34 +0100, Ján Tomko wrote: > Any active domain has a copy in the privateData, filled in > qemuProcessInit. > > Move the qemu capability check below the activeness check and remove > the extra lookup. What's worse is that you can get caps for a different emulator binary since the code didn't even bother passing the path to the lookup function. > > Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> > --- > src/qemu/qemu_driver.c | 21 +++++++++------------ > 1 file changed, 9 insertions(+), 12 deletions(-) Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>