[PATCH 0/9] --disable-tcg avocado fixes for ppc-softmmu

Daniel Henrique Barboza posted 9 patches 3 years, 11 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220310183011.110391-1-danielhb413@gmail.com
Maintainers: Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, "Hervé Poussineau" <hpoussin@reactos.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
tests/avocado/boot_linux_console.py | 12 ++++++++++++
tests/avocado/ppc_405.py            | 10 ++--------
tests/avocado/ppc_74xx.py           | 13 +++++++++++++
tests/avocado/ppc_bamboo.py         |  2 ++
tests/avocado/ppc_mpc8544ds.py      |  2 ++
tests/avocado/ppc_prep_40p.py       |  6 ++++++
tests/avocado/ppc_virtex_ml507.py   |  2 ++
7 files changed, 39 insertions(+), 8 deletions(-)
[PATCH 0/9] --disable-tcg avocado fixes for ppc-softmmu
Posted by Daniel Henrique Barboza 3 years, 11 months ago
Hi,

These are more test fixes that I missed from my first series [1]. Thanks
Murilo Opsfelder and Fabiano for letting me know that we still had broken
tests to deal with.

All these tests were either a case of 'this needs kvm_pr' or 'this needs
kvm_hv'. Since avocado doesn't have yet a way of detecting if the host
is running kvm_hv or kvm_pr, the workaround for now is to skip them if
TCG isn't available.

[1] https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg00866.html


Daniel Henrique Barboza (9):
  avocado/boot_linux_console.py: check TCG accel in test_ppc_g3beige()
  avocado/boot_linux_console.py: check TCG accel in test_ppc_mac99()
  avocado/ppc_405.py: remove test_ppc_taihu()
  avocado/ppc_405.py: check TCG accel in test_ppc_ref405ep()
  avocado/ppc_74xx.py: check TCG accel for all tests
  avocado/ppc_bamboo.py: check TCG accel in test_ppc_bamboo()
  avocado/ppc_mpc8544ds.py: check TCG accel in test_ppc_mpc8544ds()
  avocado/ppc_prep_40p.py: check TCG accel in all tests
  avocado/ppc_virtex_ml507.py: check TCG accel in
    test_ppc_virtex_ml507()

 tests/avocado/boot_linux_console.py | 12 ++++++++++++
 tests/avocado/ppc_405.py            | 10 ++--------
 tests/avocado/ppc_74xx.py           | 13 +++++++++++++
 tests/avocado/ppc_bamboo.py         |  2 ++
 tests/avocado/ppc_mpc8544ds.py      |  2 ++
 tests/avocado/ppc_prep_40p.py       |  6 ++++++
 tests/avocado/ppc_virtex_ml507.py   |  2 ++
 7 files changed, 39 insertions(+), 8 deletions(-)

-- 
2.35.1
Re: [PATCH 0/9] --disable-tcg avocado fixes for ppc-softmmu
Posted by Murilo Opsfelder Araújo 3 years, 11 months ago
On 3/10/22 15:30, Daniel Henrique Barboza wrote:
> Hi,
> 
> These are more test fixes that I missed from my first series [1]. Thanks
> Murilo Opsfelder and Fabiano for letting me know that we still had broken
> tests to deal with.
> 
> All these tests were either a case of 'this needs kvm_pr' or 'this needs
> kvm_hv'. Since avocado doesn't have yet a way of detecting if the host
> is running kvm_hv or kvm_pr, the workaround for now is to skip them if
> TCG isn't available.
> 
> [1] https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg00866.html
> 
> 
> Daniel Henrique Barboza (9):
>    avocado/boot_linux_console.py: check TCG accel in test_ppc_g3beige()
>    avocado/boot_linux_console.py: check TCG accel in test_ppc_mac99()
>    avocado/ppc_405.py: remove test_ppc_taihu()
>    avocado/ppc_405.py: check TCG accel in test_ppc_ref405ep()
>    avocado/ppc_74xx.py: check TCG accel for all tests
>    avocado/ppc_bamboo.py: check TCG accel in test_ppc_bamboo()
>    avocado/ppc_mpc8544ds.py: check TCG accel in test_ppc_mpc8544ds()
>    avocado/ppc_prep_40p.py: check TCG accel in all tests
>    avocado/ppc_virtex_ml507.py: check TCG accel in
>      test_ppc_virtex_ml507()
> 
>   tests/avocado/boot_linux_console.py | 12 ++++++++++++
>   tests/avocado/ppc_405.py            | 10 ++--------
>   tests/avocado/ppc_74xx.py           | 13 +++++++++++++
>   tests/avocado/ppc_bamboo.py         |  2 ++
>   tests/avocado/ppc_mpc8544ds.py      |  2 ++
>   tests/avocado/ppc_prep_40p.py       |  6 ++++++
>   tests/avocado/ppc_virtex_ml507.py   |  2 ++
>   7 files changed, 39 insertions(+), 8 deletions(-)
> 

Hi, Daniel.

With this series and series "--disable-tcg qtest/avocado fixes for ppc64" [0]
applied, check-avocado passed for QEMU built with --disable-tcg --disable-linux-user.

[0] https://lists.nongnu.org/archive/html/qemu-devel/2022-03/msg00866.html

So:

Tested-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>

-- 
Murilo
Re: [PATCH 0/9] --disable-tcg avocado fixes for ppc-softmmu
Posted by Cédric Le Goater 3 years, 11 months ago
On 3/10/22 19:30, Daniel Henrique Barboza wrote:
> Hi,
> 
> These are more test fixes that I missed from my first series [1]. Thanks
> Murilo Opsfelder and Fabiano for letting me know that we still had broken
> tests to deal with.
> 
> All these tests were either a case of 'this needs kvm_pr' or 'this needs
> kvm_hv'. Since avocado doesn't have yet a way of detecting if the host
> is running kvm_hv or kvm_pr, the workaround for now is to skip them if
> TCG isn't available.
> 
> [1] https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg00866.html
> 
> 
> Daniel Henrique Barboza (9):
>    avocado/boot_linux_console.py: check TCG accel in test_ppc_g3beige()
>    avocado/boot_linux_console.py: check TCG accel in test_ppc_mac99()
>    avocado/ppc_405.py: remove test_ppc_taihu()
>    avocado/ppc_405.py: check TCG accel in test_ppc_ref405ep()
>    avocado/ppc_74xx.py: check TCG accel for all tests
>    avocado/ppc_bamboo.py: check TCG accel in test_ppc_bamboo()
>    avocado/ppc_mpc8544ds.py: check TCG accel in test_ppc_mpc8544ds()
>    avocado/ppc_prep_40p.py: check TCG accel in all tests
>    avocado/ppc_virtex_ml507.py: check TCG accel in
>      test_ppc_virtex_ml507()
> 
>   tests/avocado/boot_linux_console.py | 12 ++++++++++++
>   tests/avocado/ppc_405.py            | 10 ++--------
>   tests/avocado/ppc_74xx.py           | 13 +++++++++++++
>   tests/avocado/ppc_bamboo.py         |  2 ++
>   tests/avocado/ppc_mpc8544ds.py      |  2 ++
>   tests/avocado/ppc_prep_40p.py       |  6 ++++++
>   tests/avocado/ppc_virtex_ml507.py   |  2 ++
>   7 files changed, 39 insertions(+), 8 deletions(-)
> 


Queued for 7.0

Thanks,

C.