History log of /qemu/net/ (Results 51 – 75 of 1074)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1d7e2a8f13-Oct-2023 Hawkins Jiawei <yin31149@gmail.com>

vdpa: Introduce cursors to vhost_vdpa_net_loadx()

This patch introduces two new arugments, `out_cursor`
and `in_cursor`, to vhost_vdpa_net_loadx(). Addtionally,
it includes a helper function
vhost_v

vdpa: Introduce cursors to vhost_vdpa_net_loadx()

This patch introduces two new arugments, `out_cursor`
and `in_cursor`, to vhost_vdpa_net_loadx(). Addtionally,
it includes a helper function
vhost_vdpa_net_load_cursor_reset() for resetting these
cursors.

Furthermore, this patch refactors vhost_vdpa_net_load_cmd()
so that vhost_vdpa_net_load_cmd() prepares buffers
for the device using the cursors arguments, instead
of directly accesses `s->cvq_cmd_out_buffer` and
`s->status` fields.

By making these change, next patches in this series
can refactor vhost_vdpa_net_load_cmd() directly to
iterate through the control commands shadow buffers,
allowing QEMU to send CVQ state load commands in parallel
at device startup.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <1c6516e233a14cc222f0884e148e4e1adceda78d.1697165821.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

a864a32113-Oct-2023 Hawkins Jiawei <yin31149@gmail.com>

vdpa: Move vhost_svq_poll() to the caller of vhost_vdpa_net_cvq_add()

This patch moves vhost_svq_poll() to the caller of
vhost_vdpa_net_cvq_add() and introduces a helper funtion.

By making this cha

vdpa: Move vhost_svq_poll() to the caller of vhost_vdpa_net_cvq_add()

This patch moves vhost_svq_poll() to the caller of
vhost_vdpa_net_cvq_add() and introduces a helper funtion.

By making this change, next patches in this series is
able to refactor vhost_vdpa_net_load_x() only to delay
the polling and checking process until either the SVQ
is full or control commands shadow buffers are full.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <196cadb55175a75275660c6634a538289f027ae3.1697165821.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

24e59cfe13-Oct-2023 Hawkins Jiawei <yin31149@gmail.com>

vdpa: Check device ack in vhost_vdpa_net_load_rx_mode()

Considering that vhost_vdpa_net_load_rx_mode() is only called
within vhost_vdpa_net_load_rx() now, this patch refactors
vhost_vdpa_net_load_rx

vdpa: Check device ack in vhost_vdpa_net_load_rx_mode()

Considering that vhost_vdpa_net_load_rx_mode() is only called
within vhost_vdpa_net_load_rx() now, this patch refactors
vhost_vdpa_net_load_rx_mode() to include a check for the
device's ack, simplifying the code and improving its maintainability.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <68811d52f96ae12d68f0d67d996ac1642a623943.1697165821.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

327dedb813-Oct-2023 Hawkins Jiawei <yin31149@gmail.com>

vdpa: Avoid using vhost_vdpa_net_load_*() outside vhost_vdpa_net_load()

Next patches in this series will refactor vhost_vdpa_net_load_cmd()
to iterate through the control commands shadow buffers, al

vdpa: Avoid using vhost_vdpa_net_load_*() outside vhost_vdpa_net_load()

Next patches in this series will refactor vhost_vdpa_net_load_cmd()
to iterate through the control commands shadow buffers, allowing QEMU
to send CVQ state load commands in parallel at device startup.

Considering that QEMU always forwards the CVQ command serialized
outside of vhost_vdpa_net_load(), it is more elegant to send the
CVQ commands directly without invoking vhost_vdpa_net_load_*() helpers.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <254f0618efde7af7229ba4fdada667bb9d318991.1697165821.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

0e6bff0d13-Oct-2023 Hawkins Jiawei <yin31149@gmail.com>

vdpa: Use iovec for vhost_vdpa_net_cvq_add()

Next patches in this series will no longer perform an
immediate poll and check of the device's used buffers
for each CVQ state load command. Consequently

vdpa: Use iovec for vhost_vdpa_net_cvq_add()

Next patches in this series will no longer perform an
immediate poll and check of the device's used buffers
for each CVQ state load command. Consequently, there
will be multiple pending buffers in the shadow VirtQueue,
making it a must for every control command to have its
own buffer.

