qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] qga-test failure on Linux/sparc


From: Peter Maydell
Subject: [Qemu-devel] qga-test failure on Linux/sparc
Date: Thu, 23 Mar 2017 15:13:13 +0000

Hi; I find that qga-test fails on Linux/sparc host:

test-qga.c:286:test_qga_get_fsinfo: assertion failed
ret: GenericError opendir("/sys/devices/virtual/block/md0/md0p1/slaves")

On this box /sys/devices/virtual/block/md0/md0p1/ does indeed
not have a slaves/ subdirectory. There is a slaves/ subdirectory
in the md0/ directory one level up, though.

Looking at the code in qga/commands-posix.c it seems to just assume
that slaves/ exists and throws an error otherwise. Should this
code be coping with the missing directory more gracefully, or
does it have a bug where it's looking for slaves/ in the wrong
place in the tree?

thanks
-- PMM



reply via email to

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