qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scripts/coverity-scan: Add xtensa and openrisc components
@ 2023-05-04 13:45 Peter Maydell
  2023-05-05  6:03 ` Stafford Horne
  2023-05-05  8:21 ` Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Maydell @ 2023-05-04 13:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini

We have two target architectures which don't have Coverity components
defined for them: xtensa and openrisc. Add them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
As usual with coverity components, these will need to be added
manually via the scanner UI, since it has no import-from-file...

 scripts/coverity-scan/COMPONENTS.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/scripts/coverity-scan/COMPONENTS.md b/scripts/coverity-scan/COMPONENTS.md
index 7c48e0f1d21..add7c5a279c 100644
--- a/scripts/coverity-scan/COMPONENTS.md
+++ b/scripts/coverity-scan/COMPONENTS.md
@@ -143,3 +143,9 @@ loongarch
 
 riscv
   ~ (/qemu)?((/include)?/hw/riscv/.*|/target/riscv/.*|/hw/.*/(riscv_|ibex_|sifive_).*)
+
+openrisc
+  ~ (/qemu)?((/include)?/hw/openrisc/.*|/target/openrisc/.*)
+
+xtensa
+  ~ (/qemu)?((/include)?/hw/xtensa/.*|/target/xtensa/.*)
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] scripts/coverity-scan: Add xtensa and openrisc components
  2023-05-04 13:45 [PATCH] scripts/coverity-scan: Add xtensa and openrisc components Peter Maydell
@ 2023-05-05  6:03 ` Stafford Horne
  2023-05-05  8:21 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Stafford Horne @ 2023-05-05  6:03 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel, Paolo Bonzini

On Thu, May 04, 2023 at 02:45:26PM +0100, Peter Maydell wrote:
> We have two target architectures which don't have Coverity components
> defined for them: xtensa and openrisc. Add them.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> As usual with coverity components, these will need to be added
> manually via the scanner UI, since it has no import-from-file...
> 
>  scripts/coverity-scan/COMPONENTS.md | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/scripts/coverity-scan/COMPONENTS.md b/scripts/coverity-scan/COMPONENTS.md
> index 7c48e0f1d21..add7c5a279c 100644
> --- a/scripts/coverity-scan/COMPONENTS.md
> +++ b/scripts/coverity-scan/COMPONENTS.md
> @@ -143,3 +143,9 @@ loongarch
>  
>  riscv
>    ~ (/qemu)?((/include)?/hw/riscv/.*|/target/riscv/.*|/hw/.*/(riscv_|ibex_|sifive_).*)
> +
> +openrisc
> +  ~ (/qemu)?((/include)?/hw/openrisc/.*|/target/openrisc/.*)

This looks good to me for OpenRISC.  Where can we view the coverity reports?

  Is it this?: https://scan.coverity.com/projects/378

Acked-by: Stafford Horne <shorne@gmail.com>

> +xtensa
> +  ~ (/qemu)?((/include)?/hw/xtensa/.*|/target/xtensa/.*)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scripts/coverity-scan: Add xtensa and openrisc components
  2023-05-04 13:45 [PATCH] scripts/coverity-scan: Add xtensa and openrisc components Peter Maydell
  2023-05-05  6:03 ` Stafford Horne
@ 2023-05-05  8:21 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2023-05-05  8:21 UTC (permalink / raw)
  To: Peter Maydell, qemu-devel

On 5/4/23 15:45, Peter Maydell wrote:
> We have two target architectures which don't have Coverity components
> defined for them: xtensa and openrisc. Add them.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> As usual with coverity components, these will need to be added
> manually via the scanner UI, since it has no import-from-file...

Acked-by: Paolo Bonzini <pbonzini@redhat.com>

but the UI is broken and adding the components results in a 404 for 
https://scan.coverity.com/projects/qemu/update_components. :(

This has been a recurring issue through the years, it was gone about a 
month ago and it's now back; I've sent an email to 
scan-admin@coverity.com but I wouldn't hold my breath.

Paolo

>   scripts/coverity-scan/COMPONENTS.md | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/scripts/coverity-scan/COMPONENTS.md b/scripts/coverity-scan/COMPONENTS.md
> index 7c48e0f1d21..add7c5a279c 100644
> --- a/scripts/coverity-scan/COMPONENTS.md
> +++ b/scripts/coverity-scan/COMPONENTS.md
> @@ -143,3 +143,9 @@ loongarch
>   
>   riscv
>     ~ (/qemu)?((/include)?/hw/riscv/.*|/target/riscv/.*|/hw/.*/(riscv_|ibex_|sifive_).*)
> +
> +openrisc
> +  ~ (/qemu)?((/include)?/hw/openrisc/.*|/target/openrisc/.*)
> +
> +xtensa
> +  ~ (/qemu)?((/include)?/hw/xtensa/.*|/target/xtensa/.*)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-05  8:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 13:45 [PATCH] scripts/coverity-scan: Add xtensa and openrisc components Peter Maydell
2023-05-05  6:03 ` Stafford Horne
2023-05-05  8:21 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).