qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp
@ 2022-07-18 14:23 Peter Maydell
  2022-07-18 14:23 ` [PATCH 1/2] scripts/coverity-scan/COMPONENTS.md: Add loongarch component Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Maydell @ 2022-07-18 14:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini

This patchseries updates the Coverity Scan component regexs
to add a new component for the new loongarch architecture,
and to tweak the slirp component and mark it as "ignore when
doing scans" (since it's now a separate upstream project).

Unfortunately there's no automated way to upload new component
definitions to Coverity Scan; when these are reviewed I'll
update the components with the GUI :-/

thanks
-- PMM

Peter Maydell (2):
  scripts/coverity-scan/COMPONENTS.md: Add loongarch component
  scripts/coverity-scan/COMPONENTS.md: Update slirp component info

 scripts/coverity-scan/COMPONENTS.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.25.1



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

* [PATCH 1/2] scripts/coverity-scan/COMPONENTS.md: Add loongarch component
  2022-07-18 14:23 [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp Peter Maydell
@ 2022-07-18 14:23 ` Peter Maydell
  2022-07-18 14:23 ` [PATCH 2/2] scripts/coverity-scan/COMPONENTS.md: Update slirp component info Peter Maydell
  2022-07-18 16:06 ` [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp Paolo Bonzini
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2022-07-18 14:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini

Add the component regex for the new loongarch target.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 scripts/coverity-scan/COMPONENTS.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/coverity-scan/COMPONENTS.md b/scripts/coverity-scan/COMPONENTS.md
index de2eb962416..a61d011d9a4 100644
--- a/scripts/coverity-scan/COMPONENTS.md
+++ b/scripts/coverity-scan/COMPONENTS.md
@@ -143,3 +143,6 @@ testlibs
 
 tests
   ~ (/qemu)?(/tests/.*)
+
+loongarch
+  ~ (/qemu)?((/include)?/hw/(loongarch/.*|.*/loongarch.*)|/target/loongarch/.*)
-- 
2.25.1



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

* [PATCH 2/2] scripts/coverity-scan/COMPONENTS.md: Update slirp component info
  2022-07-18 14:23 [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp Peter Maydell
  2022-07-18 14:23 ` [PATCH 1/2] scripts/coverity-scan/COMPONENTS.md: Add loongarch component Peter Maydell
@ 2022-07-18 14:23 ` Peter Maydell
  2022-07-18 16:06 ` [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp Paolo Bonzini
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2022-07-18 14:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini

Update the regex for the slirp component now that it lives
solely inside /slirp/, and note that it should be ignored in
Coverity analysis (because it's a separate upstream project
now, and they run Coverity on it themselves).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 scripts/coverity-scan/COMPONENTS.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/coverity-scan/COMPONENTS.md b/scripts/coverity-scan/COMPONENTS.md
index a61d011d9a4..3aad9cdfaf4 100644
--- a/scripts/coverity-scan/COMPONENTS.md
+++ b/scripts/coverity-scan/COMPONENTS.md
@@ -108,8 +108,8 @@ qemu-ga
 scsi
   ~ (/qemu)?(/scsi/.*|/hw/scsi/.*|/include/hw/scsi/.*)
 
-slirp
-  ~ (/qemu)?(/.*slirp.*)
+slirp (component should be ignored in analysis)
+  ~ (/qemu)?(/slirp/.*)
 
 tcg
   ~ (/qemu)?(/accel/tcg/.*|/replay/.*|/(.*/)?softmmu.*)
-- 
2.25.1



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

* Re: [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp
  2022-07-18 14:23 [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp Peter Maydell
  2022-07-18 14:23 ` [PATCH 1/2] scripts/coverity-scan/COMPONENTS.md: Add loongarch component Peter Maydell
  2022-07-18 14:23 ` [PATCH 2/2] scripts/coverity-scan/COMPONENTS.md: Update slirp component info Peter Maydell
@ 2022-07-18 16:06 ` Paolo Bonzini
  2 siblings, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2022-07-18 16:06 UTC (permalink / raw)
  To: Peter Maydell, qemu-devel

On 7/18/22 16:23, Peter Maydell wrote:
> This patchseries updates the Coverity Scan component regexs
> to add a new component for the new loongarch architecture,
> and to tweak the slirp component and mark it as "ignore when
> doing scans" (since it's now a separate upstream project).
> 
> Unfortunately there's no automated way to upload new component
> definitions to Coverity Scan; when these are reviewed I'll
> update the components with the GUI :-/
> 
> thanks
> -- PMM
> 
> Peter Maydell (2):
>    scripts/coverity-scan/COMPONENTS.md: Add loongarch component
>    scripts/coverity-scan/COMPONENTS.md: Update slirp component info
> 
>   scripts/coverity-scan/COMPONENTS.md | 7 +++++--
>   1 file changed, 5 insertions(+), 2 deletions(-)
> 

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


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

end of thread, other threads:[~2022-07-18 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-18 14:23 [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp Peter Maydell
2022-07-18 14:23 ` [PATCH 1/2] scripts/coverity-scan/COMPONENTS.md: Add loongarch component Peter Maydell
2022-07-18 14:23 ` [PATCH 2/2] scripts/coverity-scan/COMPONENTS.md: Update slirp component info Peter Maydell
2022-07-18 16:06 ` [PATCH 0/2] coverity COMPONENTS.md: Update for loongarch, slirp 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).