History log of /qemu/nbd/ (Results 201 – 225 of 377)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e7b1948d12-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd: BLOCK_STATUS for standard get_block_status function: server part

Minimal realization: only one extent in server answer is supported.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@vir

nbd: BLOCK_STATUS for standard get_block_status function: server part

Minimal realization: only one extent in server answer is supported.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180312152126.286890-4-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: tweak whitespace, move constant from .h to .c, improve
logic of check_meta_export_name, simplify nbd_negotiate_options
by doing more in nbd_negotiate_meta_queries]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

1229645912-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: add nbd_read_opt_name helper

Add helper to read name in format:

uint32 len (<= NBD_MAX_NAME_SIZE)
len bytes string (not 0-terminated)

The helper will be reused in following p

nbd/server: add nbd_read_opt_name helper

Add helper to read name in format:

uint32 len (<= NBD_MAX_NAME_SIZE)
len bytes string (not 0-terminated)

The helper will be reused in following patch.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180312152126.286890-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: grammar fixes, actually check error]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

2e425fd512-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: add nbd_opt_invalid helper

NBD_REP_ERR_INVALID is often parameter to nbd_opt_drop and it would
be used more in following patches. So, let's add a helper.

Signed-off-by: Vladimir Sements

nbd/server: add nbd_opt_invalid helper

NBD_REP_ERR_INVALID is often parameter to nbd_opt_drop and it would
be used more in following patches. So, let's add a helper.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180312152126.286890-2-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

6552978207-Mar-2018 Eric Blake <eblake@redhat.com>

nbd/server: Honor FUA request on NBD_CMD_TRIM

The NBD spec states that since trim requests can affect disk contents,
then they should allow for FUA semantics just like writes for ensuring
the disk h

nbd/server: Honor FUA request on NBD_CMD_TRIM

The NBD spec states that since trim requests can affect disk contents,
then they should allow for FUA semantics just like writes for ensuring
the disk has settled before returning. As bdrv_[co_]pdiscard() does
not support a flags argument, we can't pass FUA down the block layer
stack, and must therefore emulate it with a flush at the NBD layer.

Note that in all reality, generic well-behaved clients will never
send TRIM+FUA (in fact, qemu as a client never does, and we have no
intention to plumb flags into bdrv_pdiscard). This is because the
NBD protocol states that it is unspecified to READ a trimmed area
(you might read stale data, all zeroes, or even random unrelated
data) without first rewriting it, and even the experimental
BLOCK_STATUS extension states that TRIM need not affect reported
status. Thus, in the general case, a client cannot tell the
difference between an arbitrary server that ignores TRIM, a server
that had a power outage without flushing to disk, and a server that
actually affected the disk before returning; so waiting for the
trim actions to flush to disk makes little sense. However, for a
specific client and server pair, where the client knows the server
treats TRIM'd areas as guaranteed reads-zero, waiting for a flush
makes sense, hence why the protocol documents that FUA is valid on
trim. So, even though the NBD protocol doesn't have a way for the
server to advertise what effects (if any) TRIM will actually have,
and thus any client that relies on specific effects is probably
in error, we can at least support a client that requests TRIM+FUA.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180307225732.155835-1-eblake@redhat.com>

show more ...

6f302e6012-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: refactor nbd_trip: split out nbd_handle_request

Split out request handling logic.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180308184636.1785

nbd/server: refactor nbd_trip: split out nbd_handle_request

Split out request handling logic.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180308184636.178534-6-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: touch up blank line placement]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

6a41759908-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: refactor nbd_trip: cmd_read and generic reply

nbd_trip has difficult logic when sending replies: it tries to use one
code path for all replies. It is ok for simple replies, but is not
co

nbd/server: refactor nbd_trip: cmd_read and generic reply

nbd_trip has difficult logic when sending replies: it tries to use one
code path for all replies. It is ok for simple replies, but is not
comfortable for structured replies. Also, two types of error (and
corresponding messages in local_err) - fatal (leading to disconnect)
and not-fatal (just to be sent to the client) are difficult to follow.

To make things a bit clearer, the following is done:
- split CMD_READ logic to separate function. It is the most difficult
command for now, and it is definitely cramped inside nbd_trip. Also,
it is difficult to follow CMD_READ logic, shared between
"case NBD_CMD_READ" and "if"s under "reply:" label.
- create separate helper function nbd_send_generic_reply() and use it
both in new nbd_do_cmd_read and for other commands in nbd_trip instead
of common code-path under "reply:" label in nbd_trip. The helper
supports an error message, so logic with local_err in nbd_trip is
simplified.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180308184636.178534-5-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: grammar tweaks and blank line placement]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

a0d7ce2008-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: fix: check client->closing before sending reply

Since the unchanged code has just set client->recv_coroutine to
NULL before calling nbd_client_receive_next_request(), we are
spawning a n

nbd/server: fix: check client->closing before sending reply

Since the unchanged code has just set client->recv_coroutine to
NULL before calling nbd_client_receive_next_request(), we are
spawning a new coroutine unconditionally, but the first thing
that coroutine will do is check for client->closing, making it
a no-op if we have already detected that the client is going
away. Furthermore, for any error other than EIO (where we
disconnect, which itself sets client->closing), if the client
has already gone away, we'll probably encounter EIO later
in the function and attempt disconnect at that point. Logically,
as soon as we know the connection is closing, there is no need
to try a likely-to-fail a response or spawn a no-op coroutine.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180308184636.178534-4-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: squash in further reordering: hoist check before spawning
next coroutine, and document rationale in commit message]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

37e02aeb08-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: fix sparse read

In case of io error in nbd_co_send_sparse_read we should not
"goto reply:", as it was a fatal error and the common behavior
is to disconnect in this case. We should not t

nbd/server: fix sparse read

In case of io error in nbd_co_send_sparse_read we should not
"goto reply:", as it was a fatal error and the common behavior
is to disconnect in this case. We should not try to send the
client an additional error reply, since we already hit a
channel-io error on our previous attempt to send one.

Fix this by handling block-status error in nbd_co_send_sparse_read,
so nbd_co_send_sparse_read fails only on io error. Then just skip
common "reply:" code path in nbd_trip.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180308184636.178534-3-vsementsov@virtuozzo.com>
[eblake: grammar tweaks]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

60ace2ba08-Mar-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: move nbd_co_send_structured_error up

To be reused in nbd_co_send_sparse_read() in the following patch.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id:

nbd/server: move nbd_co_send_structured_error up

To be reused in nbd_co_send_sparse_read() in the following patch.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180308184636.178534-2-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...


/qemu/.gitmodules
/qemu/.shippable.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/Makefile.objs
/qemu/README
/qemu/arch_init.c
/qemu/audio/Makefile.objs
/qemu/audio/alsaaudio.c
/qemu/audio/audio.c
/qemu/audio/audio_int.h
/qemu/audio/coreaudio.c
/qemu/audio/dsoundaudio.c
/qemu/audio/noaudio.c
/qemu/audio/ossaudio.c
/qemu/audio/paaudio.c
/qemu/audio/sdlaudio.c
/qemu/audio/spiceaudio.c
/qemu/audio/wavaudio.c
/qemu/block.c
/qemu/block/Makefile.objs
/qemu/block/blkdebug.c
/qemu/block/block-backend.c
/qemu/block/commit.c
/qemu/block/create.c
/qemu/block/crypto.c
/qemu/block/file-posix.c
/qemu/block/file-win32.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/mirror.c
/qemu/block/nfs.c
/qemu/block/null.c
/qemu/block/nvme.c
/qemu/block/parallels.c
/qemu/block/qcow.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2-snapshot.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/qed-check.c
/qemu/block/qed-table.c
/qemu/block/qed.c
/qemu/block/raw-format.c
/qemu/block/rbd.c
/qemu/block/sheepdog.c
/qemu/block/ssh.c
/qemu/block/throttle.c
/qemu/block/vdi.c
/qemu/block/vhdx.c
/qemu/block/vmdk.c
/qemu/block/vpc.c
/qemu/block/vvfat.c
/qemu/chardev/char-socket.c
/qemu/configure
/qemu/cpus.c
/qemu/default-configs/arm-softmmu.mak
/qemu/default-configs/ppc-softmmu.mak
/qemu/default-configs/ppcemb-softmmu.mak
/qemu/default-configs/riscv32-linux-user.mak
/qemu/default-configs/riscv32-softmmu.mak
/qemu/default-configs/riscv64-linux-user.mak
/qemu/default-configs/riscv64-softmmu.mak
/qemu/disas.c
/qemu/disas/Makefile.objs
/qemu/disas/riscv.c
/qemu/docs/interop/qcow2.txt
/qemu/docs/qcow2-cache.txt
/qemu/exec.c
/qemu/fpu/softfloat-specialize.h
/qemu/fpu/softfloat.c
/qemu/fsdev/virtfs-proxy-helper.c
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hw/arm/Makefile.objs
/qemu/hw/arm/boot.c
/qemu/hw/arm/fsl-imx7.c
/qemu/hw/arm/mcimx7d-sabre.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/char/sclpconsole-lm.c
/qemu/hw/char/sclpconsole.c
/qemu/hw/core/loader.c
/qemu/hw/display/g364fb.c
/qemu/hw/display/vga.c
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/ide/core.c
/qemu/hw/input/adb-kbd.c
/qemu/hw/input/adb-mouse.c
/qemu/hw/input/trace-events
/qemu/hw/intc/heathrow_pic.c
/qemu/hw/intc/openpic.c
/qemu/hw/intc/openpic_kvm.c
/qemu/hw/intc/trace-events
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/trace-events
/qemu/hw/pci-host/Makefile.objs
/qemu/hw/pci-host/designware.c
/qemu/hw/ppc/Makefile.objs
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/mac.h
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/ppc440_pcix.c
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/trace-events
/qemu/hw/riscv/Makefile.objs
/qemu/hw/riscv/riscv_hart.c
/qemu/hw/riscv/riscv_htif.c
/qemu/hw/riscv/sifive_clint.c
/qemu/hw/riscv/sifive_e.c
/qemu/hw/riscv/sifive_plic.c
/qemu/hw/riscv/sifive_prci.c
/qemu/hw/riscv/sifive_test.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/sifive_uart.c
/qemu/hw/riscv/spike.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/event-facility.c
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/s390-ccw.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/sclpcpu.c
/qemu/hw/s390x/sclpquiesce.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/s390x/virtio-ccw.h
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/spapr_vscsi.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/sd/Makefile.objs
/qemu/hw/sd/sd.c
/qemu/hw/sd/sdhci.c
/qemu/hw/sd/sdmmc-internal.c
/qemu/hw/sd/sdmmc-internal.h
/qemu/hw/sd/trace-events
/qemu/hw/sparc/sun4m.c
/qemu/hw/tpm/tpm_crb.c
/qemu/hw/tpm/tpm_emulator.c
/qemu/hw/tpm/tpm_passthrough.c
/qemu/hw/tpm/tpm_tis.c
/qemu/hw/tpm/tpm_util.c
/qemu/hw/tpm/trace-events
/qemu/hw/usb/redirect.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/platform.c
/qemu/include/block/aio-wait.h
/qemu/include/block/aio.h
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/disas/bfd.h
/qemu/include/elf.h
/qemu/include/exec/memory-internal.h
/qemu/include/exec/memory.h
/qemu/include/hw/arm/fsl-imx7.h
/qemu/include/hw/elf_ops.h
/qemu/include/hw/intc/heathrow_pic.h
/qemu/include/hw/loader.h
/qemu/include/hw/misc/macio/macio.h
/qemu/include/hw/pci-host/designware.h
/qemu/include/hw/pci/pci_ids.h
/qemu/include/hw/ppc/openpic.h
/qemu/include/hw/ppc/openpic_kvm.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/riscv/riscv_hart.h
/qemu/include/hw/riscv/riscv_htif.h
/qemu/include/hw/riscv/sifive_clint.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/riscv/sifive_plic.h
/qemu/include/hw/riscv/sifive_prci.h
/qemu/include/hw/riscv/sifive_test.h
/qemu/include/hw/riscv/sifive_u.h
/qemu/include/hw/riscv/sifive_uart.h
/qemu/include/hw/riscv/spike.h
/qemu/include/hw/riscv/virt.h
/qemu/include/hw/s390x/event-facility.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/qapi/qmp/qdict.h
/qemu/include/qemu/lockable.h
/qemu/include/qemu/log-for-trace.h
/qemu/include/qemu/log.h
/qemu/include/qemu/module.h
/qemu/include/qemu/option.h
/qemu/include/qom/object.h
/qemu/include/sysemu/arch_init.h
/qemu/include/sysemu/iothread.h
/qemu/include/sysemu/sysemu.h
/qemu/include/ui/console.h
/qemu/include/ui/gtk.h
/qemu/include/ui/spice-display.h
/qemu/iothread.c
/qemu/linux-user/aarch64/target_syscall.h
/qemu/linux-user/elfload.c
/qemu/linux-user/main.c
/qemu/linux-user/riscv/syscall_nr.h
/qemu/linux-user/riscv/target_cpu.h
/qemu/linux-user/riscv/target_elf.h
/qemu/linux-user/riscv/target_signal.h
/qemu/linux-user/riscv/target_structs.h
/qemu/linux-user/riscv/target_syscall.h
/qemu/linux-user/riscv/termbits.h
/qemu/linux-user/signal.c
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/memory.c
/qemu/migration/block.c
/qemu/migration/migration.c
/qemu/migration/ram.c
server.c
/qemu/numa.c
/qemu/pc-bios/canyonlands.dtb
/qemu/pc-bios/canyonlands.dts
/qemu/pc-bios/s390-ccw/bootmap.c
/qemu/pc-bios/s390-ccw/bootmap.h
/qemu/pc-bios/u-boot-sam460-20100605.bin
/qemu/qapi/block-core.json
/qemu/qapi/misc.json
/qemu/qapi/ui.json
/qemu/qdev-monitor.c
/qemu/qemu-doc.texi
/qemu/qemu-img.c
/qemu/qemu-io.c
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qmp.c
/qemu/qobject/qdict.c
/qemu/qom/object.c
/qemu/roms/Makefile
/qemu/roms/u-boot-sam460ex
/qemu/scripts/checkpatch.pl
/qemu/scripts/create_config
/qemu/scripts/device-crash-test
/qemu/scripts/qemu-binfmt-conf.sh
/qemu/scripts/qemu.py
/qemu/scripts/qmp/qmp.py
/qemu/scripts/simpletrace.py
/qemu/scripts/tracetool.py
/qemu/scripts/tracetool/__init__.py
/qemu/scripts/tracetool/backend/log.py
/qemu/target/arm/cpu-qom.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/kvm.c
/qemu/target/arm/kvm32.c
/qemu/target/arm/kvm64.c
/qemu/target/arm/kvm_arm.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/kvm.c
/qemu/target/i386/machine.c
/qemu/target/i386/whpx-all.c
/qemu/target/m68k/fpu_helper.c
/qemu/target/m68k/helper.h
/qemu/target/m68k/softfloat.c
/qemu/target/m68k/softfloat.h
/qemu/target/m68k/softfloat_fpsp_tables.h
/qemu/target/m68k/translate.c
/qemu/target/ppc/kvm-stub.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/translate_init.c
/qemu/target/riscv/Makefile.objs
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/cpu_user.h
/qemu/target/riscv/fpu_helper.c
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/helper.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/instmap.h
/qemu/target/riscv/op_helper.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/translate.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/mem_helper.c
/qemu/target/s390x/mmu_helper.c
/qemu/target/sparc/translate.c
/qemu/tests/Makefile.include
/qemu/tests/ahci-test.c
/qemu/tests/check-qdict.c
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/test-debug
/qemu/tests/migration-test.c
/qemu/tests/qemu-iotests/030
/qemu/tests/qemu-iotests/030.out
/qemu/tests/qemu-iotests/033
/qemu/tests/qemu-iotests/033.out
/qemu/tests/qemu-iotests/049.out
/qemu/tests/qemu-iotests/051
/qemu/tests/qemu-iotests/059
/qemu/tests/qemu-iotests/080
/qemu/tests/qemu-iotests/080.out
/qemu/tests/qemu-iotests/096
/qemu/tests/qemu-iotests/112.out
/qemu/tests/qemu-iotests/124
/qemu/tests/qemu-iotests/129
/qemu/tests/qemu-iotests/132
/qemu/tests/qemu-iotests/136
/qemu/tests/qemu-iotests/139
/qemu/tests/qemu-iotests/148
/qemu/tests/qemu-iotests/152
/qemu/tests/qemu-iotests/153
/qemu/tests/qemu-iotests/153.out
/qemu/tests/qemu-iotests/163
/qemu/tests/qemu-iotests/203
/qemu/tests/qemu-iotests/203.out
/qemu/tests/qemu-iotests/205
/qemu/tests/qemu-iotests/206
/qemu/tests/qemu-iotests/206.out
/qemu/tests/qemu-iotests/207
/qemu/tests/qemu-iotests/207.out
/qemu/tests/qemu-iotests/group
/qemu/tests/sdhci-test.c
/qemu/tests/test-block-backend.c
/qemu/tests/test-qemu-opts.c
/qemu/trace-events
/qemu/ui/Makefile.objs
/qemu/ui/console.c
/qemu/ui/gtk-egl.c
/qemu/ui/gtk.c
/qemu/ui/spice-display.c
/qemu/ui/trace-events
/qemu/ui/vnc.c
/qemu/util/Makefile.objs
/qemu/util/aio-wait.c
/qemu/util/coroutine-ucontext.c
/qemu/util/qemu-option.c
/qemu/vl.c
1939ccda05-Mar-2018 Peter Xu <peterx@redhat.com>

