diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2024-05-30 17:44:49 +1000 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2024-06-14 14:00:46 -0300 |
commit | 3e40bdb15e2ba6e55ee92d148b0cefb7050fad20 (patch) | |
tree | a12811db3f562276396180dd9723d51a3b284be2 /tests/qtest/ppc-util.h | |
parent | 046a64b9801343e2e89eef10c7a48eec8d8c0d4f (diff) |
tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h
The spapr QEMU machine defaults is useful outside libqos, so create a
new header for ppc specific qtests and move it there.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests/qtest/ppc-util.h')
-rw-r--r-- | tests/qtest/ppc-util.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/qtest/ppc-util.h b/tests/qtest/ppc-util.h new file mode 100644 index 0000000000..f68ee93520 --- /dev/null +++ b/tests/qtest/ppc-util.h @@ -0,0 +1,19 @@ +/* + * PowerPC misc useful things + * + * Copyright (c) 2024, IBM Corporation. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef PPC_UTIL_H +#define PPC_UTIL_H + +/* List of capabilities needed to silence warnings with TCG */ +#define PSERIES_DEFAULT_CAPABILITIES \ + "cap-cfpc=broken," \ + "cap-sbbc=broken," \ + "cap-ibs=broken," \ + "cap-ccf-assist=off," + +#endif /* PPC_UTIL_H */ |