tests/vfio: Get rid of sync's

It is fine to start a VM with the disk image without syncing it as we now run
the test in an ephemeral Azure instance.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2023-09-05 17:12:59 +02:00
parent 7211c3dccc
commit df3dc1105c

View File

@ -219,11 +219,9 @@ pull_fedora_cloud_image() {
if [ ! -f "${fedora_img_cache}" ]; then
curl -sL ${fedora_img_url} -o "${fedora_img_cache}.xz"
xz -f -d "${fedora_img_cache}.xz"
sync
fi
cp -a "${fedora_img_cache}" "${fedora_img}"
sync
# setup cloud image
sudo losetup -D