aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2024-10-16 11:21:59 -0400
committerStefan Berger <stefanb@linux.ibm.com>2024-10-18 07:58:04 -0400
commitd9280ea3174700170d39c4cdd3f587f260757711 (patch)
treeea2dab391bbd76b5b408b36f940e8626c5351009 /module-common.c
parentd2bcaacc17c4427bdb2d959cd91a42425fcca3c9 (diff)
downloadqemu-d9280ea3174700170d39c4cdd3f587f260757711.zip
qemu-d9280ea3174700170d39c4cdd3f587f260757711.tar.gz
qemu-d9280ea3174700170d39c4cdd3f587f260757711.tar.bz2
tests: Wait for migration completion on destination QEMU to avoid failures
Rather than waiting for the completion of migration on the source side, wait for it on the destination QEMU side to avoid accessing the TPM TIS memory mapped registers before QEMU could restore their state. This error condition could be triggered on busy systems where the destination QEMU did not have enough time to restore the TIS state while the test case was already reading its registers. The test case was for example reading the STS register and received an unexpected value (0xffffffff), which lead to a segmentation fault later on due to trying to read 0xffff bytes from the TIS into a buffer. Cc: <qemu-stable@nongnu.org> Reported-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions