[libvirt] [PATCH v5 2/4] qemu: Add PCI-Express root to ARM virt machine
Pavel Fedin
p.fedin at samsung.com
Fri Aug 7 12:27:29 UTC 2015
Hello!
> The qemuxml2argvtest mocks the capability cache, so it must be
> qemuxml2xmltest. And that one should do *nothing* with any
> capabilities. Merely because whatever it does must work without any
> qemu installed in the system.
This is what happens if you remove the check:
--- cut ---
../build-aux/test-driver: line 107: 21055 Segmentation fault "$@" > $log_file 2>&1
FAIL: qemuxml2argvtest
../build-aux/test-driver: line 107: 21081 Segmentation fault "$@" > $log_file 2>&1
FAIL: qemuxml2xmltest
../build-aux/test-driver: line 107: 21107 Segmentation fault "$@" > $log_file 2>&1
FAIL: qemuxmlnstest
../build-aux/test-driver: line 107: 21133 Segmentation fault "$@" > $log_file 2>&1
FAIL: qemuargv2xmltest
PASS: qemuhelptest
../build-aux/test-driver: line 107: 21185 Segmentation fault "$@" > $log_file 2>&1
FAIL: domainsnapshotxml2xmltest
--- cut ---
> Moreover the test might produce different results for different QEMU
> binaries installed in the system, which is even worse.
Really? As far as i understand the code capabilities are not retrieved from the actual qemu. They
are hardcoded as a set in tests. But, i can miss something because i haven't studied the code well.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
More information about the libvir-list
mailing list