On 11/05/2026 16.47, Peter Maydell wrote:
On Fri, 1 May 2026 at 12:55, Peter Maydell <[email protected]> wrote:

The Python os.setxattr() API is Linux-specific, so trying to use
it on other OSes triggers a failure:

   File "/Users/pm215/src/qemu/tests/functional/qemu_test/asset.py",
line 227, in fetch
     os.setxattr(str(tmp_cache_file), "user.qemu-asset-url",
     ^^^^^^^^^^^
AttributeError: module 'os' has no attribute 'setxattr'

Since we only set the attributes here for informational
purposes, skip them when os.setxattr() isn't available.

Cc: [email protected]
Fixes: 9903217a4ed013 ("tests/functional: add a module for handling asset download & 
caching")
Signed-off-by: Peter Maydell <[email protected]>

Is anybody going to pick this up via their tree, or should
I just put it into target-arm.next ?

I currently don't have any other patches in my queue, so it would be great if Daniel or you could take it.

 Thanks,
  Thomas


Reply via email to