qio: non-default context for TLS handshake

A new parameter "context" is added to qio_channel_tls_handshake() is to
allow the TLS to be run on a non-default context. Still, no functional
change.

Si

qio: non-default context for TLS handshake

A new parameter "context" is added to qio_channel_tls_handshake() is to
allow the TLS to be run on a non-default context. Still, no functional
change.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.gitpublish
/qemu/Makefile
/qemu/Makefile.objs
/qemu/README
/qemu/arch_init.c
/qemu/audio/Makefile.objs
/qemu/audio/audio_int.h
/qemu/backends/Makefile.objs
/qemu/backends/cryptodev-builtin.c
/qemu/backends/cryptodev-vhost-user.c
/qemu/backends/cryptodev-vhost.c
/qemu/backends/cryptodev.c
/qemu/backends/hostmem.c
/qemu/balloon.c
/qemu/block.c
/qemu/block/block-backend.c
/qemu/block/crypto.c
/qemu/block/iscsi.c
/qemu/block/nbd.c
/qemu/block/nfs.c
/qemu/block/qapi.c
/qemu/block/qcow2.c
/qemu/block/quorum.c
/qemu/block/sheepdog.c
/qemu/block/ssh.c
/qemu/block/throttle-groups.c
/qemu/block/write-threshold.c
/qemu/blockdev-nbd.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/chardev/char-fe.c
/qemu/chardev/char-ringbuf.c
/qemu/chardev/char-socket.c
/qemu/chardev/char.c
/qemu/configure
/qemu/cpus.c
/qemu/crypto/cipherpriv.h
/qemu/default-configs/arm-softmmu.mak
/qemu/docs/devel/qapi-code-gen.txt
/qemu/docs/devel/writing-qmp-commands.txt
/qemu/docs/interop/qmp-intro.txt
/qemu/docs/interop/vhost-user.txt
/qemu/docs/pcie.txt
/qemu/docs/specs/vmcoreinfo.txt
/qemu/docs/virtio-balloon-stats.txt
/qemu/docs/xen-save-devices-state.txt
/qemu/dump.c
/qemu/fpu/softfloat-specialize.h
/qemu/fpu/softfloat.c
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hmp.h
/qemu/hw/acpi/core.c
/qemu/hw/acpi/cpu.c
/qemu/hw/acpi/memory_hotplug.c
/qemu/hw/acpi/vmgenid.c
/qemu/hw/arm/Makefile.objs
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/iotkit.c
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/block/block.c
/qemu/hw/block/hd-geometry.c
/qemu/hw/char/virtio-console.c
/qemu/hw/core/Makefile.objs
/qemu/hw/core/loader.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev.c
/qemu/hw/core/split-irq.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/ipmi/ipmi.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/misc/Makefile.objs
/qemu/hw/misc/iotkit-secctl.c
/qemu/hw/misc/mps2-fpgaio.c
/qemu/hw/misc/trace-events
/qemu/hw/misc/tz-ppc.c
/qemu/hw/misc/unimp.c
/qemu/hw/net/e1000.c
/qemu/hw/net/lance.c
/qemu/hw/net/ne2000.c
/qemu/hw/net/net_tx_pkt.c
/qemu/hw/net/pcnet-pci.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/rocker/qmp-norocker.c
/qemu/hw/net/rocker/rocker.c
/qemu/hw/net/rocker/rocker_fp.c
/qemu/hw/net/rocker/rocker_of_dpa.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/xgmac.c
/qemu/hw/pci/pci-stub.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/ppc/spapr_rtc.c
/qemu/hw/s390x/s390-skeys.c
/qemu/hw/timer/Makefile.objs
/qemu/hw/timer/mc146818rtc.c
/qemu/hw/timer/trace-events
/qemu/hw/timer/xlnx-zynqmp-rtc.c
/qemu/hw/tpm/tpm_emulator.c
/qemu/hw/tpm/tpm_passthrough.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/watchdog/watchdog.c
/qemu/include/block/block.h
/qemu/include/block/dirty-bitmap.h
/qemu/include/block/nbd.h
/qemu/include/chardev/char.h
/qemu/include/crypto/cipher.h
/qemu/include/crypto/hash.h
/qemu/include/crypto/hmac.h
/qemu/include/crypto/secret.h
/qemu/include/crypto/tlscreds.h
/qemu/include/fpu/softfloat-macros.h
/qemu/include/fpu/softfloat.h
/qemu/include/hw/arm/armv7m.h
/qemu/include/hw/arm/iotkit.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/block/block.h
/qemu/include/hw/block/fdc.h
/qemu/include/hw/core/split-irq.h
/qemu/include/hw/irq.h
/qemu/include/hw/loader.h
/qemu/include/hw/misc/iotkit-secctl.h
/qemu/include/hw/misc/mps2-fpgaio.h
/qemu/include/hw/misc/tz-ppc.h
/qemu/include/hw/misc/unimp.h
/qemu/include/hw/or-irq.h
/qemu/include/hw/ppc/spapr_drc.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/qdev-properties.h
/qemu/include/hw/timer/xlnx-zynqmp-rtc.h
/qemu/include/hw/virtio/vhost-backend.h
/qemu/include/hw/virtio/virtio-crypto.h
/qemu/include/io/channel-socket.h
/qemu/include/io/channel-tls.h
/qemu/include/io/channel.h
/qemu/include/io/dns-resolver.h
/qemu/include/io/net-listener.h
/qemu/include/io/task.h
/qemu/include/migration/colo.h
/qemu/include/migration/failover.h
/qemu/include/migration/global_state.h
/qemu/include/monitor/monitor.h
/qemu/include/net/eth.h
/qemu/include/net/filter.h
/qemu/include/net/net.h
/qemu/include/net/vhost_net.h
/qemu/include/qapi/clone-visitor.h
/qemu/include/qapi/error.h
/qemu/include/qapi/qmp/qobject.h
/qemu/include/qapi/visitor.h
/qemu/include/qemu/module.h
/qemu/include/qemu/sockets.h
/qemu/include/qemu/throttle.h
/qemu/include/qom/cpu.h
/qemu/include/qom/object.h
/qemu/include/sysemu/arch_init.h
/qemu/include/sysemu/balloon.h
/qemu/include/sysemu/cryptodev-vhost-user.h
/qemu/include/sysemu/cryptodev-vhost.h
/qemu/include/sysemu/cryptodev.h
/qemu/include/sysemu/dump.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/replay.h
/qemu/include/sysemu/sysemu.h
/qemu/include/sysemu/tpm.h
/qemu/include/sysemu/watchdog.h
/qemu/include/ui/console.h
/qemu/include/ui/input.h
/qemu/io/channel-socket.c
/qemu/io/channel-tls.c
/qemu/io/channel.c
/qemu/io/dns-resolver.c
/qemu/io/net-listener.c
/qemu/io/task.c
/qemu/iothread.c
/qemu/linux-user/elfload.c
/qemu/migration/colo-failover.c
/qemu/migration/colo.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/savevm.c
/qemu/migration/socket.c
/qemu/migration/tls.c
/qemu/monitor.c
client.c
server.c
/qemu/net/colo-compare.c
/qemu/net/dump.c
/qemu/net/filter-buffer.c
/qemu/net/filter-mirror.c
/qemu/net/filter-rewriter.c
/qemu/net/net.c
/qemu/net/tap.c
/qemu/net/tap_int.h
/qemu/net/vhost-user.c
/qemu/numa.c
/qemu/qapi/misc.json
/qemu/qapi/net.json
/qemu/qapi/qapi-schema.json
/qemu/qapi/run-state.json
/qemu/qdev-monitor.c
/qemu/qemu-doc.texi
/qemu/qemu-img.c
/qemu/qemu-options.hx
/qemu/qga/Makefile.objs
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/commands.c
/qemu/qga/main.c
/qemu/qmp.c
/qemu/qom/object.c
/qemu/qom/object_interfaces.c
/qemu/replay/replay-input.c
/qemu/replication.h
/qemu/scripts/decodetree.py
/qemu/scripts/qapi-gen.py
/qemu/scripts/qapi/__init__.py
/qemu/scripts/qapi/commands.py
/qemu/scripts/qapi/common.py
/qemu/scripts/qapi/doc.py
/qemu/scripts/qapi/events.py
/qemu/scripts/qapi/introspect.py
/qemu/scripts/qapi/types.py
/qemu/scripts/qapi/visit.py
/qemu/stubs/tpm.c
/qemu/stubs/uuid.c
/qemu/stubs/vmgenid.c
/qemu/stubs/xen-hvm.c
/qemu/target/arm/Makefile.objs
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/helper.h
/qemu/target/arm/idau.h
/qemu/target/arm/monitor.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate.c
/qemu/target/arm/vec_helper.c
/qemu/target/i386/cpu.c
/qemu/target/m68k/Makefile.objs
/qemu/target/m68k/cpu.h
/qemu/target/m68k/fpu_helper.c
/qemu/target/m68k/helper.h
/qemu/target/m68k/softfloat.c
/qemu/target/m68k/softfloat.h
/qemu/target/m68k/translate.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/kvm.c
/qemu/target/s390x/sigp.c
/qemu/target/tricore/cpu.h
/qemu/target/tricore/csfr.def
/qemu/target/tricore/op_helper.c
/qemu/target/tricore/translate.c
/qemu/target/tricore/tricore-opcodes.h
/qemu/target/unicore32/Makefile.objs
/qemu/tests/.gitignore
/qemu/tests/Makefile.include
/qemu/tests/libqos/virtio-pci.c
/qemu/tests/qapi-schema/comments.out
/qemu/tests/qapi-schema/doc-bad-section.out
/qemu/tests/qapi-schema/doc-good.out
/qemu/tests/qapi-schema/doc-good.texi
/qemu/tests/qapi-schema/empty.out
/qemu/tests/qapi-schema/event-case.out
/qemu/tests/qapi-schema/ident-with-escape.out
/qemu/tests/qapi-schema/include-no-file.err
/qemu/tests/qapi-schema/include-relpath.out
/qemu/tests/qapi-schema/include-repetition.out
/qemu/tests/qapi-schema/include-simple.out
/qemu/tests/qapi-schema/indented-expr.out
/qemu/tests/qapi-schema/qapi-schema-test.out
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qmp-test.c
/qemu/tests/test-char.c
/qemu/tests/test-hmp.c
/qemu/tests/test-io-channel-socket.c
/qemu/tests/test-io-channel-tls.c
/qemu/tests/test-io-task.c
/qemu/tests/test-qmp-cmds.c
/qemu/tests/test-qmp-event.c
/qemu/tests/test-qobject-input-visitor.c
/qemu/tests/test-visitor-serialization.c
/qemu/tpm.c
/qemu/trace/qmp.c
/qemu/ui/Makefile.objs
/qemu/ui/cocoa.m
/qemu/ui/console.c
/qemu/ui/curses.c
/qemu/ui/egl-headless.c
/qemu/ui/gtk.c
/qemu/ui/input-legacy.c
/qemu/ui/input.c
/qemu/ui/sdl.c
/qemu/ui/sdl2.c
/qemu/ui/spice-core.c
/qemu/ui/vnc-auth-vencrypt.c
/qemu/ui/vnc-ws.c
/qemu/ui/vnc.c
/qemu/ui/vnc.h
/qemu/util/qemu-config.c
/qemu/util/qemu-sockets.c
/qemu/util/uri.c
/qemu/vl.c
28fb494f15-Feb-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/client: fix error messages in nbd_handle_reply_err

1. NBD_REP_ERR_INVALID is not only about length, so, make message more
general

2. hex format is not very good: it's hard to read something

nbd/client: fix error messages in nbd_handle_reply_err

1. NBD_REP_ERR_INVALID is not only about length, so, make message more
general

2. hex format is not very good: it's hard to read something like
"option a (set meta context)", so switch to dec.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <1518702707-7077-6-git-send-email-vsementsov@virtuozzo.com>
[eblake: expand scope of patch: ALL uses of nbd_opt_lookup and
nbd_rep_lookup are now decimal]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

25c1467826-Feb-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd: BLOCK_STATUS constants

