qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 06/10] tests/avocado/kvm_xen_guest.py: cope with asset RW req


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 06/10] tests/avocado/kvm_xen_guest.py: cope with asset RW requirements
Date: Mon, 11 Dec 2023 17:32:07 +0100
User-agent: Mozilla Thunderbird

On 8/12/23 20:09, Cleber Rosa wrote:
Some of these tests actually require the root filesystem image,
obtained through Avocado's asset feature and kept in a common cache
location, to be writable.

This makes a distinction between the tests that actually have this
requirement and those who don't.  The goal is to be as safe as
possible, avoiding causing cache misses (because the assets get
modified and thus need to be dowloaded again) while avoid copying the
root filesystem backing file whenever possible.

Having cache assets modified is a design issue. We should assume
the cache directory as read-only.

This also allow these tests to be run in parallel with newer Avocado
versions.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
  tests/avocado/kvm_xen_guest.py | 27 ++++++++++++++++++---------
  1 file changed, 18 insertions(+), 9 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]