• M
    qemuxml2argvtest: Don't overwrite driver stateDir · 887ffbce
    Michal Privoznik 提交于
    This is a very historic artefact. Back in the old days of
    830ba76c when we had macros to add arguments onto qemu command
    line (!) we thought it was a good idea to let qemu write out the
    PID file. So we passed -pidfile $stateDir/$domName onto the
    command line. Thus, in order for tests to work we needed stable
    stateDir in the qemu driver. Unfortunately, after 16efa11a
    where stateDir is mkdtemp()-d, this approach lead to a leak of
    temp dir.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    887ffbce
qemuxml2argvtest.c 97.6 KB