Expose the new constants and structs that will be used by both
server and client implementations of NBD_CMD_BLOCK_STATUS (the
command is currently experimental at
https:/

nbd: BLOCK_STATUS constants

Expose the new constants and structs that will be used by both
server and client implementations of NBD_CMD_BLOCK_STATUS (the
command is currently experimental at
https://github.com/NetworkBlockDevice/nbd/blob/extension-blockstatus/doc/proto.md
but will hopefully be stabilized soon).

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <1518702707-7077-4-git-send-email-vsementsov@virtuozzo.com>
[eblake: split from larger patch on server implementation]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...


/qemu/.mailmap
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/Makefile.objs
/qemu/Makefile.target
/qemu/README
/qemu/accel/accel.c
/qemu/accel/tcg/Makefile.objs
/qemu/accel/tcg/tcg-runtime-gvec.c
/qemu/accel/tcg/tcg-runtime.h
/qemu/backends/hostmem-file.c
/qemu/backends/hostmem-ram.c
/qemu/backends/hostmem.c
/qemu/backends/tpm.c
/qemu/balloon.c
/qemu/block.c
/qemu/block/blkdebug.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/crypto.c
/qemu/block/curl.c
/qemu/block/dirty-bitmap.c
/qemu/block/file-posix.c
/qemu/block/file-win32.c
/qemu/block/gluster.c
/qemu/block/iscsi-opts.c
/qemu/block/iscsi.c
/qemu/block/nbd-client.c
/qemu/block/nbd.c
/qemu/block/nfs.c
/qemu/block/null.c
/qemu/block/nvme.c
/qemu/block/parallels.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/qed.c
/qemu/block/quorum.c
/qemu/block/rbd.c
/qemu/block/replication.c
/qemu/block/sheepdog.c
/qemu/block/snapshot.c
/qemu/block/ssh.c
/qemu/block/throttle.c
/qemu/block/vdi.c
/qemu/block/vhdx.c
/qemu/block/vmdk.c
/qemu/block/vpc.c
/qemu/block/vvfat.c
/qemu/blockdev-nbd.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/chardev/char-file.c
/qemu/chardev/char-mux.c
/qemu/chardev/char-parallel.c
/qemu/chardev/char-pipe.c
/qemu/chardev/char-ringbuf.c
/qemu/chardev/char-serial.c
/qemu/chardev/char-socket.c
/qemu/chardev/char-stdio.c
/qemu/chardev/char-udp.c
/qemu/chardev/char.c
/qemu/chardev/spice.c
/qemu/configure
/qemu/contrib/ivshmem-server/main.c
/qemu/contrib/libvhost-user/libvhost-user.c
/qemu/contrib/libvhost-user/libvhost-user.h
/qemu/cpus.c
/qemu/default-configs/arm-softmmu.mak
/qemu/default-configs/pci.mak
/qemu/default-configs/ppc-softmmu.mak
/qemu/device-hotplug.c
/qemu/device_tree.c
/qemu/docs/can.txt
/qemu/docs/devel/migration.rst
/qemu/docs/devel/stable-process.rst
/qemu/docs/pcie_pci_bridge.txt
/qemu/docs/pvrdma.txt
/qemu/docs/qemu-block-drivers.texi
/qemu/exec.c
/qemu/fpu/softfloat-macros.h
/qemu/fpu/softfloat-specialize.h
/qemu/fpu/softfloat.c
/qemu/fsdev/qemu-fsdev-throttle.c
/qemu/fsdev/qemu-fsdev.c
/qemu/fsdev/qemu-fsdev.h
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hmp.h
/qemu/hw/9pfs/9p-handle.c
/qemu/hw/9pfs/9p-local.c
/qemu/hw/9pfs/9p-proxy.c
/qemu/hw/9pfs/9p-synth.c
/qemu/hw/9pfs/9p.c
/qemu/hw/9pfs/9p.h
/qemu/hw/9pfs/xen-9p-backend.c
/qemu/hw/Makefile.objs
/qemu/hw/acpi/acpi-stub.c
/qemu/hw/acpi/core.c
/qemu/hw/arm/aspeed_soc.c
/qemu/hw/arm/bcm2835_peripherals.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/exynos4210.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/raspi.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xilinx_zynq.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/nvme.c
/qemu/hw/block/trace-events
/qemu/hw/char/escc.c
/qemu/hw/char/stm32f2xx_usart.c
/qemu/hw/core/generic-loader.c
/qemu/hw/core/loader.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev.c
/qemu/hw/core/register.c
/qemu/hw/display/Makefile.objs
/qemu/hw/display/cg3.c
/qemu/hw/display/exynos4210_fimd.c
/qemu/hw/display/framebuffer.c
/qemu/hw/display/g364fb.c
/qemu/hw/display/sii9022.c
/qemu/hw/display/sm501.c
/qemu/hw/display/tcx.c
/qemu/hw/display/trace-events
/qemu/hw/display/vga.c
/qemu/hw/display/virtio-gpu-3d.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i2c/core.c
/qemu/hw/i2c/i2c-ddc.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_sysfw.c
/qemu/hw/intc/Makefile.objs
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/imx_gpcv2.c
/qemu/hw/intc/s390_flic.c
/qemu/hw/intc/s390_flic_kvm.c
/qemu/hw/intc/trace-events
/qemu/hw/isa/lpc_ich9.c
/qemu/hw/misc/Makefile.objs
/qemu/hw/misc/aspeed_scu.c
/qemu/hw/misc/aspeed_sdmc.c
/qemu/hw/misc/imx2_wdt.c
/qemu/hw/misc/imx7_ccm.c
/qemu/hw/misc/imx7_gpr.c
/qemu/hw/misc/imx7_snvs.c
/qemu/hw/misc/macio/cuda.c
/qemu/hw/misc/macio/macio.c
/qemu/hw/misc/macio/trace-events
/qemu/hw/misc/mos6522.c
/qemu/hw/misc/trace-events
/qemu/hw/net/Makefile.objs
/qemu/hw/net/can/Makefile.objs
/qemu/hw/net/can/can_kvaser_pci.c
/qemu/hw/net/can/can_mioe3680_pci.c
/qemu/hw/net/can/can_pcm3680_pci.c
/qemu/hw/net/can/can_sja1000.c
/qemu/hw/net/can/can_sja1000.h
/qemu/hw/net/e1000e.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/pci-bridge/gen_pcie_root_port.c
/qemu/hw/pci-bridge/i82801b11.c
/qemu/hw/pci-bridge/ioh3420.c
/qemu/hw/pci-bridge/pci_bridge_dev.c
/qemu/hw/pci-bridge/pcie_pci_bridge.c
/qemu/hw/pci-bridge/pcie_root_port.c
/qemu/hw/pci-bridge/xio3130_downstream.c
/qemu/hw/pci-bridge/xio3130_upstream.c
/qemu/hw/pci-host/xilinx-pcie.c
/qemu/hw/pci/pci.c
/qemu/hw/pci/pci_bridge.c
/qemu/hw/pci/pcie_aer.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/mac.h
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/ppc440.h
/qemu/hw/ppc/ppc440_uc.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_drc.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/rdma/Makefile.objs
/qemu/hw/rdma/rdma_backend.c
/qemu/hw/rdma/rdma_backend.h
/qemu/hw/rdma/rdma_backend_defs.h
/qemu/hw/rdma/rdma_rm.c
/qemu/hw/rdma/rdma_rm.h
/qemu/hw/rdma/rdma_rm_defs.h
/qemu/hw/rdma/rdma_utils.c
/qemu/hw/rdma/rdma_utils.h
/qemu/hw/rdma/trace-events
/qemu/hw/rdma/vmw/pvrdma.h
/qemu/hw/rdma/vmw/pvrdma_cmd.c
/qemu/hw/rdma/vmw/pvrdma_dev_ring.c
/qemu/hw/rdma/vmw/pvrdma_dev_ring.h
/qemu/hw/rdma/vmw/pvrdma_main.c
/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/qemu/hw/rdma/vmw/pvrdma_qp_ops.h
/qemu/hw/rdma/vmw/trace-events
/qemu/hw/s390x/css.c
/qemu/hw/s390x/event-facility.c
/qemu/hw/s390x/ipl.c
/qemu/hw/s390x/ipl.h
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-bus.h
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/s390-skeys.c
/qemu/hw/s390x/s390-stattrib.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/sclp.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/megasas.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/sd/core.c
/qemu/hw/sd/milkymist-memcard.c
/qemu/hw/sd/sd.c
/qemu/hw/sd/sdhci-internal.h
/qemu/hw/sd/sdhci.c
/qemu/hw/sd/sdmmc-internal.h
/qemu/hw/sd/ssi-sd.c
/qemu/hw/sd/trace-events
/qemu/hw/smbios/smbios-stub.c
/qemu/hw/smbios/smbios.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/timer/imx_gpt.c
/qemu/hw/tpm/tpm_tis.c
/qemu/hw/usb/Makefile.objs
/qemu/hw/usb/chipidea.c
/qemu/hw/usb/dev-mtp.c
/qemu/hw/usb/hcd-xhci.c
/qemu/hw/usb/xen-usb.c
/qemu/hw/vfio/pci.c
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-bus.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/hw/watchdog/watchdog.c
/qemu/hw/xen/xen-common.c
/qemu/hw/xen/xen_devconfig.c
/qemu/hw/xen/xen_pt.c
/qemu/hw/xtensa/xtfpga.c
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/block/dirty-bitmap.h
/qemu/include/block/nbd.h
/qemu/include/block/snapshot.h
/qemu/include/chardev/char.h
/qemu/include/elf.h
/qemu/include/exec/helper-head.h
/qemu/include/exec/memory.h
/qemu/include/exec/ram_addr.h
/qemu/include/fpu/softfloat-types.h
/qemu/include/fpu/softfloat.h
/qemu/include/hw/acpi/acpi.h
/qemu/include/hw/acpi/tpm.h
/qemu/include/hw/arm/aspeed_soc.h
/qemu/include/hw/arm/bcm2836.h
/qemu/include/hw/block/block.h
/qemu/include/hw/block/fdc.h
/qemu/include/hw/char/escc.h
/qemu/include/hw/char/stm32f2xx_usart.h
/qemu/include/hw/compat.h
/qemu/include/hw/i2c/i2c.h
/qemu/include/hw/intc/imx_gpcv2.h
/qemu/include/hw/loader.h
/qemu/include/hw/misc/imx2_wdt.h
/qemu/include/hw/misc/imx7_ccm.h
/qemu/include/hw/misc/imx7_gpr.h
/qemu/include/hw/misc/imx7_snvs.h
/qemu/include/hw/misc/macio/cuda.h
/qemu/include/hw/misc/mos6522.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/pci/pci_bridge.h
/qemu/include/hw/pci/pci_ids.h
/qemu/include/hw/pci/pcie_host.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/register.h
/qemu/include/hw/s390x/s390_flic.h
/qemu/include/hw/s390x/sclp.h
/qemu/include/hw/sd/sd.h
/qemu/include/hw/sd/sdhci.h
/qemu/include/hw/smbios/smbios.h
/qemu/include/hw/timer/imx_gpt.h
/qemu/include/hw/usb/chipidea.h
/qemu/include/hw/virtio/vhost.h
/qemu/include/hw/virtio/virtio-bus.h
/qemu/include/hw/virtio/virtio-gpu.h
/qemu/include/io/channel-file.h
/qemu/include/migration/colo.h
/qemu/include/migration/failover.h
/qemu/include/migration/vmstate.h
/qemu/include/monitor/monitor.h
/qemu/include/net/can_emu.h
/qemu/include/net/can_host.h
/qemu/include/net/net.h
/qemu/include/net/slirp.h
/qemu/include/qapi/opts-visitor.h
/qemu/include/qapi/qmp-event.h
/qemu/include/qapi/qmp/dispatch.h
/qemu/include/qapi/qmp/json-parser.h
/qemu/include/qapi/qmp/qbool.h
/qemu/include/qapi/qmp/qdict.h
/qemu/include/qapi/qmp/qjson.h
/qemu/include/qapi/qmp/qlist.h
/qemu/include/qapi/qmp/qnum.h
/qemu/include/qapi/qmp/qstring.h
/qemu/include/qapi/qobject-input-visitor.h
/qemu/include/qapi/qobject-output-visitor.h
/qemu/include/qapi/visitor.h
/qemu/include/qemu-common.h
/qemu/include/qemu/bswap.h
/qemu/include/qemu/config-file.h
/qemu/include/qemu/option.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/ratelimit.h
/qemu/include/qemu/throttle.h
/qemu/include/qemu/typedefs.h
/qemu/include/qom/object_interfaces.h
/qemu/include/scsi/pr-manager.h
/qemu/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h
/qemu/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_ring.h
/qemu/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h
/qemu/include/standard-headers/linux/virtio_balloon.h
/qemu/include/standard-headers/linux/virtio_gpu.h
/qemu/include/standard-headers/rdma/vmw_pvrdma-abi.h
/qemu/include/sysemu/arch_init.h
/qemu/include/sysemu/hax.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/numa.h
/qemu/include/sysemu/sysemu.h
/qemu/include/ui/console.h
/qemu/include/ui/qemu-spice.h
/qemu/io/channel-command.c
/qemu/io/channel-file.c
/qemu/io/channel-websock.c
/qemu/io/net-listener.c
/qemu/linux-user/aarch64/target_elf.h
/qemu/linux-user/aarch64/termbits.h
/qemu/linux-user/alpha/target_elf.h
/qemu/linux-user/alpha/termbits.h
/qemu/linux-user/arm/target_elf.h
/qemu/linux-user/arm/termbits.h
/qemu/linux-user/cris/target_elf.h
/qemu/linux-user/cris/termbits.h
/qemu/linux-user/elfload.c
/qemu/linux-user/host/aarch64/safe-syscall.inc.S
/qemu/linux-user/hppa/target_elf.h
/qemu/linux-user/hppa/termbits.h
/qemu/linux-user/i386/target_elf.h
/qemu/linux-user/i386/termbits.h
/qemu/linux-user/ioctls.h
/qemu/linux-user/m68k/target_elf.h
/qemu/linux-user/m68k/termbits.h
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/target_elf.h
/qemu/linux-user/microblaze/termbits.h
/qemu/linux-user/mips/target_elf.h
/qemu/linux-user/mips/termbits.h
/qemu/linux-user/mips64/target_elf.h
/qemu/linux-user/nios2/target_elf.h
/qemu/linux-user/nios2/termbits.h
/qemu/linux-user/openrisc/target_elf.h
/qemu/linux-user/openrisc/termbits.h
/qemu/linux-user/ppc/target_elf.h
/qemu/linux-user/ppc/termbits.h
/qemu/linux-user/qemu.h
/qemu/linux-user/s390x/target_elf.h
/qemu/linux-user/s390x/termbits.h
/qemu/linux-user/sh4/target_elf.h
/qemu/linux-user/sh4/termbits.h
/qemu/linux-user/sparc/target_elf.h
/qemu/linux-user/sparc/termbits.h
/qemu/linux-user/sparc64/target_elf.h
/qemu/linux-user/sparc64/termbits.h
/qemu/linux-user/syscall.c
/qemu/linux-user/tilegx/target_elf.h
/qemu/linux-user/tilegx/termbits.h
/qemu/linux-user/unicore32/target_elf.h
/qemu/linux-user/x86_64/target_elf.h
/qemu/linux-user/x86_64/termbits.h
/qemu/memory.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/postcopy-ram.c
/qemu/migration/postcopy-ram.h
/qemu/migration/ram.c
/qemu/migration/ram.h
/qemu/migration/savevm.c
/qemu/monitor.c
common.c
/qemu/net/Makefile.objs
/qemu/net/can/Makefile.objs
/qemu/net/can/can_core.c
/qemu/net/can/can_host.c
/qemu/net/can/can_socketcan.c
/qemu/net/colo-compare.c
/qemu/net/filter-mirror.c
/qemu/net/filter-rewriter.c
/qemu/net/net.c
/qemu/net/slirp.c
/qemu/net/tap_int.h
/qemu/net/vhost-user.c
/qemu/pc-bios/openbios-ppc
/qemu/pc-bios/openbios-sparc32
/qemu/pc-bios/openbios-sparc64
/qemu/pc-bios/s390-ccw.img
/qemu/pc-bios/s390-ccw/Makefile
/qemu/pc-bios/s390-ccw/bootmap.c
/qemu/pc-bios/s390-ccw/bootmap.h
/qemu/pc-bios/s390-ccw/iplb.h
/qemu/pc-bios/s390-ccw/libc.c
/qemu/pc-bios/s390-ccw/libc.h
/qemu/pc-bios/s390-ccw/main.c
/qemu/pc-bios/s390-ccw/menu.c
/qemu/pc-bios/s390-ccw/s390-ccw.h
/qemu/pc-bios/s390-ccw/sclp.c
/qemu/pc-bios/s390-ccw/virtio.c
/qemu/pc-bios/s390-netboot.img
/qemu/qapi-schema.json
/qemu/qapi/block-core.json
/qemu/qapi/migration.json
/qemu/qapi/qapi-dealloc-visitor.c
/qemu/qapi/qapi-visit-core.c
/qemu/qapi/qmp-dispatch.c
/qemu/qapi/qmp-event.c
/qemu/qapi/qobject-input-visitor.c
/qemu/qapi/qobject-output-visitor.c
/qemu/qapi/run-state.json
/qemu/qapi/ui.json
/qemu/qdev-monitor.c
/qemu/qemu-doc.texi
/qemu/qemu-img.c
/qemu/qemu-img.texi
/qemu/qemu-io-cmds.c
/qemu/qemu-io.c
/qemu/qemu-nbd.c
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/guest-agent-core.h
/qemu/qga/main.c
/qemu/qmp.c
/qemu/qobject/json-parser.c
/qemu/qobject/qbool.c
/qemu/qobject/qdict.c
/qemu/qobject/qjson.c
/qemu/qobject/qlist.c
/qemu/qobject/qlit.c
/qemu/qobject/qnum.c
/qemu/qobject/qobject.c
/qemu/qobject/qstring.c
/qemu/qom/object.c
/qemu/qom/object_interfaces.c
/qemu/replay/replay.c
/qemu/roms/openbios
/qemu/rules.mak
/qemu/scripts/argparse.py
/qemu/scripts/decodetree.py
/qemu/scripts/git-submodule.sh
/qemu/scripts/make-release
/qemu/scripts/qapi-commands.py
/qemu/scripts/qapi-event.py
/qemu/scripts/tracetool/__init__.py
/qemu/scripts/tracetool/format/ust_events_h.py
/qemu/scripts/update-linux-headers.sh
/qemu/stubs/dump.c
/qemu/target/alpha/cpu.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/crypto_helper.c
/qemu/target/arm/helper-a64.c
/qemu/target/arm/helper-a64.h
/qemu/target/arm/helper.c
/qemu/target/arm/helper.h
/qemu/target/arm/internals.h
/qemu/target/arm/kvm_arm.h
/qemu/target/arm/machine.c
/qemu/target/arm/neon_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/op_helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/fpu_helper.c
/qemu/target/i386/hax-all.c
/qemu/target/i386/hax-darwin.c
/qemu/target/i386/hax-darwin.h
/qemu/target/i386/hax-i386.h
/qemu/target/i386/hax-interface.h
/qemu/target/i386/hax-mem.c
/qemu/target/i386/hax-windows.c
/qemu/target/i386/hax-windows.h
/qemu/target/i386/hvf/x86_mmu.c
/qemu/target/i386/monitor.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/fpu_helper.c
/qemu/target/m68k/helper.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/op_helper.c
/qemu/target/moxie/cpu.h
/qemu/target/nios2/cpu.h
/qemu/target/openrisc/cpu.h
/qemu/target/openrisc/fpu_helper.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/fpu_helper.c
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate/dfp-impl.inc.c
/qemu/target/ppc/translate_init.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/cpu_features.c
/qemu/target/s390x/cpu_features_def.h
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/excp_helper.c
/qemu/target/s390x/fpu_helper.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/helper.c
/qemu/target/s390x/helper.h
/qemu/target/s390x/insn-data.def
/qemu/target/s390x/internal.h
/qemu/target/s390x/interrupt.c
/qemu/target/s390x/kvm-stub.c
/qemu/target/s390x/kvm.c
/qemu/target/s390x/kvm_s390x.h
/qemu/target/s390x/mem_helper.c
/qemu/target/s390x/misc_helper.c
/qemu/target/s390x/mmu_helper.c
/qemu/target/s390x/sigp.c
/qemu/target/s390x/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/op_helper.c
/qemu/target/sparc/cpu.h
/qemu/target/sparc/fop_helper.c
/qemu/target/tricore/cpu.h
/qemu/target/tricore/fpu_helper.c
/qemu/target/tricore/helper.c
/qemu/target/unicore32/cpu.c
/qemu/target/unicore32/cpu.h
/qemu/target/unicore32/ucf64_helper.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/op_helper.c
/qemu/tcg/README
/qemu/tcg/aarch64/tcg-target.h
/qemu/tcg/aarch64/tcg-target.inc.c
/qemu/tcg/aarch64/tcg-target.opc.h
/qemu/tcg/i386/tcg-target.h
/qemu/tcg/i386/tcg-target.inc.c
/qemu/tcg/i386/tcg-target.opc.h
/qemu/tcg/optimize.c
/qemu/tcg/tcg-gvec-desc.h
/qemu/tcg/tcg-op-gvec.c
/qemu/tcg/tcg-op-gvec.h
/qemu/tcg/tcg-op-vec.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg-op.h
/qemu/tcg/tcg-opc.h
/qemu/tcg/tcg-pool.inc.c
/qemu/tcg/tcg.c
/qemu/tcg/tcg.h
/qemu/tests/Makefile.include
/qemu/tests/acpi-test-data/pc/FACP
/qemu/tests/acpi-test-data/q35/FACP
/qemu/tests/ahci-test.c
/qemu/tests/bios-tables-test.c
/qemu/tests/boot-order-test.c
/qemu/tests/boot-sector.c
/qemu/tests/boot-sector.h
/qemu/tests/boot-serial-test.c
/qemu/tests/check-qdict.c
/qemu/tests/check-qjson.c
/qemu/tests/check-qlit.c
/qemu/tests/check-qobject.c
/qemu/tests/cpu-plug-test.c
/qemu/tests/decode/check.sh
/qemu/tests/decode/err_argset1.decode
/qemu/tests/decode/err_argset2.decode
/qemu/tests/decode/err_field1.decode
/qemu/tests/decode/err_field2.decode
/qemu/tests/decode/err_field3.decode
/qemu/tests/decode/err_field4.decode
/qemu/tests/decode/err_field5.decode
/qemu/tests/decode/err_init1.decode
/qemu/tests/decode/err_init2.decode
/qemu/tests/decode/err_init3.decode
/qemu/tests/decode/err_init4.decode
/qemu/tests/decode/err_overlap1.decode
/qemu/tests/decode/err_overlap2.decode
/qemu/tests/decode/err_overlap3.decode
/qemu/tests/decode/err_overlap4.decode
/qemu/tests/decode/err_overlap5.decode
/qemu/tests/decode/err_overlap6.decode
/qemu/tests/decode/err_overlap7.decode
/qemu/tests/decode/err_overlap8.decode
/qemu/tests/decode/err_overlap9.decode
/qemu/tests/device-introspect-test.c
/qemu/tests/drive_del-test.c
/qemu/tests/ds1338-test.c
/qemu/tests/e1000e-test.c
/qemu/tests/fw_cfg-test.c
/qemu/tests/i440fx-test.c
/qemu/tests/ide-test.c
/qemu/tests/ivshmem-test.c
/qemu/tests/libqos/ahci.c
/qemu/tests/libqos/ahci.h
/qemu/tests/libqos/fw_cfg.c
/qemu/tests/libqos/fw_cfg.h
/qemu/tests/libqos/i2c-imx.c
/qemu/tests/libqos/i2c-omap.c
/qemu/tests/libqos/i2c.h
/qemu/tests/libqos/libqos-pc.c
/qemu/tests/libqos/libqos.c
/qemu/tests/libqos/libqos.h
/qemu/tests/libqos/malloc-pc.c
/qemu/tests/libqos/malloc-pc.h
/qemu/tests/libqos/malloc-spapr.c
/qemu/tests/libqos/malloc-spapr.h
/qemu/tests/libqos/malloc.h
/qemu/tests/libqos/pci-pc.c
/qemu/tests/libqos/pci-pc.h
/qemu/tests/libqos/pci-spapr.c
/qemu/tests/libqos/pci-spapr.h
/qemu/tests/libqos/pci.h
/qemu/tests/libqos/rtas.c
/qemu/tests/libqos/rtas.h
/qemu/tests/libqtest.c
/qemu/tests/libqtest.h
/qemu/tests/m48t59-test.c
/qemu/tests/megasas-test.c
/qemu/tests/migration-test.c
/qemu/tests/migration/rebuild-x86-bootblock.sh
/qemu/tests/migration/x86-a-b-bootblock.h
/qemu/tests/migration/x86-a-b-bootblock.s
/qemu/tests/numa-test.c
/qemu/tests/pvpanic-test.c
/qemu/tests/pxe-test.c
/qemu/tests/q35-test.c
/qemu/tests/qemu-iotests/059.out
/qemu/tests/qemu-iotests/061
/qemu/tests/qemu-iotests/061.out
/qemu/tests/qemu-iotests/103
/qemu/tests/qemu-iotests/103.out
/qemu/tests/qemu-iotests/137
/qemu/tests/qemu-iotests/137.out
/qemu/tests/qemu-iotests/155
/qemu/tests/qemu-iotests/165
/qemu/tests/qemu-iotests/176
/qemu/tests/qemu-iotests/205
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/qemu-iotests/sample_images/afl9.vmdk.bz2
/qemu/tests/qmp-test.c
/qemu/tests/qom-test.c
/qemu/tests/rtas-test.c
/qemu/tests/rtl8139-test.c
/qemu/tests/sdhci-test.c
/qemu/tests/tco-test.c
/qemu/tests/test-char.c
/qemu/tests/test-clone-visitor.c
/qemu/tests/test-hbitmap.c
/qemu/tests/test-io-channel-file.c
/qemu/tests/test-keyval.c
/qemu/tests/test-netfilter.c
/qemu/tests/test-qemu-opts.c
/qemu/tests/test-qga.c
/qemu/tests/test-qmp-commands.c
/qemu/tests/test-qmp-event.c
/qemu/tests/test-qobject-input-visitor.c
/qemu/tests/test-qobject-output-visitor.c
/qemu/tests/test-replication.c
/qemu/tests/test-string-input-visitor.c
/qemu/tests/test-string-output-visitor.c
/qemu/tests/test-visitor-serialization.c
/qemu/tests/test-x86-cpuid-compat.c
/qemu/tests/tmp105-test.c
/qemu/tests/tpm-crb-test.c
/qemu/tests/tpm-emu.c
/qemu/tests/tpm-emu.h
/qemu/tests/tpm-tis-test.c
/qemu/tests/usb-hcd-ehci-test.c
/qemu/tests/usb-hcd-uhci-test.c
/qemu/tests/vhost-user-test.c
/qemu/tests/virtio-9p-test.c
/qemu/tests/virtio-blk-test.c
/qemu/tests/virtio-net-test.c
/qemu/tests/virtio-scsi-test.c
/qemu/tests/vmgenid-test.c
/qemu/tests/wdt_ib700-test.c
/qemu/trace-events
/qemu/trace/control.c
/qemu/ui/cocoa.m
/qemu/ui/console.c
/qemu/ui/curses.c
/qemu/ui/egl-headless.c
/qemu/ui/egl-helpers.c
/qemu/ui/gtk.c
/qemu/ui/input.c
/qemu/ui/keymaps.c
/qemu/ui/keymaps.h
/qemu/ui/sdl.c
/qemu/ui/sdl2-2d.c
/qemu/ui/sdl2.c
/qemu/ui/spice-core.c
/qemu/ui/spice-display.c
/qemu/ui/trace-events
/qemu/ui/vnc-auth-sasl.c
/qemu/ui/vnc-jobs.c
/qemu/ui/vnc-palette.h
/qemu/ui/vnc-stubs.c
/qemu/ui/vnc.c
/qemu/util/aio-posix.c
/qemu/util/keyval.c
/qemu/util/oslib-posix.c
/qemu/util/oslib-win32.c
/qemu/util/qemu-config.c
/qemu/util/qemu-coroutine-lock.c
/qemu/util/qemu-option.c
/qemu/util/vfio-helpers.c
/qemu/vl.c
e688df6b01-Feb-2018 Markus Armbruster <armbru@redhat.com>

Include qapi/error.h exactly where needed

This cleanup makes the number of objects depending on qapi/error.h
drop from 1910 (out of 4743) to 1612 in my "build everything" tree.

While there, separat

Include qapi/error.h exactly where needed

This cleanup makes the number of objects depending on qapi/error.h
drop from 1910 (out of 4743) to 1612 in my "build everything" tree.

While there, separate #include from file comment with a blank line,
and drop a useless comment on why qemu/osdep.h is included first.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180201111846.21846-5-armbru@redhat.com>
[Semantic conflict with commit 34e304e975 resolved, OSX breakage fixed]

show more ...


/qemu/.gitmodules
/qemu/.travis.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/Makefile.objs
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/trace-events
/qemu/accel/stubs/Makefile.objs
/qemu/accel/stubs/whpx-stub.c
/qemu/accel/tcg/user-exec.c
/qemu/arch_init.c
/qemu/audio/alsaaudio.c
/qemu/audio/audio.c
/qemu/audio/audio_int.h
/qemu/audio/audio_pt_int.c
/qemu/audio/audio_template.h
/qemu/audio/dsoundaudio.c
/qemu/audio/mixeng.c
/qemu/audio/ossaudio.c
/qemu/audio/paaudio.c
/qemu/audio/sdlaudio.c
/qemu/audio/wavaudio.c
/qemu/audio/wavcapture.c
/qemu/backends/Makefile.objs
/qemu/backends/cryptodev.c
/qemu/backends/hostmem-memfd.c
/qemu/backends/hostmem.c
/qemu/backends/tpm.c
/qemu/balloon.c
/qemu/block.c
/qemu/block/Makefile.objs
/qemu/block/block-backend.c
/qemu/block/curl.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/nbd.c
/qemu/block/nvme.c
/qemu/block/parallels.h
/qemu/block/qapi.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2.c
/qemu/block/quorum.c
/qemu/block/ssh.c
/qemu/block/trace-events
/qemu/block/write-threshold.c
/qemu/blockdev-nbd.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/chardev/char-pty.c
/qemu/chardev/char-ringbuf.c
/qemu/chardev/char-socket.c
/qemu/chardev/char.c
/qemu/chardev/spice.c
/qemu/configure
/qemu/contrib/vhost-user-scsi/vhost-user-scsi.c
/qemu/cpus.c
/qemu/crypto/hash.c
/qemu/crypto/hmac.c
/qemu/crypto/ivgen-essiv.c
/qemu/crypto/ivgen-plain.c
/qemu/crypto/ivgen-plain64.c
/qemu/crypto/random-gnutls.c
/qemu/crypto/random-platform.c
/qemu/default-configs/arm-softmmu.mak
/qemu/default-configs/hppa-softmmu.mak
/qemu/default-configs/i386-softmmu.mak
/qemu/default-configs/mips-softmmu-common.mak
/qemu/default-configs/ppc-softmmu.mak
/qemu/default-configs/ppcemb-softmmu.mak
/qemu/default-configs/x86_64-softmmu.mak
/qemu/docs/devel/qapi-code-gen.txt
/qemu/docs/devel/testing.rst
/qemu/docs/qemu-block-drivers.texi
/qemu/dump.c
/qemu/exec.c
/qemu/fsdev/qemu-fsdev-throttle.c
/qemu/fsdev/qemu-fsdev-throttle.h
/qemu/fsdev/qemu-fsdev.c
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hmp.h
/qemu/hw/9pfs/9p-local.c
/qemu/hw/9pfs/9p-proxy.c
/qemu/hw/9pfs/9p-synth.c
/qemu/hw/9pfs/9p-synth.h
/qemu/hw/9pfs/9p.c
/qemu/hw/9pfs/9p.h
/qemu/hw/9pfs/trace-events
/qemu/hw/9pfs/virtio-9p-device.c
/qemu/hw/9pfs/xen-9p-backend.c
/qemu/hw/acpi/acpi-stub.c
/qemu/hw/acpi/core.c
/qemu/hw/acpi/memory_hotplug.c
/qemu/hw/acpi/vmgenid.c
/qemu/hw/adc/stm32f2xx_adc.c
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/boot.c
/qemu/hw/arm/gumstix.c
/qemu/hw/arm/mainstone.c
/qemu/hw/arm/musicpal.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/omap2.c
/qemu/hw/arm/omap_sx1.c
/qemu/hw/arm/pxa2xx.c
/qemu/hw/arm/spitz.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/z2.c
/qemu/hw/audio/marvell_88w8618.c
/qemu/hw/audio/sb16.c
/qemu/hw/audio/wm8750.c
/qemu/hw/block/nvme.h
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/char/escc.c
/qemu/hw/char/mcf_uart.c
/qemu/hw/char/virtio-console.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/core/qdev.c
/qemu/hw/display/exynos4210_fimd.c
/qemu/hw/display/milkymist-tmu2.c
/qemu/hw/display/qxl.c
/qemu/hw/display/virtio-gpu-3d.c
/qemu/hw/display/virtio-gpu-pci.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/display/xlnx_dp.c
/qemu/hw/dma/soc_dma.c
/qemu/hw/hppa/Makefile.objs
/qemu/hw/hppa/dino.c
/qemu/hw/hppa/hppa_hardware.h
/qemu/hw/hppa/hppa_sys.h
/qemu/hw/hppa/machine.c
/qemu/hw/hppa/pci.c
/qemu/hw/hppa/trace-events
/qemu/hw/i2c/Makefile.objs
/qemu/hw/i2c/ppc4xx_i2c.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/kvm/i8254.c
/qemu/hw/i386/kvm/i8259.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/xen/xen-hvm.c
/qemu/hw/ide/core.c
/qemu/hw/ide/sii3112.c
/qemu/hw/input/adb-kbd.c
/qemu/hw/input/adb-mouse.c
/qemu/hw/input/ps2.c
/qemu/hw/input/trace-events
/qemu/hw/input/virtio-input-hid.c
/qemu/hw/intc/arm_gic.c
/qemu/hw/intc/arm_gic_kvm.c
/qemu/hw/intc/arm_gicv3.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/arm_gicv3_kvm.c
/qemu/hw/intc/i8259.c
/qemu/hw/intc/xics_pnv.c
/qemu/hw/intc/xics_spapr.c
/qemu/hw/ipmi/ipmi.c
/qemu/hw/ipmi/ipmi_bmc_extern.c
/qemu/hw/ipmi/ipmi_bmc_sim.c
/qemu/hw/ipmi/isa_ipmi_bt.c
/qemu/hw/lm32/lm32_boards.c
/qemu/hw/lm32/milkymist.c
/qemu/hw/mips/mips_fulong2e.c
/qemu/hw/mips/mips_jazz.c
/qemu/hw/mips/mips_malta.c
/qemu/hw/mips/mips_mipssim.c
/qemu/hw/mips/mips_r4k.c
/qemu/hw/misc/exynos4210_rng.c
/qemu/hw/misc/ivshmem.c
/qemu/hw/misc/mips_cmgcr.c
/qemu/hw/misc/mps2-scc.c
/qemu/hw/moxie/moxiesim.c
/qemu/hw/net/rocker/qmp-norocker.c
/qemu/hw/net/rocker/rocker.c
/qemu/hw/net/rocker/rocker_of_dpa.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/nios2/cpu_pic.c
/qemu/hw/nvram/Makefile.objs
/qemu/hw/nvram/eeprom_at24c.c
/qemu/hw/openrisc/openrisc_sim.c
/qemu/hw/pci-bridge/gen_pcie_root_port.c
/qemu/hw/pci-bridge/i82801b11.c
/qemu/hw/pci-bridge/ioh3420.c
/qemu/hw/pci-bridge/xio3130_upstream.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/pci-host/grackle.c
/qemu/hw/pci-host/sabre.c
/qemu/hw/pci-host/trace-events
/qemu/hw/pci-host/uninorth.c
/qemu/hw/pci/pci-stub.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/fdt.c
/qemu/hw/ppc/mac_newworld.c
/qemu/hw/ppc/mac_oldworld.c
/qemu/hw/ppc/pnv_bmc.c
/qemu/hw/ppc/pnv_xscom.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/ppc405_boards.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_iommu.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_pci_vfio.c
/qemu/hw/ppc/spapr_rtc.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/s390x/s390-ccw.c
/qemu/hw/s390x/s390-skeys.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/scsi-generic.c
/qemu/hw/scsi/vhost-scsi-common.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/sd/sd.c
/qemu/hw/sd/sdhci.c
/qemu/hw/smbios/smbios-stub.c
/qemu/hw/sparc/leon3.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/niagara.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/sparc64/sun4u_iommu.c
/qemu/hw/ssi/stm32f2xx_spi.c
/qemu/hw/timer/i8254.c
/qemu/hw/timer/m48t59.c
/qemu/hw/timer/mc146818rtc.c
/qemu/hw/tpm/Makefile.objs
/qemu/hw/tpm/tpm_crb.c
/qemu/hw/tpm/tpm_emulator.c
/qemu/hw/tpm/tpm_int.h
/qemu/hw/tpm/tpm_ioctl.h
/qemu/hw/tpm/tpm_passthrough.c
/qemu/hw/tpm/tpm_tis.c
/qemu/hw/tpm/tpm_util.c
/qemu/hw/tpm/tpm_util.h
/qemu/hw/usb/ccid-card-passthru.c
/qemu/hw/vfio/amd-xgbe.c
/qemu/hw/vfio/calxeda-xgmac.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci-quirks.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/platform.c
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/watchdog/watchdog.c
/qemu/hw/xen/xen-common.c
/qemu/hw/xenpv/xen_machine_pv.c
/qemu/hw/xtensa/xtensa_memory.h
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/block/nvme.h
/qemu/include/block/qapi.h
/qemu/include/crypto/random.h
/qemu/include/crypto/xts.h
/qemu/include/exec/memory-internal.h
/qemu/include/exec/memory.h
/qemu/include/exec/tb-lookup.h
/qemu/include/hw/acpi/acpi_dev_interface.h
/qemu/include/hw/acpi/tpm.h
/qemu/include/hw/audio/wm8750.h
/qemu/include/hw/i2c/i2c.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/intc/xlnx-pmu-iomod-intc.h
/qemu/include/hw/intc/xlnx-zynqmp-ipi.h
/qemu/include/hw/loader-fit.h
/qemu/include/hw/nvram/fw_cfg.h
/qemu/include/hw/pci-bridge/simba.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/qdev-properties.h
/qemu/include/hw/registerfields.h
/qemu/include/hw/s390x/storage-attributes.h
/qemu/include/hw/xtensa/xtensa-isa.h
/qemu/include/migration/failover.h
/qemu/include/net/net.h
/qemu/include/net/slirp.h
/qemu/include/net/tap.h
/qemu/include/qapi/clone-visitor.h
/qemu/include/qapi/error.h
/qemu/include/qapi/qmp/qlit.h
/qemu/include/qemu/compiler.h
/qemu/include/qemu/coroutine.h
/qemu/include/qemu/lockable.h
/qemu/include/qemu/memfd.h
/qemu/include/qemu/processor.h
/qemu/include/qemu/thread.h
/qemu/include/qemu/timer.h
/qemu/include/qemu/typedefs.h
/qemu/include/qemu/vfio-helpers.h
/qemu/include/sysemu/arch_init.h
/qemu/include/sysemu/block-backend.h
/qemu/include/sysemu/dump.h
/qemu/include/sysemu/hvf.h
/qemu/include/sysemu/hw_accel.h
/qemu/include/sysemu/replay.h
/qemu/include/sysemu/sysemu.h
/qemu/include/sysemu/tpm.h
/qemu/include/sysemu/tpm_backend.h
/qemu/include/sysemu/whpx.h
/qemu/include/ui/console.h
/qemu/include/ui/input.h
/qemu/io/channel-websock.c
/qemu/iothread.c
/qemu/linux-user/hppa/target_cpu.h
/qemu/linux-user/main.c
/qemu/linux-user/signal.c
/qemu/linux-user/syscall.c
/qemu/memory.c
/qemu/migration/channel.c
/qemu/migration/channel.h
/qemu/migration/colo-failover.c
/qemu/migration/colo.c
/qemu/migration/exec.c
/qemu/migration/fd.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/migration/savevm.c
/qemu/migration/socket.c
/qemu/migration/tls.c
/qemu/migration/trace-events
/qemu/monitor.c
common.c
/qemu/net/clients.h
/qemu/net/colo-compare.c
/qemu/net/colo.c
/qemu/net/colo.h
/qemu/net/filter-replay.c
/qemu/net/filter-rewriter.c
/qemu/net/hub.c
/qemu/net/hub.h
/qemu/net/net.c
/qemu/net/slirp.c
/qemu/net/tap_int.h
/qemu/net/trace-events
/qemu/net/vhost-user.c
/qemu/numa.c
/qemu/pc-bios/hppa-firmware.img
/qemu/qapi/block-core.json
/qemu/qapi/common.json
/qemu/qapi/net.json
/qemu/qapi/qmp-dispatch.c
/qemu/qapi/tpm.json
/qemu/qapi/ui.json
/qemu/qdev-monitor.c
/qemu/qemu-doc.texi
/qemu/qemu-img.c
/qemu/qemu-keymap.c
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/commands.c
/qemu/qga/main.c
/qemu/qga/vss-win32.c
/qemu/qmp.c
/qemu/qobject/qnum.c
/qemu/replay/replay-input.c
/qemu/roms/seabios-hppa
/qemu/scripts/dump-guest-memory.py
/qemu/scripts/qapi-commands.py
/qemu/scripts/qapi-event.py
/qemu/scripts/qapi.py
/qemu/scripts/qapi2texi.py
/qemu/scripts/qemu.py
/qemu/scripts/qemugdb/timers.py
/qemu/scripts/signrom.py
/qemu/scripts/tracetool/__init__.py
/qemu/scsi/pr-helper.h
/qemu/stubs/Makefile.objs
/qemu/stubs/arch-query-cpu-def.c
/qemu/stubs/arch-query-cpu-model-baseline.c
/qemu/stubs/arch-query-cpu-model-comparison.c
/qemu/stubs/arch-query-cpu-model-expansion.c
/qemu/stubs/ram-block.c
/qemu/stubs/vmgenid.c
/qemu/target/alpha/cpu.c
/qemu/target/arm/cpu.c
/qemu/target/arm/kvm.c
/qemu/target/cris/cpu.c
/qemu/target/hppa/Makefile.objs
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/gdbstub.c
/qemu/target/hppa/helper.c
/qemu/target/hppa/helper.h
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/machine.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/i386/Makefile.objs
/qemu/target/i386/cpu.c
/qemu/target/i386/hax-all.c
/qemu/target/i386/helper.c
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/vmx.h
/qemu/target/i386/hvf/x86_decode.c
/qemu/target/i386/hvf/x86_mmu.c
/qemu/target/i386/hvf/x86_task.c
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/whpx-all.c
/qemu/target/i386/xsave_helper.c
/qemu/target/lm32/cpu.c
/qemu/target/m68k/cpu.c
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/moxie/cpu.c
/qemu/target/nios2/cpu.c
/qemu/target/nios2/helper.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/kvm_ppc.h
/qemu/target/ppc/mmu-book3s-v3.c
/qemu/target/ppc/mmu-hash64.c
/qemu/target/ppc/mmu-radix64.c
/qemu/target/ppc/mmu_helper.c
/qemu/target/ppc/translate_init.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/excp_helper.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/helper.c
/qemu/target/s390x/kvm.c
/qemu/target/sh4/cpu.c
/qemu/target/sparc/cpu.c
/qemu/target/tilegx/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/unicore32/cpu.c
/qemu/target/xtensa/core-dc232b/xtensa-modules.c
/qemu/target/xtensa/core-dc233c/xtensa-modules.c
/qemu/target/xtensa/core-de212/xtensa-modules.c
/qemu/target/xtensa/core-fsf/xtensa-modules.c
/qemu/target/xtensa/core-sample_controller/xtensa-modules.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/xtensa-isa.c
/qemu/target/xtensa/xtensa-isa.h
/qemu/tests/Makefile.include
/qemu/tests/boot-serial-test.c
/qemu/tests/check-qlist.c
/qemu/tests/check-qnum.c
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/ide-test.c
/qemu/tests/io-channel-helpers.c
/qemu/tests/libqos/virtio.c
/qemu/tests/libqos/virtio.h
/qemu/tests/migration-test.c
/qemu/tests/migration/stress.c
/qemu/tests/ptimer-test.c
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qemu-iotests/147
/qemu/tests/qemu-iotests/147.out
/qemu/tests/qemu-iotests/200
/qemu/tests/qemu-iotests/205
/qemu/tests/qemu-iotests/205.out
/qemu/tests/qemu-iotests/group
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/test-aio-multithread.c
/qemu/tests/test-clone-visitor.c
/qemu/tests/test-coroutine.c
/qemu/tests/test-filter-redirector.c
/qemu/tests/test-qapi-util.c
/qemu/tests/test-qmp-commands.c
/qemu/tests/test-qmp-event.c
/qemu/tests/test-qobject-input-visitor.c
/qemu/tests/test-qobject-output-visitor.c
/qemu/tests/test-string-input-visitor.c
/qemu/tests/test-string-output-visitor.c
/qemu/tests/test-visitor-serialization.c
/qemu/tests/test-x86-cpuid-compat.c
/qemu/tests/tpm-crb-test.c
/qemu/tests/vhost-user-test.c
/qemu/tests/virtio-9p-test.c
/qemu/tests/virtio-blk-test.c
/qemu/tests/virtio-net-test.c
/qemu/tests/virtio-scsi-test.c
/qemu/tests/vm/README
/qemu/tpm.c
/qemu/trace/control-internal.h
/qemu/trace/qmp.c
/qemu/ui/Makefile.objs
/qemu/ui/cocoa.m
/qemu/ui/console.c
/qemu/ui/gtk.c
/qemu/ui/input-keymap.c
/qemu/ui/input-legacy.c
/qemu/ui/input.c
/qemu/ui/keycodemapdb
/qemu/ui/sdl.c
/qemu/ui/spice-core.c
/qemu/ui/vnc-auth-sasl.c
/qemu/ui/vnc-stubs.c
/qemu/ui/vnc.c
/qemu/ui/vnc.h
/qemu/util/Makefile.objs
/qemu/util/coroutine-ucontext.c
/qemu/util/hbitmap.c
/qemu/util/memfd.c
/qemu/util/qemu-config.c
/qemu/util/qemu-coroutine-lock.c
/qemu/util/qemu-sockets.c
/qemu/util/readline.c
/qemu/util/trace-events
/qemu/util/vfio-helpers.c
/qemu/vl.c
a3b0dc7519-Jan-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

qapi: add nbd-server-remove

Add command for removing an export. It is needed for cases when we
don't want to keep the export after the operation on it was completed.
The other example is a temporary

qapi: add nbd-server-remove

Add command for removing an export. It is needed for cases when we
don't want to keep the export after the operation on it was completed.
The other example is a temporary node, created with blockdev-add.
If we want to delete it we should firstly remove any corresponding
NBD export.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180119135719.24745-3-vsementsov@virtuozzo.com>
[eblake: drop dead nb_clients code]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...


/qemu/.gitignore
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/Makefile.objs
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/softmmu_template.h
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/user-exec.c
/qemu/backends/hostmem-file.c
/qemu/block/Makefile.objs
/qemu/block/parallels.c
/qemu/block/parallels.h
/qemu/block/qcow.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-refcount.c
/qemu/block/qcow2.c
/qemu/block/vmdk.c
/qemu/blockdev-nbd.c
/qemu/blockdev.c
/qemu/configure
/qemu/contrib/libvhost-user/libvhost-user.c
/qemu/contrib/libvhost-user/libvhost-user.h
/qemu/contrib/vhost-user-blk/Makefile.objs
/qemu/contrib/vhost-user-blk/vhost-user-blk.c
/qemu/default-configs/aarch64-softmmu.mak
/qemu/default-configs/microblaze-softmmu.mak
/qemu/default-configs/pci.mak
/qemu/default-configs/ppc-softmmu.mak
/qemu/default-configs/ppc64-softmmu.mak
/qemu/default-configs/s390x-softmmu.mak
/qemu/default-configs/sparc64-softmmu.mak
/qemu/disas/xtensa.c
/qemu/docs/devel/migration.rst
/qemu/docs/interop/prl-xml.txt
/qemu/docs/interop/vhost-user.txt
/qemu/docs/nvdimm.txt
/qemu/exec.c
/qemu/hmp-commands-info.hx
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hw/acpi/nvdimm.c
/qemu/hw/arm/Makefile.objs
/qemu/hw/arm/nseries.c
/qemu/hw/arm/omap1.c
/qemu/hw/arm/omap2.c
/qemu/hw/arm/palm.c
/qemu/hw/arm/pxa2xx.c
/qemu/hw/arm/pxa2xx_gpio.c
/qemu/hw/arm/pxa2xx_pic.c
/qemu/hw/arm/tosa.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/audio/hda-codec.c
/qemu/hw/audio/intel-hda.c
/qemu/hw/audio/wm8750.c
/qemu/hw/block/Makefile.objs
/qemu/hw/block/nand.c
/qemu/hw/block/nvme.c
/qemu/hw/block/nvme.h
/qemu/hw/block/onenand.c
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/bt/core.c
/qemu/hw/bt/hci-csr.c
/qemu/hw/bt/hci.c
/qemu/hw/bt/hid.c
/qemu/hw/bt/l2cap.c
/qemu/hw/bt/sdp.c
/qemu/hw/core/Makefile.objs
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-fw.c
/qemu/hw/core/qdev.c
/qemu/hw/display/Makefile.objs
/qemu/hw/display/blizzard.c
/qemu/hw/display/omap_dss.c
/qemu/hw/display/pl110.c
/qemu/hw/display/pxa2xx_lcd.c
/qemu/hw/display/qxl-render.c
/qemu/hw/display/qxl.h
/qemu/hw/display/sm501.c
/qemu/hw/display/tc6393xb.c
/qemu/hw/display/vga.c
/qemu/hw/display/xenfb.c
/qemu/hw/dma/Makefile.objs
/qemu/hw/dma/omap_dma.c
/qemu/hw/dma/pxa2xx_dma.c
/qemu/hw/gpio/max7310.c
/qemu/hw/gpio/omap_gpio.c
/qemu/hw/i2c/omap_i2c.c
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/intel_iommu_internal.h
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86-iommu.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/ahci_internal.h
/qemu/hw/ide/core.c
/qemu/hw/ide/microdrive.c
/qemu/hw/ide/sii3112.c
/qemu/hw/input/lm832x.c
/qemu/hw/input/pxa2xx_keypad.c
/qemu/hw/input/tsc2005.c
/qemu/hw/input/tsc210x.c
/qemu/hw/intc/Makefile.objs
/qemu/hw/intc/arm_gic.c
/qemu/hw/intc/grlib_irqmp.c
/qemu/hw/intc/omap_intc.c
/qemu/hw/intc/xlnx-pmu-iomod-intc.c
/qemu/hw/intc/xlnx-zynqmp-ipi.c
/qemu/hw/ipmi/ipmi_bmc_extern.c
/qemu/hw/isa/isa-bus.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/microblaze/Makefile.objs
/qemu/hw/microblaze/boot.c
/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/qemu/hw/mips/gt64xxx_pci.c
/qemu/hw/misc/cbus.c
/qemu/hw/misc/omap_clk.c
/qemu/hw/misc/omap_gpmc.c
/qemu/hw/misc/omap_l4.c
/qemu/hw/misc/omap_sdrc.c
/qemu/hw/misc/omap_tap.c
/qemu/hw/misc/tmp105.c
/qemu/hw/net/imx_fec.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/pci-bridge/Makefile.objs
/qemu/hw/pci-bridge/gen_pcie_root_port.c
/qemu/hw/pci-bridge/simba.c
/qemu/hw/pci-host/Makefile.objs
/qemu/hw/pci-host/bonito.c
/qemu/hw/pci-host/sabre.c
/qemu/hw/pci-host/trace-events
/qemu/hw/pci/shpc.c
/qemu/hw/ppc/Makefile.objs
/qemu/hw/ppc/e500plat.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_xscom.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_caps.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/s390x/s390-stattrib-kvm.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/sclp.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/sd/sdhci.c
/qemu/hw/sparc64/sparc64.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/sparc64/trace-events
/qemu/hw/ssi/omap_spi.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/timer/omap_gptimer.c
/qemu/hw/timer/twl92230.c
/qemu/hw/usb/Makefile.objs
/qemu/hw/usb/ccid-card-emulated.c
/qemu/hw/usb/ccid-card-passthru.c
/qemu/hw/usb/ccid.h
/qemu/hw/usb/desc.c
/qemu/hw/usb/dev-bluetooth.c
/qemu/hw/usb/dev-network.c
/qemu/hw/usb/dev-serial.c
/qemu/hw/usb/dev-smartcard-reader.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/usb/hcd-musb.c
/qemu/hw/usb/host-stub.c
/qemu/hw/usb/tusb6010.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio-pci.h
/qemu/hw/xen/xen_backend.c
/qemu/hw/xenpv/xen_domainbuild.c
/qemu/hw/xenpv/xen_machine_pv.c
/qemu/hw/xtensa/Makefile.objs
/qemu/hw/xtensa/sim.c
/qemu/hw/xtensa/xtensa_memory.c
/qemu/hw/xtensa/xtensa_memory.h
/qemu/hw/xtensa/xtfpga.c
/qemu/include/block/nbd.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/memory.h
/qemu/include/hw/arm/omap.h
/qemu/include/hw/arm/sharpsl.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/boards.h
/qemu/include/hw/i386/intel_iommu.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/ide/ahci.h
/qemu/include/hw/intc/xlnx-pmu-iomod-intc.h
/qemu/include/hw/intc/xlnx-zynqmp-ipi.h
/qemu/include/hw/mem/nvdimm.h
/qemu/include/hw/pci-bridge/simba.h
/qemu/include/hw/pci-host/sabre.h
/qemu/include/hw/ppc/pnv.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/qdev-core.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/hw/sd/sdhci.h
/qemu/include/hw/usb.h
/qemu/include/hw/virtio/vhost-backend.h
/qemu/include/hw/virtio/vhost-user-blk.h
/qemu/include/hw/virtio/vhost.h
/qemu/include/migration/vmstate.h
/qemu/include/qemu/host-utils.h
/qemu/include/qemu/memfd.h
/qemu/include/qom/cpu.h
/qemu/include/standard-headers/asm-s390/virtio-ccw.h
/qemu/include/sysemu/sysemu.h
/qemu/include/ui/console.h
/qemu/include/ui/input.h
/qemu/linux-headers/asm-powerpc/kvm.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-s390/kvm_para.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-user/elfload.c
/qemu/linux-user/main.c
/qemu/linux-user/mmap.c
/qemu/linux-user/signal.c
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/memory.c
/qemu/memory_mapping.c
/qemu/migration/block.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/postcopy-ram.c
/qemu/migration/trace-events
server.c
/qemu/numa.c
/qemu/pc-bios/openbios-ppc
/qemu/pc-bios/openbios-sparc32
/qemu/pc-bios/openbios-sparc64
/qemu/pc-bios/skiboot.lid
/qemu/qapi/block-core.json
/qemu/qapi/block.json
/qemu/qapi/migration.json
/qemu/qdev-monitor.c
/qemu/qemu-doc.texi
/qemu/qemu-options.hx
/qemu/roms/openbios
/qemu/roms/skiboot
/qemu/scripts/checkpatch.pl
/qemu/scripts/device-crash-test
/qemu/scripts/dump-guest-memory.py
/qemu/target/alpha/cpu.h
/qemu/target/alpha/helper.c
/qemu/target/alpha/mem_helper.c
/qemu/target/arm/arch_dump.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/crypto_helper.c
/qemu/target/arm/helper-a64.c
/qemu/target/arm/helper.c
/qemu/target/arm/helper.h
/qemu/target/arm/kvm32.c
/qemu/target/arm/kvm64.c
/qemu/target/arm/machine.c
/qemu/target/arm/neon_helper.c
/qemu/target/arm/op_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/cris/cpu.h
/qemu/target/cris/helper.c
/qemu/target/cris/op_helper.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/excp_helper.c
/qemu/target/i386/kvm.c
/qemu/target/i386/machine.c
/qemu/target/i386/mem_helper.c
/qemu/target/lm32/cpu.h
/qemu/target/lm32/helper.c
/qemu/target/lm32/op_helper.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/helper.c
/qemu/target/m68k/helper.h
/qemu/target/m68k/monitor.c
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.h
/qemu/target/microblaze/helper.c
/qemu/target/microblaze/op_helper.c
/qemu/target/mips/helper.c
/qemu/target/mips/internal.h
/qemu/target/mips/op_helper.c
/qemu/target/moxie/cpu.h
/qemu/target/moxie/helper.c
/qemu/target/nios2/cpu.h
/qemu/target/nios2/helper.c
/qemu/target/nios2/mmu.c
/qemu/target/openrisc/cpu.h
/qemu/target/openrisc/mmu.c
/qemu/target/openrisc/mmu_helper.c
/qemu/target/ppc/compat.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/kvm.c
/qemu/target/ppc/kvm_ppc.h
/qemu/target/ppc/mmu_helper.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate_init.c
/qemu/target/ppc/user_only_helper.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/cpu_features.c
/qemu/target/s390x/cpu_features_def.h
/qemu/target/s390x/excp_helper.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/helper.h
/qemu/target/s390x/internal.h
/qemu/target/s390x/kvm.c
/qemu/target/s390x/machine.c
/qemu/target/s390x/mem_helper.c
/qemu/target/s390x/translate.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.c
/qemu/target/sh4/op_helper.c
/qemu/target/sparc/cpu.h
/qemu/target/sparc/ldst_helper.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/tilegx/cpu.c
/qemu/target/tricore/op_helper.c
/qemu/target/unicore32/cpu.h
/qemu/target/unicore32/helper.c
/qemu/target/unicore32/op_helper.c
/qemu/target/unicore32/softmmu.c
/qemu/target/xtensa/Makefile.objs
/qemu/target/xtensa/core-de212.c
/qemu/target/xtensa/core-de212/core-isa.h
/qemu/target/xtensa/core-de212/gdb-config.c
/qemu/target/xtensa/core-de212/xtensa-modules.c
/qemu/target/xtensa/core-sample_controller.c
/qemu/target/xtensa/core-sample_controller/core-isa.h
/qemu/target/xtensa/core-sample_controller/gdb-config.c
/qemu/target/xtensa/core-sample_controller/xtensa-modules.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/op_helper.c
/qemu/target/xtensa/overlay_tool.h
/qemu/target/xtensa/translate.c
/qemu/tests/.gitignore
/qemu/tests/Makefile.include
/qemu/tests/acpi-test-data/pc/DSDT.numamem
/qemu/tests/acpi-test-data/pc/SRAT.numamem
/qemu/tests/acpi-test-data/q35/DSDT.numamem
/qemu/tests/acpi-test-data/q35/SRAT.numamem
/qemu/tests/ahci-test.c
/qemu/tests/bios-tables-test.c
/qemu/tests/boot-serial-test.c
/qemu/tests/cpu-plug-test.c
/qemu/tests/migration-test.c
/qemu/tests/pnv-xscom-test.c
/qemu/tests/qemu-iotests/020
/qemu/tests/qemu-iotests/020.out
/qemu/tests/qemu-iotests/051
/qemu/tests/qemu-iotests/051.out
/qemu/tests/qemu-iotests/051.pc.out
/qemu/tests/qemu-iotests/059
/qemu/tests/qemu-iotests/059.out
/qemu/tests/qemu-iotests/060
/qemu/tests/qemu-iotests/060.out
/qemu/tests/qemu-iotests/067
/qemu/tests/qemu-iotests/067.out
/qemu/tests/qemu-iotests/080
/qemu/tests/qemu-iotests/089
/qemu/tests/qemu-iotests/089.out
/qemu/tests/qemu-iotests/093
/qemu/tests/qemu-iotests/102
/qemu/tests/qemu-iotests/102.out
/qemu/tests/qemu-iotests/103
/qemu/tests/qemu-iotests/118
/qemu/tests/qemu-iotests/130
/qemu/tests/qemu-iotests/137
/qemu/tests/qemu-iotests/139
/qemu/tests/qemu-iotests/155
/qemu/tests/qemu-iotests/176
/qemu/tests/qemu-iotests/177
/qemu/tests/qemu-iotests/177.out
/qemu/tests/qemu-iotests/184
/qemu/tests/qemu-iotests/184.out
/qemu/tests/qemu-iotests/191
/qemu/tests/qemu-iotests/191.out
/qemu/tests/qemu-iotests/198
/qemu/tests/qemu-iotests/198.out
/qemu/tests/qemu-iotests/201
/qemu/tests/qemu-iotests/201.out
/qemu/tests/qemu-iotests/204
/qemu/tests/qemu-iotests/204.out
/qemu/tests/qemu-iotests/common.filter
/qemu/tests/qemu-iotests/common.rc
/qemu/tests/qemu-iotests/group
/qemu/tests/vhost-user-test.c
/qemu/ui/Makefile.objs
/qemu/ui/cocoa.m
/qemu/ui/cursor.c
/qemu/ui/gtk.c
/qemu/ui/input-keymap.c
/qemu/ui/sdl.c
/qemu/ui/sdl2-input.c
/qemu/ui/sdl2.c
/qemu/ui/spice-display.c
/qemu/ui/trace-events
/qemu/ui/vnc.c
/qemu/ui/vnc.h
/qemu/ui/x_keymap.c
/qemu/ui/x_keymap.h
/qemu/util/memfd.c
/qemu/util/osdep.c
/qemu/vl.c
1d17922a10-Jan-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: structurize option reply sending

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171122101958.17065-6-vs

nbd/server: structurize option reply sending

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171122101958.17065-6-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

894e028010-Jan-2018 Eric Blake <eblake@redhat.com>

nbd/server: Add helper functions for parsing option payload

Rather than making every callsite perform length sanity checks
and error reporting, add the helper functions nbd_opt_read()
and nbd_opt_dr

nbd/server: Add helper functions for parsing option payload

Rather than making every callsite perform length sanity checks
and error reporting, add the helper functions nbd_opt_read()
and nbd_opt_drop() that use the length stored in the client
struct; also add an assertion that optlen is 0 before any
option (ie. any previous option was fully handled), complementing
the assertion added in an earlier patch that optlen is 0 after
all negotiation completes.

Note that the call in nbd_negotiate_handle_export_name() does
not use the new helper (in part because the server cannot
reply to NBD_OPT_EXPORT_NAME - it either succeeds or the
connection drops).

Based on patches by Vladimir Sementsov-Ogievskiy.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180110230825.18321-6-eblake@redhat.com>

show more ...

41f5dfaf10-Jan-2018 Eric Blake <eblake@redhat.com>

nbd/server: Add va_list form of nbd_negotiate_send_rep_err()

This will be useful for the next patch.

Based on a patch by Vladimir Sementsov-Ogievskiy

Signed-off-by: Eric Blake <eblake@redhat.com>

nbd/server: Add va_list form of nbd_negotiate_send_rep_err()

This will be useful for the next patch.

Based on a patch by Vladimir Sementsov-Ogievskiy

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180110230825.18321-5-eblake@redhat.com>

show more ...

32f158a610-Jan-2018 Eric Blake <eblake@redhat.com>

nbd/server: Better error for NBD_OPT_EXPORT_NAME failure

When a client abruptly disconnects before we've finished reading
the name sent with NBD_OPT_EXPORT_NAME, we are better off logging
the failur

nbd/server: Better error for NBD_OPT_EXPORT_NAME failure

When a client abruptly disconnects before we've finished reading
the name sent with NBD_OPT_EXPORT_NAME, we are better off logging
the failure as EIO (we can't communicate with the client), rather
than EINVAL (the client sent bogus data).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180110230825.18321-4-eblake@redhat.com>

show more ...

0cfae92510-Jan-2018 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: refactor negotiation functions parameters

Instead of passing currently negotiating option and its length to
many of negotiation functions let's just store them on NBDClient
struct to be

nbd/server: refactor negotiation functions parameters

Instead of passing currently negotiating option and its length to
many of negotiation functions let's just store them on NBDClient
struct to be state-variables of negotiation phase.

This unifies semantics of negotiation functions and allows
tracking changes of remaining option length in future patches.

Asssert that optlen is back to 0 after negotiation (including
old-style connections which don't negotiate), although we need
more patches before we can assert optlen is 0 between options
during negotiation.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171122101958.17065-2-vsementsov@virtuozzo.com>
[eblake: rebase, commit message tweak, assert !optlen after
negotiation completes]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

a16a790710-Jan-2018 Eric Blake <eblake@redhat.com>

nbd/server: Hoist nbd_reject_length() earlier

No semantic change, but will make it easier for an upcoming patch
to refactor code without having to add forward declarations. Fix
a poor comment while

nbd/server: Hoist nbd_reject_length() earlier

No semantic change, but will make it easier for an upcoming patch
to refactor code without having to add forward declarations. Fix
a poor comment while at it.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180110230825.18321-2-eblake@redhat.com>

show more ...


/qemu/MAINTAINERS
/qemu/Makefile
/qemu/Makefile.objs
/qemu/audio/paaudio.c
/qemu/block/iscsi.c
/qemu/chardev/char-fe.c
/qemu/chardev/char-pty.c
/qemu/chardev/char-serial.c
/qemu/chardev/char-socket.c
/qemu/chardev/char.c
/qemu/configure
/qemu/cpus.c
/qemu/crypto/ivgen-essiv.c
/qemu/default-configs/aarch64_be-linux-user.mak
/qemu/default-configs/ppcemb-softmmu.mak
/qemu/disas/Makefile.objs
/qemu/disas/s390.c
/qemu/disas/xtensa.c
/qemu/docs/devel/build-system.txt
/qemu/docs/devel/migration.rst
/qemu/docs/interop/vhost-user.txt
/qemu/dtc
/qemu/exec.c
/qemu/hmp.c
/qemu/hw/acpi/pcihp.c
/qemu/hw/acpi/piix4.c
/qemu/hw/acpi/vmgenid.c
/qemu/hw/adc/stm32f2xx_adc.c
/qemu/hw/alpha/typhoon.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/block/m25p80.c
/qemu/hw/char/cadence_uart.c
/qemu/hw/char/stm32f2xx_usart.c
/qemu/hw/char/terminal3270.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/display/cg3.c
/qemu/hw/display/dpcd.c
/qemu/hw/display/qxl.c
/qemu/hw/display/sm501.c
/qemu/hw/display/xlnx_dp.c
/qemu/hw/dma/Makefile.objs
/qemu/hw/dma/pl330.c
/qemu/hw/dma/sparc32_dma.c
/qemu/hw/dma/trace-events
/qemu/hw/dma/xlnx-zynq-devcfg.c
/qemu/hw/dma/xlnx_dpdma.c
/qemu/hw/i2c/i2c-ddc.c
/qemu/hw/i2c/pm_smbus.c
/qemu/hw/i2c/ppc4xx_i2c.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/xen/xen_platform.c
/qemu/hw/ide/Makefile.objs
/qemu/hw/ide/sii3112.c
/qemu/hw/ide/trace-events
/qemu/hw/intc/arm_gic.c
/qemu/hw/intc/arm_gicv3_dist.c
/qemu/hw/intc/arm_gicv3_its_common.c
/qemu/hw/intc/arm_gicv3_redist.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/slavio_intctl.c
/qemu/hw/isa/lpc_ich9.c
/qemu/hw/mips/gt64xxx_pci.c
/qemu/hw/misc/auxbus.c
/qemu/hw/misc/macio/mac_dbdma.c
/qemu/hw/misc/mmio_interface.c
/qemu/hw/misc/stm32f2xx_syscfg.c
/qemu/hw/misc/zynq_slcr.c
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/imx_fec.c
/qemu/hw/net/lance.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/nvram/ds1225y.c
/qemu/hw/pci-bridge/pci_expander_bridge.c
/qemu/hw/pci-host/apb.c
/qemu/hw/pci-host/bonito.c
/qemu/hw/pci-host/gpex.c
/qemu/hw/pci-host/grackle.c
/qemu/hw/pci-host/piix.c
/qemu/hw/pci-host/ppce500.c
/qemu/hw/pci-host/prep.c
/qemu/hw/pci-host/q35.c
/qemu/hw/pci-host/uninorth.c
/qemu/hw/pci-host/versatile.c
/qemu/hw/pci-host/xilinx-pcie.c
/qemu/hw/pci/pci.c
/qemu/hw/pci/pci_bridge.c
/qemu/hw/pci/pcie.c
/qemu/hw/pci/pcie_aer.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_bmc.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/pnv_lpc.c
/qemu/hw/ppc/pnv_psi.c
/qemu/hw/ppc/pnv_xscom.c
/qemu/hw/ppc/ppc4xx_pci.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_pci_vfio.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/scsi/megasas.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/scsi/scsi-generic.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/sd/milkymist-memcard.c
/qemu/hw/sd/omap_mmc.c
/qemu/hw/sd/pl181.c
/qemu/hw/sd/pxa2xx_mmci.c
/qemu/hw/sd/sdhci-internal.h
/qemu/hw/sd/sdhci.c
/qemu/hw/sd/ssi-sd.c
/qemu/hw/sd/trace-events
/qemu/hw/sh4/sh_pci.c
/qemu/hw/smbios/smbios.c
/qemu/hw/smbios/smbios_build.h
/qemu/hw/sparc/Makefile.objs
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc/sun4m_iommu.c
/qemu/hw/sparc/trace-events
/qemu/hw/sparc64/Makefile.objs
/qemu/hw/sparc64/sparc64.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/sparc64/sun4u_iommu.c
/qemu/hw/sparc64/trace-events
/qemu/hw/ssi/mss-spi.c
/qemu/hw/ssi/stm32f2xx_spi.c
/qemu/hw/ssi/xilinx_spi.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/timer/a9gtimer.c
/qemu/hw/timer/cadence_ttc.c
/qemu/hw/timer/hpet.c
/qemu/hw/timer/mss-timer.c
/qemu/hw/timer/pxa2xx_timer.c
/qemu/hw/timer/slavio_timer.c
/qemu/hw/timer/stm32f2xx_timer.c
/qemu/hw/tpm/tpm_passthrough.c
/qemu/hw/tpm/tpm_tis.c
/qemu/hw/usb/hcd-xhci.c
/qemu/hw/vfio/pci.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio.c
/qemu/hw/xen/xen_pt.c
/qemu/include/chardev/char.h
/qemu/include/disas/bfd.h
/qemu/include/exec/ram_addr.h
/qemu/include/hw/arm/fsl-imx25.h
/qemu/include/hw/compat.h
/qemu/include/hw/i2c/ppc4xx_i2c.h
/qemu/include/hw/i386/x86-iommu.h
/qemu/include/hw/net/imx_fec.h
/qemu/include/hw/pci-host/apb.h
/qemu/include/hw/pci-host/xilinx-pcie.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/pci/pci_bridge.h
/qemu/include/hw/pci/pci_bus.h
/qemu/include/hw/ppc/pnv.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/qdev-properties.h
/qemu/include/hw/sd/sdhci.h
/qemu/include/hw/smbios/smbios.h
/qemu/include/hw/sparc/sparc64.h
/qemu/include/hw/sparc/sun4m_iommu.h
/qemu/include/hw/sparc/sun4u_iommu.h
/qemu/include/hw/xen/xen_common.h
/qemu/include/hw/xtensa/xtensa-isa.h
/qemu/include/migration/misc.h
/qemu/include/qemu/readline.h
/qemu/include/qemu/thread.h
/qemu/include/ui/sdl2.h
/qemu/include/ui/spice-display.h
/qemu/linux-user/aarch64/target_syscall.h
/qemu/linux-user/arm/nwfpe/fpa11.c
/qemu/linux-user/main.c
/qemu/linux-user/signal.c
/qemu/migration/migration.c
/qemu/migration/migration.h
/qemu/migration/postcopy-ram.c
/qemu/migration/ram.c
/qemu/migration/rdma.c
/qemu/migration/socket.c
/qemu/migration/trace-events
/qemu/monitor.c
server.c
/qemu/pc-bios/README
/qemu/pc-bios/slof.bin
/qemu/qapi/migration.json
/qemu/qemu-doc.texi
/qemu/roms/SLOF
/qemu/rules.mak
/qemu/scripts/analyse-locks-simpletrace.py
/qemu/scripts/analyze-migration.py
/qemu/scripts/checkpatch.pl
/qemu/scripts/device-crash-test
/qemu/scripts/qemu-binfmt-conf.sh
/qemu/scripts/qemu-gdb.py
/qemu/scripts/qemugdb/tcg.py
/qemu/scripts/qemugdb/timers.py
/qemu/scsi/utils.c
/qemu/slirp/dhcpv6.h
/qemu/slirp/ip.h
/qemu/slirp/ip6_icmp.c
/qemu/slirp/libslirp.h
/qemu/slirp/ndp_table.c
/qemu/slirp/slirp.h
/qemu/slirp/udp6.c
/qemu/target/arm/helper-a64.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/op_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/hax-all.c
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/kvm.c
/qemu/target/mips/msa_helper.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/int_helper.c
/qemu/target/s390x/kvm.c
/qemu/target/sparc/mmu_helper.c
/qemu/target/xtensa/Makefile.objs
/qemu/target/xtensa/core-dc232b.c
/qemu/target/xtensa/core-dc232b/xtensa-modules.c
/qemu/target/xtensa/core-dc233c.c
/qemu/target/xtensa/core-dc233c/xtensa-modules.c
/qemu/target/xtensa/core-fsf.c
/qemu/target/xtensa/core-fsf/xtensa-modules.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/helper.c
/qemu/target/xtensa/import_core.sh
/qemu/target/xtensa/op_helper.c
/qemu/target/xtensa/translate.c
/qemu/target/xtensa/xtensa-isa-internal.h
/qemu/target/xtensa/xtensa-isa.c
/qemu/target/xtensa/xtensa-isa.h
/qemu/tcg/arm/tcg-target.inc.c
/qemu/tcg/ppc/tcg-target.inc.c
/qemu/tests/Makefile.include
/qemu/tests/acpi-utils.h
/qemu/tests/boot-serial-test.c
/qemu/tests/check-qobject.c
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/test-clang
/qemu/tests/docker/test-debug
/qemu/tests/docker/test-mingw
/qemu/tests/migration-test.c
/qemu/tests/pxe-test.c
/qemu/tests/qmp-test.c
/qemu/tests/tcg/test-mmap.c
/qemu/tests/tcg/xtensa/test_sr.S
/qemu/tests/test-coroutine.c
/qemu/tests/vhost-user-bridge.c
/qemu/tests/virtio-blk-test.c
/qemu/trace-events
/qemu/ui/gtk.c
/qemu/ui/input.c
/qemu/ui/sdl2.c
/qemu/ui/sdl_zoom_template.h
/qemu/ui/spice-core.c
/qemu/ui/spice-display.c
/qemu/ui/trace-events
/qemu/ui/vnc-auth-sasl.c
/qemu/ui/vnc-auth-sasl.h
/qemu/ui/vnc-jobs.c
/qemu/ui/vnc.c
/qemu/ui/vnc.h
/qemu/util/qemu-config.c
/qemu/util/qemu-thread-posix.c
/qemu/util/qemu-thread-win32.c
/qemu/util/readline.c
/qemu/util/trace-events
/qemu/vl.c
420a4e9522-Nov-2017 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd: rename nbd_option and nbd_opt_reply

Rename nbd_option and nbd_opt_reply to NBDOption and NBDOptionReply
to correspond to Qemu coding style and other structures here.

Signed-off-by: Vladimir Se

nbd: rename nbd_option and nbd_opt_reply

Rename nbd_option and nbd_opt_reply to NBDOption and NBDOptionReply
to correspond to Qemu coding style and other structures here.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171122101958.17065-5-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

9156245e07-Dec-2017 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd/server: add additional assert to nbd_export_put

This place is not obvious, nbd_export_close may theoretically reduce
refcount to 0. It may happen if someone calls nbd_export_put on named
export

nbd/server: add additional assert to nbd_export_put

This place is not obvious, nbd_export_close may theoretically reduce
refcount to 0. It may happen if someone calls nbd_export_put on named
export not through nbd_export_set_name when refcount is 1.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20171207155102.66622-2-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...


/qemu/MAINTAINERS
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/tcg-runtime.c
/qemu/block/nbd.c
/qemu/configure
/qemu/dump.c
/qemu/fsdev/file-op-9p.h
/qemu/fsdev/qemu-fsdev.c
/qemu/hw/9pfs/9p-handle.c
/qemu/hw/9pfs/9p-local.c
/qemu/hw/9pfs/9p-proxy.c
/qemu/hw/9pfs/9p-synth.c
/qemu/hw/9pfs/9p-xattr.h
/qemu/hw/9pfs/9p.c
/qemu/hw/9pfs/9p.h
/qemu/hw/9pfs/virtio-9p-device.c
/qemu/hw/9pfs/xen-9p-backend.c
/qemu/hw/misc/vmcoreinfo.c
/qemu/include/exec/gen-icount.h
/qemu/include/exec/helper-gen.h
/qemu/include/exec/helper-head.h
/qemu/include/exec/helper-proto.h
/qemu/include/exec/helper-tcg.h
/qemu/include/qemu/queue.h
/qemu/linux-user/main.c
/qemu/linux-user/signal.c
server.c
/qemu/qemu-doc.texi
/qemu/scripts/coccinelle/cpu_restore_state.cocci
/qemu/scripts/dump-guest-memory.py
/qemu/target/alpha/mem_helper.c
/qemu/target/alpha/translate.c
/qemu/target/arm/op_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/cris/translate.c
/qemu/target/hppa/translate.c
/qemu/target/i386/svm_helper.c
/qemu/target/i386/translate.c
/qemu/target/lm32/op_helper.c
/qemu/target/lm32/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/gdbstub.c
/qemu/target/m68k/helper.c
/qemu/target/m68k/helper.h
/qemu/target/m68k/monitor.c
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/op_helper.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/translate.c
/qemu/target/moxie/helper.c
/qemu/target/nios2/mmu.c
/qemu/target/nios2/translate.c
/qemu/target/openrisc/mmu_helper.c
/qemu/target/ppc/translate.c
/qemu/target/s390x/translate.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/translate.c
/qemu/target/tilegx/translate.c
/qemu/target/tricore/op_helper.c
/qemu/target/unicore32/op_helper.c
/qemu/target/unicore32/translate.c
/qemu/tcg/optimize.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg-op.h
/qemu/tcg/tcg.c
/qemu/tcg/tcg.h
/qemu/tcg/tci.c
/qemu/tcg/tci/tcg-target.inc.c
/qemu/tests/virtio-9p-test.c
e2de325607-Nov-2017 Eric Blake <eblake@redhat.com>

nbd/server: Optimize final chunk of sparse read

If we are careful to handle 0-length read requests correctly,
we can optimize our sparse read to send the NBD_REPLY_FLAG_DONE
bit on our last OFFSET_D

nbd/server: Optimize final chunk of sparse read

If we are careful to handle 0-length read requests correctly,
we can optimize our sparse read to send the NBD_REPLY_FLAG_DONE
bit on our last OFFSET_DATA or OFFSET_HOLE chunk rather than
needing a separate chunk.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171107030912.23930-3-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

show more ...

418638d307-Nov-2017 Eric Blake <eblake@redhat.com>

nbd/server: Implement sparse reads atop structured reply

The reason that NBD added structured reply in the first place was
to allow for efficient reads of sparse files, by allowing the
reply to incl

nbd/server: Implement sparse reads atop structured reply

The reason that NBD added structured reply in the first place was
to allow for efficient reads of sparse files, by allowing the
reply to include chunks to quickly communicate holes to the client
without sending lots of zeroes over the wire. Time to implement
this in the server; our client can already read such data.

We can only skip holes insofar as the block layer can query them;
and only if the client is okay with a fragmented request (if a
client requests NBD_CMD_FLAG_DF and the entire read is a hole, we
could technically return a single NBD_REPLY_TYPE_OFFSET_HOLE, but
that's a fringe case not worth catering to here). Sadly, the
control flow is a bit wonkier than I would have preferred, but
it was minimally invasive to have a split in the action between
a fragmented read (handled directly where we recognize
NBD_CMD_READ with the right conditions, and sending multiple
chunks) vs. a single read (handled at the end of nbd_trip, for
both simple and structured replies, when we know there is only
one thing being read). Likewise, I didn't make any effort to
optimize the final chunk of a fragmented read to set the
NBD_REPLY_FLAG_DONE, but unconditionally send that as a separate
NBD_REPLY_TYPE_NONE.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171107030912.23930-2-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

show more ...


/qemu/.gitignore
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/VERSION
/qemu/accel/stubs/Makefile.objs
/qemu/accel/stubs/hvf-stub.c
/qemu/accel/tcg/cpu-exec-common.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/translate-all.c
/qemu/backends/tpm.c
/qemu/block.c
/qemu/block/backup.c
/qemu/block/commit.c
/qemu/block/curl.c
/qemu/block/dirty-bitmap.c
/qemu/block/dmg.h
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/mirror.c
/qemu/block/nfs.c
/qemu/block/null.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/replication.c
/qemu/block/sheepdog.c
/qemu/block/stream.c
/qemu/blockdev-nbd.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/bsd-user/main.c
/qemu/chardev/baum.c
/qemu/chardev/char-mux.c
/qemu/chardev/char-socket.c
/qemu/chardev/char.c
/qemu/chardev/wctablet.c
/qemu/configure
/qemu/contrib/systemd/qemu-guest-agent.service
/qemu/contrib/systemd/qemu-pr-helper.service
/qemu/contrib/systemd/qemu-pr-helper.socket
/qemu/cpus.c
/qemu/default-configs/arm-softmmu.mak
/qemu/disas/arm.c
/qemu/disas/nios2.c
/qemu/docs/devel/multiple-iothreads.txt
/qemu/docs/devel/qapi-code-gen.txt
/qemu/docs/interop/live-block-operations.rst
/qemu/docs/qemu-block-drivers.texi
/qemu/exec.c
/qemu/gdbstub.c
/qemu/hmp-commands.hx
/qemu/hmp.c
/qemu/hw/acpi/core.c
/qemu/hw/acpi/ipmi-stub.c
/qemu/hw/alpha/dp264.c
/qemu/hw/arm/spitz.c
/qemu/hw/arm/xlnx-zcu102.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/audio/fmopl.c
/qemu/hw/audio/fmopl.h
/qemu/hw/audio/pcspk.c
/qemu/hw/block/block.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/dataplane/virtio-blk.h
/qemu/hw/block/fdc.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/nvme.c
/qemu/hw/block/trace-events
/qemu/hw/block/virtio-blk.c
/qemu/hw/block/xen_disk.c
/qemu/hw/char/debugcon.c
/qemu/hw/char/xen_console.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/cpu/core.c
/qemu/hw/display/cirrus_vga.c
/qemu/hw/display/qxl.h
/qemu/hw/display/tc6393xb.c
/qemu/hw/display/vga-isa-mm.c
/qemu/hw/display/vga-isa.c
/qemu/hw/display/vga-pci.c
/qemu/hw/display/vga.c
/qemu/hw/display/vga_int.h
/qemu/hw/display/vga_regs.h
/qemu/hw/display/virtio-vga.c
/qemu/hw/display/vmware_vga.c
/qemu/hw/display/xenfb.c
/qemu/hw/i2c/pm_smbus.c
/qemu/hw/i2c/smbus_ich9.c
/qemu/hw/i386/Makefile.objs
/qemu/hw/i386/acpi-build.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/amd_iommu.h
/qemu/hw/i386/kvm/i8259.c
/qemu/hw/i386/pc.c
/qemu/hw/i386/trace-events
/qemu/hw/i386/vmmouse.c
/qemu/hw/i386/vmport.c
/qemu/hw/i386/xen/xen-mapcache.c
/qemu/hw/i386/xen/xen_platform.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/cmd646.c
/qemu/hw/ide/core.c
/qemu/hw/ide/ich.c
/qemu/hw/ide/isa.c
/qemu/hw/ide/microdrive.c
/qemu/hw/ide/pci.c
/qemu/hw/ide/piix.c
/qemu/hw/ide/qdev.c
/qemu/hw/ide/via.c
/qemu/hw/input/Makefile.objs
/qemu/hw/input/adb-internal.h
/qemu/hw/input/adb-kbd.c
/qemu/hw/input/adb-mouse.c
/qemu/hw/input/adb.c
/qemu/hw/input/hid.c
/qemu/hw/input/trace-events
/qemu/hw/intc/apic.c
/qemu/hw/intc/arm_gicv3_its_common.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/intc/armv7m_nvic.c
/qemu/hw/intc/i8259.c
/qemu/hw/intc/i8259_common.c
/qemu/hw/intc/lm32_pic.c
/qemu/hw/intc/openpic.c
/qemu/hw/intc/trace-events
/qemu/hw/intc/xics.c
/qemu/hw/intc/xics_spapr.c
/qemu/hw/ipmi/isa_ipmi_bt.c
/qemu/hw/ipmi/isa_ipmi_kcs.c
/qemu/hw/isa/i82378.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/mem/pc-dimm.c
/qemu/hw/mips/boston.c
/qemu/hw/mips/mips_fulong2e.c
/qemu/hw/mips/mips_jazz.c
/qemu/hw/mips/mips_malta.c
/qemu/hw/mips/mips_r4k.c
/qemu/hw/misc/Makefile.objs
/qemu/hw/misc/imx6_ccm.c
/qemu/hw/misc/ivshmem.c
/qemu/hw/misc/pvpanic.c
/qemu/hw/misc/sga.c
/qemu/hw/moxie/moxiesim.c
/qemu/hw/net/e1000.c
/qemu/hw/net/e1000e.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/e1000e_core.h
/qemu/hw/net/e1000x_common.h
/qemu/hw/net/eepro100.c
/qemu/hw/net/ftgmac100.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/ne2000-isa.c
/qemu/hw/net/ne2000.c
/qemu/hw/net/ne2000.h
/qemu/hw/net/opencores_eth.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/sungem.c
/qemu/hw/net/sunhme.c
/qemu/hw/nios2/boot.c
/qemu/hw/nvram/Makefile.objs
/qemu/hw/nvram/eeprom_at24c.c
/qemu/hw/pci-bridge/pci_expander_bridge.c
/qemu/hw/pci-host/ppce500.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_core.c
/qemu/hw/ppc/prep.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_events.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/ppc/spapr_vio.c
/qemu/hw/ppc/trace-events
/qemu/hw/s390x/3270-ccw.c
/qemu/hw/s390x/css-bridge.c
/qemu/hw/s390x/css.c
/qemu/hw/s390x/s390-ccw.c
/qemu/hw/s390x/s390-pci-bus.h
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/s390-pci-inst.h
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/s390x/virtio-ccw.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/scsi/vhost-scsi.c
/qemu/hw/scsi/vhost-user-scsi.c
/qemu/hw/smbios/smbios_type_38-stub.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/timer/i8254.c
/qemu/hw/timer/i8254_common.c
/qemu/hw/timer/mc146818rtc.c
/qemu/hw/tpm/Makefile.objs
/qemu/hw/tpm/tpm_emulator.c
/qemu/hw/tpm/tpm_int.h
/qemu/hw/tpm/tpm_ioctl.h
/qemu/hw/tpm/tpm_passthrough.c
/qemu/hw/tpm/tpm_tis.c
/qemu/hw/tpm/tpm_util.c
/qemu/hw/tpm/tpm_util.h
/qemu/hw/unicore32/puv3.c
/qemu/hw/usb/bus.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/pci.h
/qemu/hw/virtio/vhost-vsock.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-balloon.c
/qemu/hw/virtio/virtio.c
/qemu/hw/watchdog/wdt_ib700.c
/qemu/hw/xen/xen_pt.c
/qemu/include/block/block.h
/qemu/include/block/block_int.h
/qemu/include/block/blockjob.h
/qemu/include/block/blockjob_int.h
/qemu/include/block/dirty-bitmap.h
/qemu/include/chardev/char.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/memory.h
/qemu/include/hw/acpi/acpi-defs.h
/qemu/include/hw/acpi/acpi.h
/qemu/include/hw/acpi/ich9.h
/qemu/include/hw/acpi/ipmi.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/block/block.h
/qemu/include/hw/compat.h
/qemu/include/hw/cpu/core.h
/qemu/include/hw/display/vga.h
/qemu/include/hw/i2c/ppc4xx_i2c.h
/qemu/include/hw/i386/apic-msidef.h
/qemu/include/hw/i386/apic.h
/qemu/include/hw/i386/pc.h
/qemu/include/hw/intc/armv7m_nvic.h
/qemu/include/hw/isa/i8259_internal.h
/qemu/include/hw/misc/pvpanic.h
/qemu/include/hw/net/ne2000-isa.h
/qemu/include/hw/pci-host/spapr.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/ppc/spapr_cpu_core.h
/qemu/include/hw/ppc/spapr_vio.h
/qemu/include/hw/ppc/xics.h
/qemu/include/hw/qdev-properties.h
/qemu/include/hw/registerfields.h
/qemu/include/hw/s390x/css.h
/qemu/include/hw/ssi/xilinx_spips.h
/qemu/include/hw/timer/i8254.h
/qemu/include/hw/timer/i8254_internal.h
/qemu/include/hw/timer/mc146818rtc.h
/qemu/include/hw/unicore32/puv3.h
/qemu/include/hw/usb.h
/qemu/include/hw/virtio/virtio-blk.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/io/net-listener.h
/qemu/include/net/net.h
/qemu/include/net/slirp.h
/qemu/include/qemu/coroutine.h
/qemu/include/qemu/hbitmap.h
/qemu/include/qemu/option.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/qht.h
/qemu/include/qemu/sockets.h
/qemu/include/qemu/typedefs.h
/qemu/include/qemu/uuid.h
/qemu/include/qom/cpu.h
/qemu/include/scsi/utils.h
/qemu/include/standard-headers/asm-s390/virtio-ccw.h
/qemu/include/standard-headers/asm-x86/hyperv.h
/qemu/include/standard-headers/linux/input-event-codes.h
/qemu/include/standard-headers/linux/input.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/sysemu/hax.h
/qemu/include/sysemu/hvf.h
/qemu/include/sysemu/iothread.h
/qemu/include/sysemu/numa.h
/qemu/include/sysemu/sysemu.h
/qemu/include/sysemu/tpm.h
/qemu/include/sysemu/tpm_backend.h
/qemu/include/ui/input.h
/qemu/io/Makefile.objs
/qemu/io/net-listener.c
/qemu/iothread.c
/qemu/linux-headers/asm-arm/kvm.h
/qemu/linux-headers/asm-arm/kvm_para.h
/qemu/linux-headers/asm-arm/unistd.h
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-arm64/unistd.h
/qemu/linux-headers/asm-powerpc/epapr_hcalls.h
/qemu/linux-headers/asm-powerpc/kvm.h
/qemu/linux-headers/asm-powerpc/kvm_para.h
/qemu/linux-headers/asm-powerpc/unistd.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-s390/kvm_para.h
/qemu/linux-headers/asm-s390/unistd.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/kvm_para.h
/qemu/linux-headers/asm-x86/unistd.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/kvm_para.h
/qemu/linux-headers/linux/psci.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vfio_ccw.h
/qemu/linux-headers/linux/vhost.h
/qemu/linux-user/main.c
/qemu/linux-user/signal.c
/qemu/memory.c
/qemu/migration/block.c
/qemu/monitor.c
server.c
trace-events
/qemu/net/colo-compare.c
/qemu/net/net.c
/qemu/net/slirp.c
/qemu/numa.c
/qemu/pc-bios/s390-ccw.img
/qemu/pc-bios/s390-ccw/start.S
/qemu/qapi-schema.json
/qemu/qapi/block-core.json
/qemu/qemu-doc.texi
/qemu/qemu-io-cmds.c
/qemu/qemu-nbd.c
/qemu/qemu-options-wrapper.h
/qemu/qemu-options.hx
/qemu/qga/channel-posix.c
/qemu/qmp.c
/qemu/scripts/checkpatch.pl
/qemu/scripts/dump-guest-memory.py
/qemu/scripts/git-submodule.sh
/qemu/scripts/hxtool
/qemu/scripts/qapi.py
/qemu/scripts/qapi2texi.py
/qemu/scsi/qemu-pr-helper.c
/qemu/scsi/utils.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/helper.h
/qemu/target/arm/internals.h
/qemu/target/arm/op_helper.c
/qemu/target/arm/translate.c
/qemu/target/i386/Makefile.objs
/qemu/target/i386/cpu-qom.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/hax-darwin.c
/qemu/target/i386/hax-darwin.h
/qemu/target/i386/hax-windows.h
/qemu/target/i386/hvf/Makefile.objs
/qemu/target/i386/hvf/README.md
/qemu/target/i386/hvf/hvf-i386.h
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/panic.h
/qemu/target/i386/hvf/vmcs.h
/qemu/target/i386/hvf/vmx.h
/qemu/target/i386/hvf/x86.c
/qemu/target/i386/hvf/x86.h
/qemu/target/i386/hvf/x86_cpuid.c
/qemu/target/i386/hvf/x86_decode.c
/qemu/target/i386/hvf/x86_decode.h
/qemu/target/i386/hvf/x86_descr.c
/qemu/target/i386/hvf/x86_descr.h
/qemu/target/i386/hvf/x86_emu.c
/qemu/target/i386/hvf/x86_emu.h
/qemu/target/i386/hvf/x86_flags.c
/qemu/target/i386/hvf/x86_flags.h
/qemu/target/i386/hvf/x86_mmu.c
/qemu/target/i386/hvf/x86_mmu.h
/qemu/target/i386/hvf/x86_task.c
/qemu/target/i386/hvf/x86_task.h
/qemu/target/i386/hvf/x86hvf.c
/qemu/target/i386/hvf/x86hvf.h
/qemu/target/i386/kvm.c
/qemu/target/i386/translate.c
/qemu/target/m68k/Makefile.objs
/qemu/target/m68k/cpu.h
/qemu/target/m68k/monitor.c
/qemu/target/m68k/translate.c
/qemu/target/nios2/cpu.h
/qemu/target/nios2/helper.c
/qemu/target/nios2/op_helper.c
/qemu/target/nios2/translate.c
/qemu/target/openrisc/exception_helper.c
/qemu/target/ppc/cpu-qom.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper_regs.h
/qemu/target/ppc/kvm.c
/qemu/target/ppc/machine.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate_init.c
/qemu/target/s390x/cc_helper.c
/qemu/target/s390x/cpu.h
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models.h
/qemu/target/s390x/crypto_helper.c
/qemu/target/s390x/diag.c
/qemu/target/s390x/excp_helper.c
/qemu/target/s390x/fpu_helper.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/helper.c
/qemu/target/s390x/helper.h
/qemu/target/s390x/insn-data.def
/qemu/target/s390x/int_helper.c
/qemu/target/s390x/internal.h
/qemu/target/s390x/interrupt.c
/qemu/target/s390x/ioinst.c
/qemu/target/s390x/kvm.c
/qemu/target/s390x/mem_helper.c
/qemu/target/s390x/misc_helper.c
/qemu/target/s390x/mmu_helper.c
/qemu/target/s390x/translate.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.c
/qemu/target/sh4/translate.c
/qemu/tests/Makefile.include
/qemu/tests/boot-serial-test.c
/qemu/tests/docker/test-full
/qemu/tests/qapi-schema/doc-bad-section.err
/qemu/tests/qapi-schema/doc-bad-section.exit
/qemu/tests/qapi-schema/doc-bad-section.json
/qemu/tests/qapi-schema/doc-bad-section.out
/qemu/tests/qapi-schema/doc-good.json
/qemu/tests/qapi-schema/doc-good.out
/qemu/tests/qapi-schema/doc-good.texi
/qemu/tests/qapi-schema/test-qapi.py
/qemu/tests/qemu-iotests/075
/qemu/tests/qemu-iotests/078
/qemu/tests/qemu-iotests/197
/qemu/tests/qemu-iotests/202
/qemu/tests/qemu-iotests/202.out
/qemu/tests/qemu-iotests/203
/qemu/tests/qemu-iotests/203.out
/qemu/tests/qemu-iotests/common.filter
/qemu/tests/qemu-iotests/group
/qemu/tests/qemu-iotests/iotests.py
/qemu/tests/test-aio-multithread.c
/qemu/tests/test-bdrv-drain.c
/qemu/tests/test-blockjob-txn.c
/qemu/tests/test-char.c
/qemu/tests/test-clone-visitor.c
/qemu/tests/test-hbitmap.c
/qemu/tests/test-hmp.c
/qemu/tests/test-uuid.c
/qemu/tests/vhost-user-test.c
/qemu/tests/vmgenid-test.c
/qemu/tpm.c
/qemu/trace-events
/qemu/trace/ftrace.c
/qemu/ui/input-keymap.c
/qemu/util/hbitmap.c
/qemu/util/memfd.c
/qemu/util/mmap-alloc.c
/qemu/util/qemu-coroutine-sleep.c
/qemu/util/qemu-option.c
/qemu/util/qemu-sockets.c
/qemu/util/qemu-thread-posix.c
/qemu/util/rcu.c
/qemu/util/uuid.c
/qemu/vl.c
51ae4f8422-Nov-2017 Eric Blake <eblake@redhat.com>

nbd/server: CVE-2017-15118 Stack smash on large export name

Introduced in commit f37708f6b8 (2.10). The NBD spec says a client
can request export names up to 4096 bytes in length, even though
they

nbd/server: CVE-2017-15118 Stack smash on large export name

Introduced in commit f37708f6b8 (2.10). The NBD spec says a client
can request export names up to 4096 bytes in length, even though
they should not expect success on names longer than 256. However,
qemu hard-codes the limit of 256, and fails to filter out a client
that probes for a longer name; the result is a stack smash that can
potentially give an attacker arbitrary control over the qemu
process.

The smash can be easily demonstrated with this client:
$ qemu-io f raw nbd://localhost:10809/$(printf %3000d 1 | tr ' ' a)

If the qemu NBD server binary (whether the standalone qemu-nbd, or
the builtin server of QMP nbd-server-start) was compiled with
-fstack-protector-strong, the ability to exploit the stack smash
into arbitrary execution is a lot more difficult (but still
theoretically possible to a determined attacker, perhaps in
combination with other CVEs). Still, crashing a running qemu (and
losing the VM) is bad enough, even if the attacker did not obtain
full execution control.

CC: qemu-stable@nongnu.org
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...

12345678910>>...16