To achieve this, this patch refactor vhost_vdpa_net_cvq_add()
to accept `struct iovec`, which eliminates the coupling of
control commands to `s->cvq_cmd_out_buffer` and `s->status`,
allowing them to use their own buffer.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <8a328f146fb043f34edb75ba6d043d2d6de88f99.1697165821.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus/macos-12.vars
/qemu/.gitlab-ci.d/container-cross.yml
/qemu/.mailmap
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/accel/accel-system.c
/qemu/accel/accel-system.h
/qemu/accel/accel-target.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/meson.build
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/stubs/meson.build
/qemu/accel/tcg/icount-common.c
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/translator.c
/qemu/accel/tcg/user-exec.c
/qemu/audio/audio.c
/qemu/audio/audio.h
/qemu/block.c
/qemu/block/backup.c
/qemu/block/block-backend.c
/qemu/block/bochs.c
/qemu/block/cloop.c
/qemu/block/commit.c
/qemu/block/copy-before-write.c
/qemu/block/copy-on-read.c
/qemu/block/crypto.c
/qemu/block/curl.c
/qemu/block/dmg.c
/qemu/block/export/export.c
/qemu/block/gluster.c
/qemu/block/graph-lock.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/mirror.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/nbd.c
/qemu/block/nfs.c
/qemu/block/parallels.c
/qemu/block/qapi-sysemu.c
/qemu/block/qapi.c
/qemu/block/qcow.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-cache.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/quorum.c
/qemu/block/raw-format.c
/qemu/block/rbd.c
/qemu/block/replication.c
/qemu/block/snapshot.c
/qemu/block/stream.c
/qemu/block/trace-events
/qemu/block/vdi.c
/qemu/block/vhdx.c
/qemu/block/vhdx.h
/qemu/block/vmdk.c
/qemu/block/vpc.c
/qemu/block/vvfat.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/configure
/qemu/contrib/plugins/cache.c
/qemu/contrib/plugins/execlog.c
/qemu/contrib/plugins/hotblocks.c
/qemu/contrib/plugins/lockstep.c
/qemu/contrib/vhost-user-gpu/vhost-user-gpu.c
/qemu/contrib/vhost-user-gpu/vugpu.h
/qemu/cpu-target.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/build-system.rst
/qemu/docs/devel/qtest.rst
/qemu/docs/devel/testing.rst
/qemu/docs/interop/nbd.txt
/qemu/docs/system/device-emulation.rst
/qemu/docs/system/devices/virtio-gpu.rst
/qemu/docs/system/i386/amd-memory-encryption.rst
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/meson.build
/qemu/gdbstub/system.c
/qemu/gdbstub/trace-events
/qemu/gdbstub/user.c
/qemu/hw/audio/Kconfig
/qemu/hw/audio/asc.c
/qemu/hw/audio/es1370.c
/qemu/hw/audio/meson.build
/qemu/hw/audio/trace-events
/qemu/hw/block/swim.c
/qemu/hw/block/trace-events
/qemu/hw/char/riscv_htif.c
/qemu/hw/core/cpu-common.c
/qemu/hw/display/meson.build
/qemu/hw/display/virtio-gpu-base.c
/qemu/hw/display/virtio-gpu-pci-rutabaga.c
/qemu/hw/display/virtio-gpu-pci.c
/qemu/hw/display/virtio-gpu-rutabaga.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/display/virtio-vga-rutabaga.c
/qemu/hw/display/virtio-vga.c
/qemu/hw/intc/riscv_aplic.c
/qemu/hw/loongarch/Kconfig
/qemu/hw/loongarch/virt.c
/qemu/hw/m68k/Kconfig
/qemu/hw/m68k/q800-glue.c
/qemu/hw/m68k/q800.c
/qemu/hw/mem/memory-device.c
/qemu/hw/misc/Kconfig
/qemu/hw/misc/djmemc.c
/qemu/hw/misc/i2c-echo.c
/qemu/hw/misc/iosb.c
/qemu/hw/misc/mac_via.c
/qemu/hw/misc/meson.build
/qemu/hw/misc/sifive_test.c
/qemu/hw/misc/trace-events
/qemu/hw/rdma/vmw/pvrdma_main.c
/qemu/hw/riscv/virt.c
/qemu/hw/ufs/lu.c
/qemu/hw/ufs/ufs.c
/qemu/hw/usb/desc.c
/qemu/hw/usb/dev-hub.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/usb/hcd-xhci.c
/qemu/hw/usb/host-libusb.c
/qemu/hw/vfio/display.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/vhost-stub.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost-vdpa.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-mem-pci.c
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/block/block-common.h
/qemu/include/block/block-global-state.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-io.h
/qemu/include/block/graph-lock.h
/qemu/include/block/nbd.h
/qemu/include/block/qapi.h
/qemu/include/block/snapshot.h
/qemu/include/block/ufs.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/gdbstub.h
/qemu/include/exec/memory.h
/qemu/include/exec/plugin-gen.h
/qemu/include/exec/translator.h
/qemu/include/gdbstub/syscalls.h
/qemu/include/hw/audio/asc.h
/qemu/include/hw/block/swim.h
/qemu/include/hw/boards.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/m68k/q800-glue.h
/qemu/include/hw/m68k/q800.h
/qemu/include/hw/mem/memory-device.h
/qemu/include/hw/misc/djmemc.h
/qemu/include/hw/misc/iosb.h
/qemu/include/hw/misc/mac_via.h
/qemu/include/hw/virtio/vhost-backend.h
/qemu/include/hw/virtio/vhost.h
/qemu/include/hw/virtio/virtio-gpu-bswap.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/hw/virtio/virtio-mem.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/migration/register.h
/qemu/include/qemu/atomic128.h
/qemu/include/qemu/guest-random.h
/qemu/include/qemu/plugin.h
/qemu/include/qom/object_interfaces.h
/qemu/include/semihosting/semihost.h
/qemu/include/semihosting/uaccess.h
/qemu/include/sysemu/block-backend-global-state.h
/qemu/include/sysemu/cpu-timers-internal.h
/qemu/include/sysemu/cpus.h
/qemu/include/sysemu/hvf.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/kvm_int.h
/qemu/include/sysemu/os-posix.h
/qemu/include/sysemu/runstate-action.h
/qemu/include/sysemu/runstate.h
/qemu/include/sysemu/sysemu.h
/qemu/include/sysemu/tpm.h
/qemu/include/tcg/tcg-op-common.h
/qemu/linux-user/flatload.c
/qemu/linux-user/mmap.c
/qemu/linux-user/syscall.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/dirtyrate.c
/qemu/migration/dirtyrate.h
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/migration-stats.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/multifd.c
/qemu/migration/options.c
/qemu/migration/options.h
/qemu/migration/qemu-file.c
/qemu/migration/qemu-file.h
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/migration/rdma.h
/qemu/migration/savevm.c
/qemu/migration/trace-events
/qemu/nbd/client-connection.c
/qemu/nbd/client.c
/qemu/nbd/nbd-internal.h
/qemu/nbd/server.c
/qemu/nbd/trace-events
vhost-vdpa.c
/qemu/os-posix.c
/qemu/pc-bios/bios-256k.bin
/qemu/pc-bios/bios-microvm.bin
/qemu/pc-bios/bios.bin
/qemu/pc-bios/vgabios-ati.bin
/qemu/pc-bios/vgabios-bochs-display.bin
/qemu/pc-bios/vgabios-cirrus.bin
/qemu/pc-bios/vgabios-qxl.bin
/qemu/pc-bios/vgabios-ramfb.bin
/qemu/pc-bios/vgabios-stdvga.bin
/qemu/pc-bios/vgabios-virtio.bin
/qemu/pc-bios/vgabios-vmware.bin
/qemu/pc-bios/vgabios.bin
/qemu/plugins/core.c
/qemu/plugins/loader.c
/qemu/python/qemu/machine/console_socket.py
/qemu/python/qemu/machine/machine.py
/qemu/python/qemu/machine/qtest.py
/qemu/python/qemu/qmp/legacy.py
/qemu/python/qemu/qmp/protocol.py
/qemu/python/qemu/qmp/qmp_shell.py
/qemu/python/qemu/utils/qemu_ga_client.py
/qemu/python/qemu/utils/qom.py
/qemu/python/qemu/utils/qom_common.py
/qemu/python/qemu/utils/qom_fuse.py
/qemu/python/setup.cfg
/qemu/qapi/migration.json
/qemu/qemu-img.c
/qemu/qemu-io-cmds.c
/qemu/qemu-io.c
/qemu/qemu-nbd.c
/qemu/qemu-options.hx
/qemu/qga/commands-win32.c
/qemu/qga/commands.c
/qemu/qga/qapi-schema.json
/qemu/qom/object_interfaces.c
/qemu/roms/Makefile
/qemu/roms/seabios
/qemu/scripts/analyze-migration.py
/qemu/scripts/block-coroutine-wrapper.py
/qemu/scripts/checkpatch.pl
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/cpu-x86-uarch-abi.py
/qemu/scripts/device-crash-test
/qemu/scripts/feature_to_c.py
/qemu/scripts/get_maintainer.pl
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/oss-fuzz/build.sh
/qemu/scripts/python_qmp_updater.py
/qemu/scripts/render_block_graph.py
/qemu/scripts/xml-preprocess.py
/qemu/semihosting/arm-compat-semi.c
/qemu/semihosting/config.c
/qemu/semihosting/guestfd.c
/qemu/semihosting/syscalls.c
/qemu/semihosting/uaccess.c
/qemu/stubs/gdbstub.c
/qemu/stubs/memory_device.c
/qemu/stubs/meson.build
/qemu/stubs/semihost.c
/qemu/subprojects/libvduse/libvduse.c
/qemu/subprojects/libvhost-user/libvhost-user.c
/qemu/system/arch_init.c
/qemu/system/async-teardown.c
/qemu/system/balloon.c
/qemu/system/bootdevice.c
/qemu/system/cpu-throttle.c
/qemu/system/cpu-timers.c
/qemu/system/cpus.c
/qemu/system/datadir.c
/qemu/system/device_tree.c
/qemu/system/dirtylimit.c
/qemu/system/dma-helpers.c
/qemu/system/globals.c
/qemu/system/ioport.c
/qemu/system/main.c
/qemu/system/memory.c
/qemu/system/memory_mapping.c
/qemu/system/meson.build
/qemu/system/physmem.c
/qemu/system/qdev-monitor.c
/qemu/system/qemu-seccomp.c
/qemu/system/qtest.c
/qemu/system/rtc.c
/qemu/system/runstate-action.c
/qemu/system/runstate-hmp-cmds.c
/qemu/system/runstate.c
/qemu/system/tpm-hmp-cmds.c
/qemu/system/tpm.c
/qemu/system/trace-events
/qemu/system/trace.h
/qemu/system/vl.c
/qemu/system/watchpoint.c
/qemu/target/alpha/meson.build
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu64.c
/qemu/target/arm/gdbstub.c
/qemu/target/arm/meson.build
/qemu/target/avr/meson.build
/qemu/target/cris/meson.build
/qemu/target/hppa/meson.build
/qemu/target/i386/cpu.c
/qemu/target/i386/hvf/hvf-cpu.c
/qemu/target/i386/hvf/hvf-i386.h
/qemu/target/i386/hvf/x86_cpuid.c
/qemu/target/i386/kvm/meson.build
/qemu/target/i386/meson.build
/qemu/target/i386/tcg/misc_helper.c
/qemu/target/i386/tcg/seg_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/disas.c
/qemu/target/loongarch/insn_trans/trans_memory.c.inc
/qemu/target/loongarch/insns.decode
/qemu/target/loongarch/meson.build
/qemu/target/m68k/m68k-semi.c
/qemu/target/m68k/meson.build
/qemu/target/microblaze/meson.build
/qemu/target/mips/meson.build
/qemu/target/mips/tcg/sysemu/mips-semi.c
/qemu/target/nios2/meson.build
/qemu/target/nios2/nios2-semi.c
/qemu/target/openrisc/meson.build
/qemu/target/ppc/gdbstub.c
/qemu/target/ppc/internal.h
/qemu/target/ppc/kvm.c
/qemu/target/ppc/meson.build
/qemu/target/riscv/cpu-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/kvm/kvm_riscv.h
/qemu/target/riscv/kvm/meson.build
/qemu/target/riscv/meson.build
/qemu/target/riscv/tcg/meson.build
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/tcg/tcg-cpu.h
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/meson.build
/qemu/target/s390x/cpu.c
/qemu/target/s390x/meson.build
/qemu/target/sh4/meson.build
/qemu/target/sh4/translate.c
/qemu/target/sparc/meson.build
/qemu/target/tricore/cpu.c
/qemu/target/tricore/meson.build
/qemu/target/xtensa/meson.build
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/meson.build
/qemu/tcg/mips/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/region.c
/qemu/tcg/riscv/tcg-target.c.inc
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/sparc64/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/avocado/acpi-bits.py
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/cpu_queries.py
/qemu/tests/avocado/hotplug_cpu.py
/qemu/tests/avocado/info_usernet.py
/qemu/tests/avocado/machine_aarch64_sbsaref.py
/qemu/tests/avocado/machine_arm_integratorcp.py
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/avocado/machine_m68k_nextcube.py
/qemu/tests/avocado/machine_mips_malta.py
/qemu/tests/avocado/machine_s390_ccw_virtio.py
/qemu/tests/avocado/migration.py
/qemu/tests/avocado/pc_cpu_hotplug_props.py
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/avocado/version.py
/qemu/tests/avocado/virtio_check_params.py
/qemu/tests/avocado/virtio_version.py
/qemu/tests/avocado/vnc.py
/qemu/tests/avocado/x86_cpu_model_versions.py
/qemu/tests/data/acpi/q35/DSDT.mmio64
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/alpine.docker
/qemu/tests/docker/dockerfiles/centos8.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/docker/dockerfiles/python.docker
/qemu/tests/docker/dockerfiles/ubuntu2204.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/projects/qemu.yml
/qemu/tests/migration/guestperf/engine.py
/qemu/tests/qemu-iotests/030
/qemu/tests/qemu-iotests/040
/qemu/tests/qemu-iotests/041
/qemu/tests/qemu-iotests/045
/qemu/tests/qemu-iotests/055
/qemu/tests/qemu-iotests/056
/qemu/tests/qemu-iotests/093
/qemu/tests/qemu-iotests/118
/qemu/tests/qemu-iotests/124
/qemu/tests/qemu-iotests/129
/qemu/tests/qemu-iotests/132
/qemu/tests/qemu-iotests/139
/qemu/tests/qemu-iotests/147
/qemu/tests/qemu-iotests/151
/qemu/tests/qemu-iotests/152
/qemu/tests/qemu-iotests/155
/qemu/tests/qemu-iotests/165
/qemu/tests/qemu-iotests/196
/qemu/tests/qemu-iotests/205
/qemu/tests/qemu-iotests/218
/qemu/tests/qemu-iotests/223.out
/qemu/tests/qemu-iotests/233.out
/qemu/tests/qemu-iotests/241.out
/qemu/tests/qemu-iotests/245
/qemu/tests/qemu-iotests/256
/qemu/tests/qemu-iotests/257
/qemu/tests/qemu-iotests/264
/qemu/tests/qemu-iotests/281
/qemu/tests/qemu-iotests/295
/qemu/tests/qemu-iotests/296
/qemu/tests/qemu-iotests/298
/qemu/tests/qemu-iotests/300
/qemu/tests/qemu-iotests/307.out
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/qemu-iotests/tests/backing-file-invalidation
/qemu/tests/qemu-iotests/tests/copy-before-write
/qemu/tests/qemu-iotests/tests/export-incoming-iothread
/qemu/tests/qemu-iotests/tests/graph-changes-while-io
/qemu/tests/qemu-iotests/tests/image-fleecing
/qemu/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
/qemu/tests/qemu-iotests/tests/migrate-bitmaps-test
/qemu/tests/qemu-iotests/tests/migrate-during-backup
/qemu/tests/qemu-iotests/tests/migration-permissions
/qemu/tests/qemu-iotests/tests/mirror-ready-cancel-error
/qemu/tests/qemu-iotests/tests/mirror-top-perms
/qemu/tests/qemu-iotests/tests/nbd-multiconn
/qemu/tests/qemu-iotests/tests/nbd-qemu-allocation.out
/qemu/tests/qemu-iotests/tests/reopen-file
/qemu/tests/qemu-iotests/tests/stream-error-on-reset
/qemu/tests/qemu-iotests/tests/stream-under-throttle
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/fuzz/fuzz.c
/qemu/tests/qtest/fuzz/fuzz.h
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/libqtest.h
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/migration-helpers.c
/qemu/tests/qtest/migration-helpers.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/npcm7xx_timer-test.c
/qemu/tests/qtest/ufs-test.c
/qemu/tests/qtest/virtio-net-failover.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/loongarch64/system/boot.S
/qemu/tests/tcg/multiarch/gdbstub/interrupt.py
/qemu/tests/tcg/multiarch/gdbstub/memory.py
/qemu/tests/tcg/multiarch/system/memory.c
/qemu/tests/tcg/s390x/pgm-specification-softmmu.S
/qemu/tests/tcg/s390x/pgm-specification.mak
/qemu/tests/tcg/s390x/softmmu.ld
/qemu/tests/tcg/xtensa/Makefile.softmmu-target
/qemu/tests/tcg/xtensaeb/Makefile.softmmu-target
/qemu/tests/unit/meson.build
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-block-iothread.c
/qemu/tests/vm/basevm.py
/qemu/trace/control.c
/qemu/trace/control.h
/qemu/ui/cocoa.m
/qemu/ui/vnc.c
/qemu/util/cutils.c
/qemu/util/guest-random.c
/qemu/util/log.c
73071f1904-Oct-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

