Patches applied successfully (
tree,
apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220729130040.1428779-1-afaria@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Gerd Hoffmann <kraxel@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Eric Blake <eblake@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <fam@euphon.net>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, "Denis V. Lunev" <den@openvz.org>, Alberto Garcia <berto@igalia.com>, "Richard W.M. Jones" <rjones@redhat.com>, Stefan Weil <sw@weilnetz.de>, Jeff Cody <codyprime@gmail.com>, Markus Armbruster <armbru@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Raphael Norwitz <raphael.norwitz@nutanix.com>, "Michael S. Tsirkin" <mst@redhat.com>, Greg Kurz <groug@kaod.org>, Christian Schoenebeck <qemu_oss@crudebyte.com>, "Alex Bennée" <alex.bennee@linaro.org>, Laurent Vivier <lvivier@redhat.com>, Amit Shah <amit@kernel.org>, "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>, Peter Xu <peterx@redhat.com>, Jason Wang <jasowang@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Keith Busch <kbusch@kernel.org>, Klaus Jensen <its@irrelevant.dk>, Hannes Reinecke <hare@suse.com>, Alex Williamson <alex.williamson@redhat.com>, Eric Auger <eric.auger@redhat.com>, David Hildenbrand <david@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Michael Roth <michael.roth@amd.com>, Konstantin Kostiuk <kkostiuk@redhat.com>, Thomas Huth <thuth@redhat.com>, Xie Yongji <xieyongji@bytedance.com>, Marcelo Tosatti <mtosatti@redhat.com>
accel/kvm/kvm-all.c | 12 +-
accel/tcg/plugin-gen.c | 9 +-
accel/tcg/translate-all.c | 9 +-
audio/audio.c | 5 +-
block.c | 2 +-
block/backup.c | 2 +-
block/block-copy.c | 4 +-
block/commit.c | 2 +-
block/dirty-bitmap.c | 6 +-
block/file-posix.c | 6 +-
block/io.c | 52 +-
block/mirror.c | 4 +-
block/monitor/block-hmp-cmds.c | 2 +-
block/nvme.c | 3 +-
block/parallels.c | 28 +-
block/qcow.c | 10 +-
block/qcow2-bitmap.c | 6 +-
block/qcow2-snapshot.c | 6 +-
block/qcow2.c | 38 +-
block/qcow2.h | 14 +-
block/qed-table.c | 2 +-
block/qed.c | 14 +-
block/quorum.c | 7 +-
block/ssh.c | 6 +-
block/throttle-groups.c | 3 +-
block/vdi.c | 17 +-
block/vhdx.c | 8 +-
block/vmdk.c | 11 +-
block/vpc.c | 4 +-
block/vvfat.c | 11 +-
blockdev.c | 2 +-
chardev/char-ringbuf.c | 4 +-
contrib/ivshmem-server/main.c | 4 +-
contrib/vhost-user-blk/vhost-user-blk.c | 5 +-
dump/dump.c | 4 +-
fsdev/virtfs-proxy-helper.c | 3 +-
gdbstub.c | 18 +-
hw/audio/intel-hda.c | 7 +-
hw/audio/pcspk.c | 7 +-
hw/char/virtio-serial-bus.c | 14 +-
hw/display/cirrus_vga.c | 5 +-
hw/hyperv/vmbus.c | 10 +-
hw/i386/intel_iommu.c | 28 +-
hw/i386/pc_q35.c | 5 +-
hw/ide/pci.c | 4 +-
hw/net/rtl8139.c | 3 +-
hw/net/virtio-net.c | 6 +-
hw/net/vmxnet3.c | 3 +-
hw/nvme/ctrl.c | 17 +-
hw/nvram/fw_cfg.c | 3 +-
hw/scsi/megasas.c | 6 +-
hw/scsi/mptconfig.c | 7 +-
hw/scsi/mptsas.c | 14 +-
hw/scsi/scsi-bus.c | 6 +-
hw/usb/dev-audio.c | 13 +-
hw/usb/hcd-ehci.c | 6 +-
hw/usb/hcd-ohci.c | 4 +-
hw/usb/hcd-xhci.c | 56 +-
hw/vfio/common.c | 21 +-
hw/virtio/vhost-vdpa.c | 3 +-
hw/virtio/vhost.c | 11 +-
hw/virtio/virtio-iommu.c | 4 +-
hw/virtio/virtio-mem.c | 9 +-
include/block/block-common.h | 2 +-
include/block/block-hmp-cmds.h | 2 +-
include/block/block-io.h | 5 +-
include/block/block_int-common.h | 12 +-
include/qemu/coroutine.h | 43 +-
io/channel-command.c | 10 +-
migration/migration.c | 12 +-
net/dump.c | 16 +-
net/vhost-vdpa.c | 8 +-
qemu-img.c | 6 +-
qga/commands-posix-ssh.c | 10 +-
softmmu/physmem.c | 18 +-
softmmu/qtest.c | 5 +-
static-analyzer.py | 801 +++++++++++++++++++++
static_analyzer/__init__.py | 348 +++++++++
static_analyzer/coroutine_fn.py | 280 +++++++
static_analyzer/no_coroutine_fn.py | 111 +++
static_analyzer/return_value_never_used.py | 220 ++++++
subprojects/libvduse/libvduse.c | 12 +-
subprojects/libvhost-user/libvhost-user.c | 24 +-
target/i386/host-cpu.c | 3 +-
target/i386/kvm/kvm.c | 19 +-
tcg/optimize.c | 3 +-
tests/qtest/libqos/malloc.c | 5 +-
tests/qtest/libqos/qgraph.c | 3 +-
tests/qtest/test-x86-cpuid-compat.c | 8 +-
tests/qtest/virtio-9p-test.c | 6 +-
tests/unit/test-aio-multithread.c | 5 +-
tests/vhost-user-bridge.c | 19 +-
ui/vnc.c | 23 +-
util/aio-posix.c | 7 +-
util/uri.c | 18 +-
95 files changed, 2160 insertions(+), 519 deletions(-)
create mode 100755 static-analyzer.py
create mode 100644 static_analyzer/__init__.py
create mode 100644 static_analyzer/coroutine_fn.py
create mode 100644 static_analyzer/no_coroutine_fn.py
create mode 100644 static_analyzer/return_value_never_used.py