net/net: Clean up global variable shadowing

Fix:

net/net.c:1680:35: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
bool netdev_is_modern(const char *optarg)

net/net: Clean up global variable shadowing

Fix:

net/net.c:1680:35: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
bool netdev_is_modern(const char *optarg)
^
net/net.c:1714:38: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
void netdev_parse_modern(const char *optarg)
^
net/net.c:1728:60: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
void net_client_parse(QemuOptsList *opts_list, const char *optarg)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: note: previous declaration is here
extern char *optarg; /* getopt(3) external variables */
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-4-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

845ec38a15-Sep-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa net: follow VirtIO initialization properly at cvq isolation probing

This patch solves a few issues. The most obvious is that the feature
set was done previous to ACKNOWLEDGE | DRIVER status bi

vdpa net: follow VirtIO initialization properly at cvq isolation probing

This patch solves a few issues. The most obvious is that the feature
set was done previous to ACKNOWLEDGE | DRIVER status bit set. Current
vdpa devices are permissive with this, but it is better to follow the
standard.

Fixes: 152128d646 ("vdpa: move CVQ isolation check to net_init_vhost_vdpa")
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230915170836.3078172-4-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

f108588215-Sep-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa net: stop probing if cannot set features

Otherwise it continues the CVQ isolation probing.

Fixes: 152128d646 ("vdpa: move CVQ isolation check to net_init_vhost_vdpa")
Reported-by: Peter Maydel

vdpa net: stop probing if cannot set features

Otherwise it continues the CVQ isolation probing.

Fixes: 152128d646 ("vdpa: move CVQ isolation check to net_init_vhost_vdpa")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230915170836.3078172-3-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

cbc9ae8715-Sep-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa net: fix error message setting virtio status

It incorrectly prints "error setting features", probably because a copy
paste miss.

Fixes: 152128d646 ("vdpa: move CVQ isolation check to net_init_

vdpa net: fix error message setting virtio status

It incorrectly prints "error setting features", probably because a copy
paste miss.

Fixes: 152128d646 ("vdpa: move CVQ isolation check to net_init_vhost_vdpa")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230915170836.3078172-2-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

0a7a164b13-Sep-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa net: zero vhost_vdpa iova_tree pointer at cleanup

Not zeroing it causes a SIGSEGV if the live migration is cancelled, at
net device restart.

This is caused because CVQ tries to reuse the iova_

vdpa net: zero vhost_vdpa iova_tree pointer at cleanup

Not zeroing it causes a SIGSEGV if the live migration is cancelled, at
net device restart.

This is caused because CVQ tries to reuse the iova_tree that is present
in the first vhost_vdpa device at the end of vhost_vdpa_net_cvq_start.
As a consequence, it tries to access an iova_tree that has been already
free.

Fixes: 00ef422e9fbf ("vdpa net: move iova tree creation from init to start")
Reported-by: Yanhui Ma <yama@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230913123408.2819185-1-eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

e77db79011-Sep-2023 Stefan Hajnoczi <stefanha@redhat.com>

vdpa: fix gcc cvq_isolated uninitialized variable warning

gcc 13.2.1 emits the following warning:

net/vhost-vdpa.c: In function ‘net_vhost_vdpa_init.constprop’:
net/vhost-vdpa.c:1394:25: error:

vdpa: fix gcc cvq_isolated uninitialized variable warning

gcc 13.2.1 emits the following warning:

net/vhost-vdpa.c: In function ‘net_vhost_vdpa_init.constprop’:
net/vhost-vdpa.c:1394:25: error: ‘cvq_isolated’ may be used uninitialized [-Werror=maybe-uninitialized]
1394 | s->cvq_isolated = cvq_isolated;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
net/vhost-vdpa.c:1355:9: note: ‘cvq_isolated’ was declared here
1355 | int cvq_isolated;
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Cc: Eugenio Pérez <eperezma@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230911215435.4156314-1-stefanha@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

b0de17a229-Aug-2023 Hawkins Jiawei <yin31149@gmail.com>

vhost: Add count argument to vhost_svq_poll()

Next patches in this series will no longer perform an
immediate poll and check of the device's used buffers
for each CVQ state load command. Instead, th

vhost: Add count argument to vhost_svq_poll()

Next patches in this series will no longer perform an
immediate poll and check of the device's used buffers
for each CVQ state load command. Instead, they will
send CVQ state load commands in parallel by polling
multiple pending buffers at once.

To achieve this, this patch refactoring vhost_svq_poll()
to accept a new argument `num`, which allows vhost_svq_poll()
to wait for the device to use multiple elements,
rather than polling for a single element.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <950b3bfcfc5d446168b9d6a249d554a013a691d4.1693287885.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

f13f5f6422-Aug-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa: remove net cvq migration blocker

Now that we have add migration blockers if the device does not support
all the needed features, remove the general blocker applied to all net
devices with CVQ.

vdpa: remove net cvq migration blocker

Now that we have add migration blockers if the device does not support
all the needed features, remove the general blocker applied to all net
devices with CVQ.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230822085330.3978829-6-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

6c48254722-Aug-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa: move vhost_vdpa_set_vring_ready to the caller

Doing that way allows CVQ to be enabled before the dataplane vqs,
restoring the state as MQ or MAC addresses properly in the case of a
migration.

vdpa: move vhost_vdpa_set_vring_ready to the caller

Doing that way allows CVQ to be enabled before the dataplane vqs,
restoring the state as MQ or MAC addresses properly in the case of a
migration.

The patch does it by defining a ->load NetClientInfo callback also for
dataplane. Ideally, this should be done by an independent patch, but
the function is already static so it would only add an empty
vhost_vdpa_net_data_load stub.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230822085330.3978829-5-eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

f3fada5922-Aug-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa: rename vhost_vdpa_net_load to vhost_vdpa_net_cvq_load

Next patches will add the corresponding data load.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redh

vdpa: rename vhost_vdpa_net_load to vhost_vdpa_net_cvq_load

Next patches will add the corresponding data load.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230822085330.3978829-4-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

b40eba9c22-Aug-2023 Eugenio Pérez <eperezma@redhat.com>

vdpa: use first queue SVQ state for CVQ default

Previous to this patch the only way CVQ would be shadowed is if it does
support to isolate CVQ group or if all vqs were shadowed from the
beginning.

vdpa: use first queue SVQ state for CVQ default

Previous to this patch the only way CVQ would be shadowed is if it does
support to isolate CVQ group or if all vqs were shadowed from the
beginning. The second condition was checked at the beginning, and no
more configuration was done.

After this series we need to check if data queues are shadowed because
they are in the middle of the migration. As checking if they are
shadowed already covers the previous case, let's just mimic it.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230822085330.3978829-2-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

e213c45a23-Jul-2023 Hawkins Jiawei <yin31149@gmail.com>

vdpa: Allow VIRTIO_NET_F_CTRL_VLAN in SVQ

Enable SVQ with VIRTIO_NET_F_CTRL_VLAN feature.

Co-developed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Sig

vdpa: Allow VIRTIO_NET_F_CTRL_VLAN in SVQ

Enable SVQ with VIRTIO_NET_F_CTRL_VLAN feature.

Co-developed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <38dc63102a42c31c72fd293d0e6e2828fd54c86e.1690106284.git.yin31149@gmail.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

8f7e996723-Jul-2023 Hawkins Jiawei <yin31149@gmail.com>

vdpa: Restore vlan filtering state

This patch introduces vhost_vdpa_net_load_single_vlan()
and vhost_vdpa_net_load_vlan() to restore the vlan
filtering state at device's startup.

Co-developed-by: E

vdpa: Restore vlan filtering state

This patch introduces vhost_vdpa_net_load_single_vlan()
and vhost_vdpa_net_load_vlan() to restore the vlan
filtering state at device's startup.

Co-developed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <e76a29f77bb3f386e4a643c8af94b77b775d1752.1690106284.git.yin31149@gmail.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/cirrus/build.yml
/qemu/MAINTAINERS
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-runtime-gvec.c
/qemu/accel/tcg/tcg-runtime.h
/qemu/audio/jackaudio.c
/qemu/backends/cryptodev.c
/qemu/backends/hostmem-file.c
/qemu/block.c
/qemu/block/blklogwrites.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/copy-before-write.c
/qemu/block/crypto.c
/qemu/block/file-posix.c
/qemu/block/graph-lock.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/parallels.c
/qemu/block/parallels.h
/qemu/block/preallocate.c
/qemu/block/qcow.c
/qemu/block/qcow2.c
/qemu/block/quorum.c
/qemu/block/replication.c
/qemu/block/snapshot.c
/qemu/block/stream.c
/qemu/block/throttle-groups.c
/qemu/block/throttle.c
/qemu/block/vmdk.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/bsd-user/errno_defs.h
/qemu/bsd-user/freebsd/target_os_siginfo.h
/qemu/bsd-user/freebsd/target_os_stack.h
/qemu/bsd-user/freebsd/target_os_user.h
/qemu/bsd-user/qemu.h
/qemu/bsd-user/signal-common.h
/qemu/bsd-user/signal.c
/qemu/contrib/elf2dmp/addrspace.c
/qemu/contrib/elf2dmp/addrspace.h
/qemu/contrib/elf2dmp/main.c
/qemu/contrib/elf2dmp/pdb.c
/qemu/contrib/elf2dmp/pdb.h
/qemu/contrib/elf2dmp/qemu_elf.c
/qemu/contrib/elf2dmp/qemu_elf.h
/qemu/crypto/clmul.c
/qemu/crypto/meson.build
/qemu/docs/config/q35-emulated.cfg
/qemu/docs/config/q35-virtio-graphical.cfg
/qemu/docs/devel/loads-stores.rst
/qemu/docs/devel/multi-process.rst
/qemu/docs/devel/reset.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/devices/cxl.rst
/qemu/docs/system/index.rst
/qemu/docs/system/vm-templating.rst
/qemu/fpu/softfloat-parts.c.inc
/qemu/fpu/softfloat.c
/qemu/fsdev/qemu-fsdev-throttle.c
/qemu/fsdev/qemu-fsdev-throttle.h
/qemu/host/include/aarch64/host/cpuinfo.h
/qemu/host/include/aarch64/host/crypto/clmul.h
/qemu/host/include/generic/host/crypto/clmul.h
/qemu/host/include/i386/host/cpuinfo.h
/qemu/host/include/i386/host/crypto/clmul.h
/qemu/host/include/ppc/host/cpuinfo.h
/qemu/host/include/x86_64/host/crypto/clmul.h
/qemu/hw/9pfs/cofile.c
/qemu/hw/acpi/aml-build.c
/qemu/hw/acpi/hmat.c
/qemu/hw/acpi/nvdimm.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/audio/hda-codec.c
/qemu/hw/audio/intel-hda.c
/qemu/hw/audio/intel-hda.h
/qemu/hw/audio/lm4549.c
/qemu/hw/audio/lm4549.h
/qemu/hw/audio/pl041.c
/qemu/hw/block/hd-geometry.c
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/char/cadence_uart.c
/qemu/hw/char/imx_serial.c
/qemu/hw/char/serial.c
/qemu/hw/core/generic-loader.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/cpu/a15mpcore.c
/qemu/hw/cxl/cxl-events.c
/qemu/hw/cxl/cxl-host.c
/qemu/hw/cxl/cxl-mailbox-utils.c
/qemu/hw/display/xlnx_dp.c
/qemu/hw/dma/omap_dma.c
/qemu/hw/hppa/machine.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/i386/kvm/xenstore_impl.c
/qemu/hw/i386/pc.c
/qemu/hw/input/hid.c
/qemu/hw/input/tsc2005.c
/qemu/hw/input/tsc210x.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/loongson_liointc.c
/qemu/hw/intc/omap_intc.c
/qemu/hw/intc/pnv_xive.c
/qemu/hw/intc/spapr_xive.c
/qemu/hw/intc/spapr_xive_kvm.c
/qemu/hw/intc/xive.c
/qemu/hw/intc/xive2.c
/qemu/hw/ipmi/ipmi_bmc_extern.c
/qemu/hw/mem/cxl_type3.c
/qemu/hw/mem/cxl_type3_stubs.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/mips/jazz.c
/qemu/hw/misc/imx7_ccm.c
/qemu/hw/misc/mac_via.c
/qemu/hw/misc/stm32f2xx_syscfg.c
/qemu/hw/misc/trace-events
/qemu/hw/misc/zynq_slcr.c
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/dp8393x.c
/qemu/hw/net/e1000_regs.h
/qemu/hw/net/e1000x_regs.h
/qemu/hw/net/fsl_etsec/rings.c
/qemu/hw/net/igb_regs.h
/qemu/hw/net/mcf_fec.c
/qemu/hw/net/rocker/rocker_fp.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/sungem.c
/qemu/hw/net/sunhme.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/net/vmxnet3.h
/qemu/hw/nvme/ctrl.c
/qemu/hw/nvram/eeprom_at24c.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/pci-bridge/cxl_downstream.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci-bridge/pci_expander_bridge.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/pci-host/designware.c
/qemu/hw/pci-host/dino.c
/qemu/hw/pci-host/gpex-acpi.c
/qemu/hw/pci-host/gt64120.c
/qemu/hw/pci-host/pnv_phb.c
/qemu/hw/pci-host/pnv_phb3.c
/qemu/hw/pci-host/pnv_phb3_msi.c
/qemu/hw/pci-host/pnv_phb4.c
/qemu/hw/pci/pci.c
/qemu/hw/pci/pci_bridge.c
/qemu/hw/pci/pcie_aer.c
/qemu/hw/pci/shpc.c
/qemu/hw/ppc/meson.build
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/prep_systemio.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_numa.c
/qemu/hw/ppc/spapr_nvdimm.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_pci_vfio.c
/qemu/hw/rtc/exynos4210_rtc.c
/qemu/hw/rx/rx62n.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/mfi.h
/qemu/hw/sh4/sh7750_regs.h
/qemu/hw/smbios/smbios.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/ssi/xlnx-versal-ospi.c
/qemu/hw/timer/etraxfs_timer.c
/qemu/hw/timer/renesas_tmr.c
/qemu/hw/tpm/tpm_tis.h
/qemu/hw/tpm/tpm_tis_common.c
/qemu/hw/tpm/tpm_tis_i2c.c
/qemu/hw/tpm/tpm_tis_isa.c
/qemu/hw/tpm/tpm_tis_sysbus.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/vhost-user-device-pci.c
/qemu/hw/virtio/vhost-user-device.c
/qemu/hw/virtio/vhost-vdpa.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/virtio/virtio.c
/qemu/include/block/aio.h
/qemu/include/block/block-common.h
/qemu/include/block/block-global-state.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-global-state.h
/qemu/include/block/throttle-groups.h
/qemu/include/crypto/clmul.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/user/thunk.h
/qemu/include/fpu/softfloat.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/cxl/cxl.h
/qemu/include/hw/cxl/cxl_device.h
/qemu/include/hw/i386/topology.h
/qemu/include/hw/mem/nvdimm.h
/qemu/include/hw/pci-host/spapr.h
/qemu/include/hw/pci/pci_bridge.h
/qemu/include/hw/ppc/openpic.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/virtio/vhost-user-device.h
/qemu/include/hw/virtio/virtio-net.h
/qemu/include/qemu/cpuid.h
/qemu/include/qemu/plugin-memory.h
/qemu/include/qemu/throttle.h
/qemu/include/qemu/timer.h
/qemu/include/qemu/typedefs.h
/qemu/include/sysemu/block-backend-global-state.h
/qemu/include/tcg/tcg-op-gvec-common.h
/qemu/linux-user/elfload.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/loongarch64/signal.c
/qemu/meson.build
/qemu/meson_options.txt
vhost-vdpa.c
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-riscv-vars.fd.bz2
/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/qemu/pc-bios/hppa-firmware.img
/qemu/plugins/api.c
/qemu/python/qemu/machine/machine.py
/qemu/qapi/block-core.json
/qemu/qapi/qom.json
/qemu/qemu-img.c
/qemu/qemu-options.hx
/qemu/roms/edk2
/qemu/roms/edk2-build.config
/qemu/roms/edk2-build.py
/qemu/roms/seabios-hppa
/qemu/scripts/block-coroutine-wrapper.py
/qemu/scripts/kvm/vmxcap
/qemu/scripts/meson-buildoptions.sh
/qemu/softmmu/async-teardown.c
/qemu/softmmu/dma-helpers.c
/qemu/softmmu/memory.c
/qemu/softmmu/physmem.c
/qemu/softmmu/vl.c
/qemu/subprojects/berkeley-softfloat-3.wrap
/qemu/subprojects/berkeley-testfloat-3.wrap
/qemu/subprojects/slirp.wrap
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/a64.decode
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/helper-a64.h
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/mte_helper.c
/qemu/target/arm/tcg/mve_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/tcg/translate.h
/qemu/target/arm/tcg/vec_helper.c
/qemu/target/arm/tcg/vec_internal.h
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.h
/qemu/target/hppa/insns.decode
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/xen-emu.c
/qemu/target/i386/machine.c
/qemu/target/i386/ops_sse.h
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/disas.c
/qemu/target/loongarch/gdbstub.c
/qemu/target/loongarch/helper.h
/qemu/target/loongarch/insn_trans/trans_vec.c.inc
/qemu/target/loongarch/insns.decode
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/machine.c
/qemu/target/loongarch/meson.build
/qemu/target/loongarch/translate.c
/qemu/target/loongarch/translate.h
/qemu/target/loongarch/vec.h
/qemu/target/loongarch/vec_helper.c
/qemu/target/m68k/m68k-semi.c
/qemu/target/ppc/cpu-models.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/power8-pmu-regs.c.inc
/qemu/target/ppc/translate/vmx-impl.c.inc
/qemu/target/s390x/tcg/vec_int_helper.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-insn-defs.c.inc
/qemu/tcg/loongarch64/tcg-target-con-set.h
/qemu/tcg/loongarch64/tcg-target-con-str.h
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.h
/qemu/tcg/loongarch64/tcg-target.opc.h
/qemu/tcg/mips/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/region.c
/qemu/tcg/riscv/tcg-target.c.inc
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/sparc64/tcg-target.c.inc
/qemu/tcg/tcg-op-gvec.c
/qemu/tcg/tcg.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/machine_mips_malta.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/avocado/replay_linux.py
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/data/acpi/virt/SSDT.memhp
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-loongarch-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/refresh
/qemu/tests/qemu-iotests/051.pc.out
/qemu/tests/qemu-iotests/122.out
/qemu/tests/qemu-iotests/131
/qemu/tests/qemu-iotests/131.out
/qemu/tests/qemu-iotests/146.out
/qemu/tests/qemu-iotests/154.out
/qemu/tests/qemu-iotests/179.out
/qemu/tests/qemu-iotests/209.out
/qemu/tests/qemu-iotests/221.out
/qemu/tests/qemu-iotests/223.out
/qemu/tests/qemu-iotests/241.out
/qemu/tests/qemu-iotests/244.out
/qemu/tests/qemu-iotests/252.out
/qemu/tests/qemu-iotests/253.out
/qemu/tests/qemu-iotests/274.out
/qemu/tests/qemu-iotests/tests/file-io-error
/qemu/tests/qemu-iotests/tests/file-io-error.out
/qemu/tests/qemu-iotests/tests/nbd-qemu-allocation.out
/qemu/tests/qemu-iotests/tests/parallels-checks
/qemu/tests/qemu-iotests/tests/parallels-checks.out
/qemu/tests/qemu-iotests/tests/qemu-img-bitmaps.out
/qemu/tests/qtest/es1370-test.c
/qemu/tests/qtest/fuzz/generic_fuzz_configs.h
/qemu/tests/qtest/intel-hda-test.c
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/m48t59-test.c
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/netdev-socket.c
/qemu/tests/tcg/aarch64/sysregs.c
/qemu/tests/tcg/i386/system/boot.S
/qemu/tests/tcg/i386/x86.csv
/qemu/tests/tcg/m68k/Makefile.target
/qemu/tests/tcg/m68k/denormal.c
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-bdrv-graph-mod.c
/qemu/tests/unit/test-block-iothread.c
/qemu/tests/unit/test-throttle.c
/qemu/util/cpuinfo-aarch64.c
/qemu/util/cpuinfo-i386.c
/qemu/util/oslib-posix.c
/qemu/util/thread-pool.c
/qemu/util/throttle.c
1728593a04-Sep-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

net/eth: Clean up local variable shadowing

Fix:

net/eth.c:435:20: error: declaration shadows a local variable [-Werror,-Wshadow]
size_t input_size = iov_size(pkt, pkt_frags);

net/eth: Clean up local variable shadowing

Fix:

net/eth.c:435:20: error: declaration shadows a local variable [-Werror,-Wshadow]
size_t input_size = iov_size(pkt, pkt_frags);
^
net/eth.c:413:16: note: previous declaration is here
size_t input_size = iov_size(pkt, pkt_frags);
^

Suggested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904161235.84651-16-philmd@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/qemu/.gitlab-ci.d/base.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/cirrus/build.yml
/qemu/MAINTAINERS
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tb-maint.c
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-runtime-gvec.c
/qemu/accel/tcg/tcg-runtime.h
/qemu/accel/tcg/user-exec-stub.c
/qemu/audio/audio.c
/qemu/audio/jackaudio.c
/qemu/backends/cryptodev.c
/qemu/backends/hostmem-file.c
/qemu/block.c
/qemu/block/blklogwrites.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/copy-before-write.c
/qemu/block/crypto.c
/qemu/block/file-posix.c
/qemu/block/graph-lock.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/monitor/bitmap-qmp-cmds.c
/qemu/block/nbd.c
/qemu/block/parallels.c
/qemu/block/parallels.h
/qemu/block/preallocate.c
/qemu/block/qcow.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/quorum.c
/qemu/block/rbd.c
/qemu/block/replication.c
/qemu/block/snapshot.c
/qemu/block/stream.c
/qemu/block/throttle-groups.c
/qemu/block/throttle.c
/qemu/block/trace-events
/qemu/block/vdi.c
/qemu/block/vmdk.c
/qemu/block/vvfat.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/bsd-user/errno_defs.h
/qemu/bsd-user/freebsd/target_os_siginfo.h
/qemu/bsd-user/freebsd/target_os_stack.h
/qemu/bsd-user/freebsd/target_os_user.h
/qemu/bsd-user/qemu.h
/qemu/bsd-user/signal-common.h
/qemu/bsd-user/signal.c
/qemu/contrib/elf2dmp/addrspace.c
/qemu/contrib/elf2dmp/addrspace.h
/qemu/contrib/elf2dmp/main.c
/qemu/contrib/elf2dmp/pdb.c
/qemu/contrib/elf2dmp/pdb.h
/qemu/contrib/elf2dmp/qemu_elf.c
/qemu/contrib/elf2dmp/qemu_elf.h
/qemu/crypto/clmul.c
/qemu/crypto/meson.build
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/config/q35-emulated.cfg
/qemu/docs/config/q35-virtio-graphical.cfg
/qemu/docs/devel/loads-stores.rst
/qemu/docs/devel/multi-process.rst
/qemu/docs/devel/reset.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/devices/cxl.rst
/qemu/docs/system/index.rst
/qemu/docs/system/vm-templating.rst
/qemu/fpu/softfloat-parts.c.inc
/qemu/fpu/softfloat.c
/qemu/fsdev/qemu-fsdev-throttle.c
/qemu/fsdev/qemu-fsdev-throttle.h
/qemu/host/include/aarch64/host/cpuinfo.h
/qemu/host/include/aarch64/host/crypto/clmul.h
/qemu/host/include/generic/host/crypto/clmul.h
/qemu/host/include/i386/host/cpuinfo.h
/qemu/host/include/i386/host/crypto/clmul.h
/qemu/host/include/ppc/host/cpuinfo.h
/qemu/host/include/x86_64/host/crypto/clmul.h
/qemu/hw/9pfs/cofile.c
/qemu/hw/acpi/aml-build.c
/qemu/hw/acpi/hmat.c
/qemu/hw/acpi/nvdimm.c
/qemu/hw/arm/allwinner-r40.c
/qemu/hw/arm/armsse.c
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/virt.c
/qemu/hw/audio/hda-codec.c
/qemu/hw/audio/intel-hda.c
/qemu/hw/audio/intel-hda.h
/qemu/hw/audio/lm4549.c
/qemu/hw/audio/lm4549.h
/qemu/hw/audio/pl041.c
/qemu/hw/block/hd-geometry.c
/qemu/hw/block/pflash_cfi01.c
/qemu/hw/block/xen-block.c
/qemu/hw/char/cadence_uart.c
/qemu/hw/char/imx_serial.c
/qemu/hw/char/serial.c
/qemu/hw/core/generic-loader.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/cpu/a15mpcore.c
/qemu/hw/cxl/cxl-events.c
/qemu/hw/cxl/cxl-host.c
/qemu/hw/cxl/cxl-mailbox-utils.c
/qemu/hw/display/xlnx_dp.c
/qemu/hw/dma/omap_dma.c
/qemu/hw/hppa/machine.c
/qemu/hw/i2c/pm_smbus.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/i386/kvm/xenstore_impl.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/input/hid.c
/qemu/hw/input/tsc2005.c
/qemu/hw/input/tsc210x.c
/qemu/hw/intc/loongarch_extioi.c
/qemu/hw/intc/loongson_liointc.c
/qemu/hw/intc/omap_intc.c
/qemu/hw/intc/pnv_xive.c
/qemu/hw/intc/spapr_xive.c
/qemu/hw/intc/spapr_xive_kvm.c
/qemu/hw/intc/xive.c
/qemu/hw/intc/xive2.c
/qemu/hw/ipmi/ipmi_bmc_extern.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/mem/cxl_type3.c
/qemu/hw/mem/cxl_type3_stubs.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/microblaze/petalogix_ml605_mmu.c
/qemu/hw/mips/jazz.c
/qemu/hw/misc/imx7_ccm.c
/qemu/hw/misc/mac_via.c
/qemu/hw/misc/stm32f2xx_syscfg.c
/qemu/hw/misc/trace-events
/qemu/hw/misc/zynq_slcr.c
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/dp8393x.c
/qemu/hw/net/e1000_regs.h
/qemu/hw/net/e1000x_regs.h
/qemu/hw/net/fsl_etsec/rings.c
/qemu/hw/net/igb_regs.h
/qemu/hw/net/mcf_fec.c
/qemu/hw/net/rocker/rocker_fp.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/sungem.c
/qemu/hw/net/sunhme.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/net/vmxnet3.h
/qemu/hw/nios2/10m50_devboard.c
/qemu/hw/nvme/ctrl.c
/qemu/hw/nvram/eeprom_at24c.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/pci-bridge/cxl_downstream.c
/qemu/hw/pci-bridge/cxl_upstream.c
/qemu/hw/pci-bridge/pci_expander_bridge.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/pci-host/designware.c
/qemu/hw/pci-host/dino.c
/qemu/hw/pci-host/gpex-acpi.c
/qemu/hw/pci-host/gt64120.c
/qemu/hw/pci-host/pnv_phb.c
/qemu/hw/pci-host/pnv_phb3.c
/qemu/hw/pci-host/pnv_phb3_msi.c
/qemu/hw/pci-host/pnv_phb4.c
/qemu/hw/pci/pcie_aer.c
/qemu/hw/pci/shpc.c
/qemu/hw/ppc/meson.build
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/prep_systemio.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_numa.c
/qemu/hw/ppc/spapr_nvdimm.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_pci_vfio.c
/qemu/hw/rtc/exynos4210_rtc.c
/qemu/hw/rx/rx62n.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/mfi.h
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/sh4/sh7750_regs.h
/qemu/hw/smbios/smbios.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/ssi/xlnx-versal-ospi.c
/qemu/hw/timer/etraxfs_timer.c
/qemu/hw/timer/renesas_tmr.c
/qemu/hw/tpm/tpm_tis.h
/qemu/hw/tpm/tpm_tis_common.c
/qemu/hw/tpm/tpm_tis_i2c.c
/qemu/hw/tpm/tpm_tis_isa.c
/qemu/hw/tpm/tpm_tis_sysbus.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/virtio/virtio.c
/qemu/include/block/aio.h
/qemu/include/block/block-common.h
/qemu/include/block/block-global-state.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-global-state.h
/qemu/include/block/nbd.h
/qemu/include/block/throttle-groups.h
/qemu/include/crypto/clmul.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/user/thunk.h
/qemu/include/fpu/softfloat.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/cxl/cxl.h
/qemu/include/hw/cxl/cxl_device.h
/qemu/include/hw/i386/topology.h
/qemu/include/hw/mem/nvdimm.h
/qemu/include/hw/pci-host/spapr.h
/qemu/include/hw/ppc/openpic.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/qapi/qmp/qobject.h
/qemu/include/qemu/atomic.h
/qemu/include/qemu/compiler.h
/qemu/include/qemu/cpuid.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/plugin-memory.h
/qemu/include/qemu/throttle.h
/qemu/include/qemu/timer.h
/qemu/include/qemu/typedefs.h
/qemu/include/sysemu/block-backend-global-state.h
/qemu/include/tcg/tcg-op-gvec-common.h
/qemu/linux-user/elfload.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/loongarch64/signal.c
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/block.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/migration/vmstate.c
/qemu/nbd/client-connection.c
/qemu/nbd/client.c
/qemu/nbd/common.c
/qemu/nbd/nbd-internal.h
/qemu/nbd/server.c
/qemu/nbd/trace-events
eth.c
/qemu/pc-bios/bios.bin
/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/qemu/pc-bios/edk2-arm-code.fd.bz2
/qemu/pc-bios/edk2-i386-code.fd.bz2
/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/qemu/pc-bios/edk2-riscv-code.fd.bz2
/qemu/pc-bios/edk2-riscv-vars.fd.bz2
/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/qemu/pc-bios/hppa-firmware.img
/qemu/plugins/api.c
/qemu/python/qemu/machine/machine.py
/qemu/qapi/block-core.json
/qemu/qapi/qom.json
/qemu/qemu-img.c
/qemu/qemu-nbd.c
/qemu/qemu-options.hx
/qemu/roms/config.seabios-128k
/qemu/roms/edk2
/qemu/roms/edk2-build.config
/qemu/roms/edk2-build.py
/qemu/roms/seabios-hppa
/qemu/scripts/block-coroutine-wrapper.py
/qemu/scripts/kvm/vmxcap
/qemu/scripts/meson-buildoptions.sh
/qemu/softmmu/async-teardown.c
/qemu/softmmu/dma-helpers.c
/qemu/softmmu/memory.c
/qemu/softmmu/physmem.c
/qemu/softmmu/vl.c
/qemu/subprojects/berkeley-softfloat-3.wrap
/qemu/subprojects/berkeley-testfloat-3.wrap
/qemu/subprojects/slirp.wrap
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/a64.decode
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/helper-a64.h
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/mte_helper.c
/qemu/target/arm/tcg/mve_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/arm/tcg/translate-m-nocp.c
/qemu/target/arm/tcg/translate.c
/qemu/target/arm/tcg/translate.h
/qemu/target/arm/tcg/vec_helper.c
/qemu/target/arm/tcg/vec_internal.h
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.h
/qemu/target/hppa/insns.decode
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/xen-emu.c
/qemu/target/i386/machine.c
/qemu/target/i386/ops_sse.h
/qemu/target/i386/tcg/seg_helper.c
/qemu/target/i386/tcg/sysemu/svm_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/disas.c
/qemu/target/loongarch/gdbstub.c
/qemu/target/loongarch/helper.h
/qemu/target/loongarch/insn_trans/trans_vec.c.inc
/qemu/target/loongarch/insns.decode
/qemu/target/loongarch/internals.h
/qemu/target/loongarch/machine.c
/qemu/target/loongarch/meson.build
/qemu/target/loongarch/translate.c
/qemu/target/loongarch/translate.h
/qemu/target/loongarch/vec.h
/qemu/target/loongarch/vec_helper.c
/qemu/target/m68k/m68k-semi.c
/qemu/target/m68k/translate.c
/qemu/target/mips/tcg/msa_helper.c
/qemu/target/mips/tcg/nanomips_translate.c.inc
/qemu/target/mips/tcg/translate.c
/qemu/target/ppc/cpu-models.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/power8-pmu-regs.c.inc
/qemu/target/ppc/translate/vmx-impl.c.inc
/qemu/target/s390x/tcg/vec_int_helper.c
/qemu/target/tricore/translate.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/arm/tcg-target.c.inc
/qemu/tcg/i386/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-insn-defs.c.inc
/qemu/tcg/loongarch64/tcg-target-con-set.h
/qemu/tcg/loongarch64/tcg-target-con-str.h
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.h
/qemu/tcg/loongarch64/tcg-target.opc.h
/qemu/tcg/mips/tcg-target.c.inc
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/region.c
/qemu/tcg/riscv/tcg-target.c.inc
/qemu/tcg/s390x/tcg-target.c.inc
/qemu/tcg/sparc64/tcg-target.c.inc
/qemu/tcg/tcg-op-gvec.c
/qemu/tcg/tcg.c
/qemu/tcg/tci/tcg-target.c.inc
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/machine_mips_malta.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/avocado/replay_linux.py
/qemu/tests/avocado/tuxrun_baselines.py
/qemu/tests/data/acpi/virt/SSDT.memhp
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-loongarch-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/refresh
/qemu/tests/qemu-iotests/051.pc.out
/qemu/tests/qemu-iotests/122.out
/qemu/tests/qemu-iotests/131
/qemu/tests/qemu-iotests/131.out
/qemu/tests/qemu-iotests/146.out
/qemu/tests/qemu-iotests/154.out
/qemu/tests/qemu-iotests/179.out
/qemu/tests/qemu-iotests/209.out
/qemu/tests/qemu-iotests/221.out
/qemu/tests/qemu-iotests/223.out
/qemu/tests/qemu-iotests/241.out
/qemu/tests/qemu-iotests/244.out
/qemu/tests/qemu-iotests/252.out
/qemu/tests/qemu-iotests/253.out
/qemu/tests/qemu-iotests/274.out
/qemu/tests/qemu-iotests/common.rc
/qemu/tests/qemu-iotests/tests/file-io-error
/qemu/tests/qemu-iotests/tests/file-io-error.out
/qemu/tests/qemu-iotests/tests/nbd-multiconn
/qemu/tests/qemu-iotests/tests/nbd-qemu-allocation.out
/qemu/tests/qemu-iotests/tests/parallels-checks
/qemu/tests/qemu-iotests/tests/parallels-checks.out
/qemu/tests/qemu-iotests/tests/qemu-img-bitmaps.out
/qemu/tests/qtest/es1370-test.c
/qemu/tests/qtest/fuzz/generic_fuzz_configs.h
/qemu/tests/qtest/intel-hda-test.c
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/m48t59-test.c
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/netdev-socket.c
/qemu/tests/qtest/test-x86-cpuid-compat.c
/qemu/tests/tcg/aarch64/sysregs.c
/qemu/tests/tcg/i386/system/boot.S
/qemu/tests/tcg/i386/x86.csv
/qemu/tests/tcg/m68k/Makefile.target
/qemu/tests/tcg/m68k/denormal.c
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-bdrv-graph-mod.c
/qemu/tests/unit/test-block-iothread.c
/qemu/tests/unit/test-throttle.c
/qemu/ui/gtk.c
/qemu/ui/spice-display.c
/qemu/ui/vnc-enc-zrle.c.inc
/qemu/ui/vnc-palette.c
/qemu/ui/vnc.c
/qemu/util/cpuinfo-aarch64.c
/qemu/util/cpuinfo-i386.c
/qemu/util/oslib-posix.c
/qemu/util/thread-pool.c
/qemu/util/throttle.c
6d7a53e924-Aug-2023 Peter Maydell <peter.maydell@linaro.org>

net/tap: Avoid variable-length array

Use a heap allocation instead of a variable length array in
tap_receive_iov().

The codebase has very few VLAs, and if we can get rid of them all we
can make the

net/tap: Avoid variable-length array

Use a heap allocation instead of a variable length array in
tap_receive_iov().

The codebase has very few VLAs, and if we can get rid of them all we
can make the compiler error on new additions. This is a defensive
measure against security bugs where an on-stack dynamic allocation
isn't correctly size-checked (e.g. CVE-2021-3527).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

c4cf681924-Aug-2023 Peter Maydell <peter.maydell@linaro.org>

net/dump: Avoid variable length array

Use a g_autofree heap allocation instead of a variable length
array in dump_receive_iov().

The codebase has very few VLAs, and if we can get rid of them all we

net/dump: Avoid variable length array

Use a g_autofree heap allocation instead of a variable length
array in dump_receive_iov().

The codebase has very few VLAs, and if we can get rid of them all we
can make the compiler error on new additions. This is a defensive
measure against security bugs where an on-stack dynamic allocation
isn't correctly size-checked (e.g. CVE-2021-3527).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

cb039ef313-Sep-2023 Ilya Maximets <i.maximets@ovn.org>

net: add initial support for AF_XDP network backend

AF_XDP is a network socket family that allows communication directly
with the network device driver in the kernel, bypassing most or all
of the ke

net: add initial support for AF_XDP network backend

AF_XDP is a network socket family that allows communication directly
with the network device driver in the kernel, bypassing most or all
of the kernel networking stack. In the essence, the technology is
pretty similar to netmap. But, unlike netmap, AF_XDP is Linux-native
and works with any network interfaces without driver modifications.
Unlike vhost-based backends (kernel, user, vdpa), AF_XDP doesn't
require access to character devices or unix sockets. Only access to
the network interface itself is necessary.

This patch implements a network backend that communicates with the
kernel by creating an AF_XDP socket. A chunk of userspace memory
is shared between QEMU and the host kernel. 4 ring buffers (Tx, Rx,
Fill and Completion) are placed in that memory along with a pool of
memory buffers for the packet data. Data transmission is done by
allocating one of the buffers, copying packet data into it and
placing the pointer into Tx ring. After transmission, device will
return the buffer via Completion ring. On Rx, device will take
a buffer form a pre-populated Fill ring, write the packet data into
it and place the buffer into Rx ring.

AF_XDP network backend takes on the communication with the host
kernel and the network interface and forwards packets to/from the
peer device in QEMU.

Usage example:

-device virtio-net-pci,netdev=guest1,mac=00:16:35:AF:AA:5C
-netdev af-xdp,ifname=ens6f1np1,id=guest1,mode=native,queues=1

XDP program bridges the socket with a network interface. It can be
attached to the interface in 2 different modes:

1. skb - this mode should work for any interface and doesn't require
driver support. With a caveat of lower performance.

2. native - this does require support from the driver and allows to
bypass skb allocation in the kernel and potentially use
zero-copy while getting packets in/out userspace.

By default, QEMU will try to use native mode and fall back to skb.
Mode can be forced via 'mode' option. To force 'copy' even in native
mode, use 'force-copy=on' option. This might be useful if there is
some issue with the driver.

Option 'queues=N' allows to specify how many device queues should
be open. Note that all the queues that are not open are still
functional and can receive traffic, but it will not be delivered to
QEMU. So, the number of device queues should generally match the
QEMU configuration, unless the device is shared with something
else and the traffic re-direction to appropriate queues is correctly
configured on a device level (e.g. with ethtool -N).
'start-queue=M' option can be used to specify from which queue id
QEMU should start configuring 'N' queues. It might also be necessary
to use this option with certain NICs, e.g. MLX5 NICs. See the docs
for examples.

In a general case QEMU will need CAP_NET_ADMIN and CAP_SYS_ADMIN
or CAP_BPF capabilities in order to load default XSK/XDP programs to
the network interface and configure BPF maps. It is possible, however,
to run with no capabilities. For that to work, an external process
with enough capabilities will need to pre-load default XSK program,
create AF_XDP sockets and pass their file descriptors to QEMU process
on startup via 'sock-fds' option. Network backend will need to be
configured with 'inhibit=on' to avoid loading of the program.
QEMU will need 32 MB of locked memory (RLIMIT_MEMLOCK) per queue
or CAP_IPC_LOCK.

There are few performance challenges with the current network backends.

First is that they do not support IO threads. This means that data
path is handled by the main thread in QEMU and may slow down other
work or may be slowed down by some other work. This also means that
taking advantage of multi-queue is generally not possible today.

Another thing is that data path is going through the device emulation
code, which is not really optimized for performance. The fastest
"frontend" device is virtio-net. But it's not optimized for heavy
traffic either, because it expects such use-cases to be handled via
some implementation of vhost (user, kernel, vdpa). In practice, we
have virtio notifications and rcu lock/unlock on a per-packet basis
and not very efficient accesses to the guest memory. Communication
channels between backend and frontend devices do not allow passing
more than one packet at a time as well.

Some of these challenges can be avoided in the future by adding better
batching into device emulation or by implementing vhost-af-xdp variant.

There are also a few kernel limitations. AF_XDP sockets do not
support any kinds of checksum or segmentation offloading. Buffers
are limited to a page size (4K), i.e. MTU is limited. Multi-buffer
support implementation for AF_XDP is in progress, but not ready yet.
Also, transmission in all non-zero-copy modes is synchronous, i.e.
done in a syscall. That doesn't allow high packet rates on virtual
interfaces.

However, keeping in mind all of these challenges, current implementation
of the AF_XDP backend shows a decent performance while running on top
of a physical NIC with zero-copy support.

Test setup:

2 VMs running on 2 physical hosts connected via ConnectX6-Dx card.
Network backend is configured to open the NIC directly in native mode.
The driver supports zero-copy. NIC is configured to use 1 queue.

Inside a VM - iperf3 for basic TCP performance testing and dpdk-testpmd
for PPS testing.

iperf3 result:
TCP stream : 19.1 Gbps

dpdk-testpmd (single queue, single CPU core, 64 B packets) results:
Tx only : 3.4 Mpps
Rx only : 2.0 Mpps
L2 FWD Loopback : 1.5 Mpps

In skb mode the same setup shows much lower performance, similar to
the setup where pair of physical NICs is replaced with veth pair:

iperf3 result:
TCP stream : 9 Gbps

dpdk-testpmd (single queue, single CPU core, 64 B packets) results:
Tx only : 1.2 Mpps
Rx only : 1.0 Mpps
L2 FWD Loopback : 0.7 Mpps

Results in skb mode or over the veth are close to results of a tap
backend with vhost=on and disabled segmentation offloading bridged
with a NIC.

Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> (docker/lcitool)
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

9da1684931-Jul-2023 Andrew Melnychenko <andrew@daynix.com>

virtio-net: Add USO flags to vhost support.

New features are subject to check with vhost-user and vdpa.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Andrew Melnychen

virtio-net: Add USO flags to vhost support.

New features are subject to check with vhost-user and vdpa.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

f03e0cf631-Jul-2023 Yuri Benditovich <yuri.benditovich@daynix.com>

tap: Add check for USO features

Tap indicates support for USO features according to
capabilities of current kernel module.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-b

tap: Add check for USO features

Tap indicates support for USO features according to
capabilities of current kernel module.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Andrew Melnychecnko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

2ab0ec3131-Jul-2023 Andrew Melnychenko <andrew@daynix.com>

tap: Add USO support to tap device.

Passing additional parameters (USOv4 and USOv6 offloads) when
setting TAP offloads

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: A

tap: Add USO support to tap device.

Passing additional parameters (USOv4 and USOv6 offloads) when
setting TAP offloads

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...


/qemu/backends/tpm/tpm_util.c
/qemu/contrib/vhost-user-gpu/vhost-user-gpu.c
/qemu/contrib/vhost-user-gpu/virgl.c
/qemu/contrib/vhost-user-gpu/vugpu.h
/qemu/docs/interop/vhost-user-gpu.rst
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/trace-events
/qemu/hw/i386/vmmouse.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/igb_core.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/nvme/Kconfig
/qemu/hw/nvme/ctrl.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/include/net/net.h
/qemu/include/standard-headers/linux/fuse.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/include/ui/console.h
/qemu/include/ui/surface.h
/qemu/linux-headers/asm-arm64/bitsperlong.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-mips/unistd_n32.h
/qemu/linux-headers/asm-mips/unistd_n64.h
/qemu/linux-headers/asm-mips/unistd_o32.h
/qemu/linux-headers/asm-powerpc/unistd_32.h
/qemu/linux-headers/asm-powerpc/unistd_64.h
/qemu/linux-headers/asm-riscv/bitsperlong.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/mman.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/stddef.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
net.c
netmap.c
tap-bsd.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-stub.c
tap-win32.c
tap.c
tap_int.h
/qemu/target/i386/cpu.c
/qemu/target/s390x/cpu_features.h
/qemu/target/s390x/cpu_features_def.h.inc
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/kvm/kvm.c
/qemu/tests/qtest/pflash-cfi02-test.c
/qemu/ui/cocoa.m
/qemu/ui/console-gl.c
/qemu/ui/console-priv.h
/qemu/ui/console-vc.c
/qemu/ui/console.c
/qemu/ui/curses.c
/qemu/ui/gtk.c
/qemu/ui/meson.build
/qemu/ui/sdl2-input.c
/qemu/ui/sdl2.c
/qemu/ui/spice-display.c
/qemu/ui/vnc.c

12345678910>>...43