History log of /openbmc/qemu/nbd/ (Results 151 – 175 of 388)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b0245d6430-Mar-2019 Eric Blake <eblake@redhat.com>

nbd/server: Advertise actual minimum block size

Both NBD_CMD_BLOCK_STATUS and structured NBD_CMD_READ will split their
reply according to bdrv_block_status() boundaries. If the block device
has a re

nbd/server: Advertise actual minimum block size

Both NBD_CMD_BLOCK_STATUS and structured NBD_CMD_READ will split their
reply according to bdrv_block_status() boundaries. If the block device
has a request_alignment smaller than 512, but we advertise a block
alignment of 512 to the client, then this can result in the server
reply violating client expectations by reporting a smaller region of
the export than what the client is permitted to address (although this
is less of an issue for qemu 4.0 clients, given recent client patches
to overlook our non-compliance at EOF). Since it's always better to
be strict in what we send, it is worth advertising the actual minimum
block limit rather than blindly rounding it up to 512.

Note that this patch is not foolproof - it is still possible to
provoke non-compliant server behavior using:

$ qemu-nbd --image-opts driver=blkdebug,align=512,image.driver=file,image.filename=/path/to/non-aligned-file

That is arguably a bug in the blkdebug driver (it should never pass
back block status smaller than its alignment, even if it has to make
multiple bdrv_get_status calls and determine the
least-common-denominator status among the group to return). It may
also be possible to observe issues with a backing layer with smaller
alignment than the active layer, although so far I have been unable to
write a reliable iotest for that scenario (but again, an issue like
that could be argued to be a bug in the block layer, or something
where we need a flag to bdrv_block_status() to state whether the
result must be aligned to the current layer's limits or can be
subdivided for accuracy when chasing backing files).

Anyways, as blkdebug is not normally used, and as this patch makes our
server more interoperable with qemu 3.1 clients, it is worth applying
now, even while we still work on a larger patch series for the 4.1
timeframe to have byte-accurate file lengths.

Note that the iotests output changes - for 223 and 233, we can see the
server's better granularity advertisement; and for 241, the three test
cases have the following effects:
- natural alignment: the server's smaller alignment is now advertised,
and the hole reported at EOF is now the right result; we've gotten rid
of the server's non-compliance
- forced server alignment: the server still advertises 512 bytes, but
still sends a mid-sector hole. This is still a server compliance bug,
which needs to be fixed in the block layer in a later patch; output
does not change because the client is already being tolerant of the
non-compliance
- forced client alignment: the server's smaller alignment means that
the client now sees the server's status change mid-sector without any
protocol violations, but the fact that the map shows an unaligned
mid-sector hole is evidence of the block layer problems with aligned
block status, to be fixed in a later patch

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190329042750.14704-7-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
[eblake: rebase to enhanced iotest 241 coverage]

show more ...

3add3ab730-Mar-2019 Eric Blake <eblake@redhat.com>

nbd/client: Reject inaccessible tail of inconsistent server

The NBD spec suggests that a server should never advertise a size
inconsistent with its minimum block alignment, as that tail is
effective

nbd/client: Reject inaccessible tail of inconsistent server

The NBD spec suggests that a server should never advertise a size
inconsistent with its minimum block alignment, as that tail is
effectively inaccessible to a compliant client obeying those block
constraints. Since we have a habit of rounding up rather than
truncating, to avoid losing the last few bytes of user input, and we
cannot access the tail when the server advertises bogus block sizing,
abort the connection to alert the server to fix their bug. And
rejecting such servers matches what we already did for a min_block
that was not a power of 2 or which was larger than max_block.

Does not impact either qemu (which always sends properly aligned
sizes) or nbdkit (which does not send minimum block requirements yet);
so this is mostly aimed at new NBD server implementations, and ensures
that the rest of our code can assume the size is aligned.

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

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/VERSION
/openbmc/qemu/authz/trace-events
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/configure
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/mips-softmmu-common.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/trace-events
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/alpha/Kconfig
/openbmc/qemu/hw/arm/trace-events
/openbmc/qemu/hw/block/block.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/parallel-isa.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/gpio/nrf51_gpio.c
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/ide/trace-events
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/Kconfig
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/pci-bridge/Kconfig
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci/Kconfig
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/rdma/Kconfig
/openbmc/qemu/hw/rdma/Makefile.objs
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/sifive_plic.c
/openbmc/qemu/hw/s390x/Kconfig
/openbmc/qemu/hw/sh4/Kconfig
/openbmc/qemu/hw/sparc64/Kconfig
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/watchdog/trace-events
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/raw-aio.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/memory.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/trace-events
client.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/pc-bios/palcode-clipper
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-seccomp.c
/openbmc/qemu/qobject/json-lexer.c
/openbmc/qemu/roms/qemu-palcode
/openbmc/qemu/scripts/minikconf.py
/openbmc/qemu/slirp/COPYRIGHT
/openbmc/qemu/slirp/src/arp_table.c
/openbmc/qemu/slirp/src/bootp.c
/openbmc/qemu/slirp/src/bootp.h
/openbmc/qemu/slirp/src/cksum.c
/openbmc/qemu/slirp/src/debug.h
/openbmc/qemu/slirp/src/dhcpv6.c
/openbmc/qemu/slirp/src/dhcpv6.h
/openbmc/qemu/slirp/src/dnssearch.c
/openbmc/qemu/slirp/src/if.c
/openbmc/qemu/slirp/src/if.h
/openbmc/qemu/slirp/src/ip.h
/openbmc/qemu/slirp/src/ip6.h
/openbmc/qemu/slirp/src/ip6_icmp.c
/openbmc/qemu/slirp/src/ip6_icmp.h
/openbmc/qemu/slirp/src/ip6_input.c
/openbmc/qemu/slirp/src/ip6_output.c
/openbmc/qemu/slirp/src/ip_icmp.c
/openbmc/qemu/slirp/src/ip_icmp.h
/openbmc/qemu/slirp/src/ip_input.c
/openbmc/qemu/slirp/src/ip_output.c
/openbmc/qemu/slirp/src/libslirp.h
/openbmc/qemu/slirp/src/main.h
/openbmc/qemu/slirp/src/mbuf.c
/openbmc/qemu/slirp/src/mbuf.h
/openbmc/qemu/slirp/src/misc.c
/openbmc/qemu/slirp/src/misc.h
/openbmc/qemu/slirp/src/ncsi-pkt.h
/openbmc/qemu/slirp/src/ncsi.c
/openbmc/qemu/slirp/src/ndp_table.c
/openbmc/qemu/slirp/src/qtailq.h
/openbmc/qemu/slirp/src/sbuf.c
/openbmc/qemu/slirp/src/sbuf.h
/openbmc/qemu/slirp/src/slirp.c
/openbmc/qemu/slirp/src/slirp.h
/openbmc/qemu/slirp/src/socket.c
/openbmc/qemu/slirp/src/socket.h
/openbmc/qemu/slirp/src/state.c
/openbmc/qemu/slirp/src/stream.c
/openbmc/qemu/slirp/src/stream.h
/openbmc/qemu/slirp/src/tcp.h
/openbmc/qemu/slirp/src/tcp_input.c
/openbmc/qemu/slirp/src/tcp_output.c
/openbmc/qemu/slirp/src/tcp_subr.c
/openbmc/qemu/slirp/src/tcp_timer.c
/openbmc/qemu/slirp/src/tcp_timer.h
/openbmc/qemu/slirp/src/tcp_var.h
/openbmc/qemu/slirp/src/tcpip.h
/openbmc/qemu/slirp/src/tftp.c
/openbmc/qemu/slirp/src/tftp.h
/openbmc/qemu/slirp/src/udp.c
/openbmc/qemu/slirp/src/udp.h
/openbmc/qemu/slirp/src/udp6.c
/openbmc/qemu/slirp/src/util.c
/openbmc/qemu/slirp/src/util.h
/openbmc/qemu/slirp/src/vmstate.c
/openbmc/qemu/slirp/src/vmstate.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper_regs.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvc.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvm.inc.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/travis
/openbmc/qemu/tests/docker/travis.py
/openbmc/qemu/tests/qemu-iotests/209.out
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/241
/openbmc/qemu/tests/qemu-iotests/241.out
/openbmc/qemu/tests/qemu-iotests/248
/openbmc/qemu/tests/qemu-iotests/248.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tcg/xtensa/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/xtensa/test_flix.S
/openbmc/qemu/tests/virtio-net-test.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/trace-events
/openbmc/qemu/util/error.c
/openbmc/qemu/util/trace-events
a9779a3a14-Mar-2019 Markus Armbruster <armbru@redhat.com>

trace-events: Delete unused trace points

Tracked down with cleanup-trace-events.pl. Funnies requiring manual
post-processing:

* block.c and blockdev.c trace points are in block/trace-events.

* hw

trace-events: Delete unused trace points

Tracked down with cleanup-trace-events.pl. Funnies requiring manual
post-processing:

* block.c and blockdev.c trace points are in block/trace-events.

* hw/block/nvme.c uses the preprocessor to hide its trace point use
from cleanup-trace-events.pl.

* include/hw/xen/xen_common.h trace points are in hw/xen/trace-events.

* net/colo-compare and net/filter-rewriter.c use pseudo trace points
colo_compare_udp_miscompare and colo_filter_rewriter_debug to guard
debug code.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20190314180929.27722-5-armbru@redhat.com
Message-Id: <20190314180929.27722-5-armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...

500016e514-Mar-2019 Markus Armbruster <armbru@redhat.com>

trace-events: Shorten file names in comments

We spell out sub/dir/ in sub/dir/trace-events' comments pointing to
source files. That's because when trace-events got split up, the
comments were moved

trace-events: Shorten file names in comments

We spell out sub/dir/ in sub/dir/trace-events' comments pointing to
source files. That's because when trace-events got split up, the
comments were moved verbatim.

Delete the sub/dir/ part from these comments. Gets rid of several
misspellings.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190314180929.27722-3-armbru@redhat.com
Message-Id: <20190314180929.27722-3-armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/audio/trace-events
/openbmc/qemu/authz/trace-events
/openbmc/qemu/block/trace-events
/openbmc/qemu/chardev/trace-events
/openbmc/qemu/crypto/trace-events
/openbmc/qemu/hw/9pfs/trace-events
/openbmc/qemu/hw/acpi/trace-events
/openbmc/qemu/hw/alpha/trace-events
/openbmc/qemu/hw/arm/trace-events
/openbmc/qemu/hw/audio/trace-events
/openbmc/qemu/hw/block/dataplane/trace-events
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/dma/trace-events
/openbmc/qemu/hw/gpio/trace-events
/openbmc/qemu/hw/hppa/trace-events
/openbmc/qemu/hw/i2c/trace-events
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/xen/trace-events
/openbmc/qemu/hw/ide/trace-events
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/isa/trace-events
/openbmc/qemu/hw/mem/trace-events
/openbmc/qemu/hw/misc/macio/trace-events
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/nvram/trace-events
/openbmc/qemu/hw/pci-host/trace-events
/openbmc/qemu/hw/pci/trace-events
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/rdma/trace-events
/openbmc/qemu/hw/rdma/vmw/trace-events
/openbmc/qemu/hw/s390x/trace-events
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/sparc/trace-events
/openbmc/qemu/hw/sparc64/trace-events
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/tpm/trace-events
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/watchdog/trace-events
/openbmc/qemu/hw/xen/trace-events
/openbmc/qemu/io/trace-events
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/migration/trace-events
trace-events
/openbmc/qemu/net/trace-events
/openbmc/qemu/qapi/trace-events
/openbmc/qemu/qom/trace-events
/openbmc/qemu/scsi/trace-events
/openbmc/qemu/target/arm/trace-events
/openbmc/qemu/target/hppa/trace-events
/openbmc/qemu/target/i386/trace-events
/openbmc/qemu/target/mips/trace-events
/openbmc/qemu/target/ppc/trace-events
/openbmc/qemu/target/s390x/trace-events
/openbmc/qemu/target/sparc/trace-events
/openbmc/qemu/ui/trace-events
/openbmc/qemu/util/trace-events
e68b3baa14-Mar-2019 Markus Armbruster <armbru@redhat.com>

trace-events: Consistently point to docs/devel/tracing.txt

Almost all trace-events point to docs/devel/tracing.txt in a comment
right at the beginning. Touch up the ones that don't.

[Updated with

trace-events: Consistently point to docs/devel/tracing.txt

Almost all trace-events point to docs/devel/tracing.txt in a comment
right at the beginning. Touch up the ones that don't.

[Updated with Markus' new commit description wording.
--Stefan]

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190314180929.27722-2-armbru@redhat.com
Message-Id: <20190314180929.27722-2-armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/VERSION
/openbmc/qemu/accel/kvm/trace-events
/openbmc/qemu/accel/tcg/trace-events
/openbmc/qemu/audio/Makefile.objs
/openbmc/qemu/audio/alsaaudio.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio.h
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/audio_legacy.c
/openbmc/qemu/audio/audio_template.h
/openbmc/qemu/audio/audio_win_int.c
/openbmc/qemu/audio/coreaudio.c
/openbmc/qemu/audio/dsound_template.h
/openbmc/qemu/audio/dsoundaudio.c
/openbmc/qemu/audio/noaudio.c
/openbmc/qemu/audio/ossaudio.c
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/audio/spiceaudio.c
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/audio/wavcapture.c
/openbmc/qemu/backends/cryptodev-vhost-user.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem-memfd.c
/openbmc/qemu/block.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/gitdm/domain-map
/openbmc/qemu/contrib/gitdm/group-map-ibm
/openbmc/qemu/contrib/gitdm/group-map-individuals
/openbmc/qemu/contrib/gitdm/group-map-janustech
/openbmc/qemu/contrib/gitdm/group-map-wavecomp
/openbmc/qemu/contrib/libvhost-user/libvhost-user-glib.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user-glib.h
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/contrib/rdmacm-mux/main.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/disas/riscv.c
/openbmc/qemu/docs/devel/decodetree.rst
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/interop/vhost-user.json
/openbmc/qemu/docs/interop/vhost-user.txt
/openbmc/qemu/docs/qemu-cpu-models.texi
/openbmc/qemu/gdb-xml/riscv-32bit-cpu.xml
/openbmc/qemu/gdb-xml/riscv-32bit-csr.xml
/openbmc/qemu/gdb-xml/riscv-32bit-fpu.xml
/openbmc/qemu/gdb-xml/riscv-64bit-cpu.xml
/openbmc/qemu/gdb-xml/riscv-64bit-csr.xml
/openbmc/qemu/gdb-xml/riscv-64bit-fpu.xml
/openbmc/qemu/gitdm.config
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/omap2.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/lm4549.c
/openbmc/qemu/hw/audio/milkymist-ac97.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/wm8750.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/hppa/hppa_hardware.h
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/xen/trace-events
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/input/tsc210x.c
/openbmc/qemu/hw/intc/bcm2836_control.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/pci-bridge/gen_pcie_root_port.c
/openbmc/qemu/hw/pci-bridge/pcie_root_port.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/rdma/Makefile.objs
/openbmc/qemu/hw/rdma/rdma.c
/openbmc/qemu/hw/rdma/rdma_backend.c
/openbmc/qemu/hw/rdma/rdma_backend.h
/openbmc/qemu/hw/rdma/rdma_backend_defs.h
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/rdma_rm.h
/openbmc/qemu/hw/rdma/rdma_rm_defs.h
/openbmc/qemu/hw/rdma/rdma_utils.c
/openbmc/qemu/hw/rdma/rdma_utils.h
/openbmc/qemu/hw/rdma/trace-events
/openbmc/qemu/hw/rdma/vmw/pvrdma.h
/openbmc/qemu/hw/rdma/vmw/pvrdma_cmd.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_dev_ring.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/openbmc/qemu/hw/rdma/vmw/trace-events
/openbmc/qemu/hw/riscv/sifive_plic.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/sifive_uart.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/sd/Kconfig
/openbmc/qemu/hw/sd/Makefile.objs
/openbmc/qemu/hw/sd/sdhci-internal.h
/openbmc/qemu/hw/sd/sdhci-pci.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/usb/dev-audio.c
/openbmc/qemu/hw/virtio/vhost-stub.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/include/authz/base.h
/openbmc/qemu/include/authz/list.h
/openbmc/qemu/include/authz/listfile.h
/openbmc/qemu/include/authz/pamacct.h
/openbmc/qemu/include/authz/simple.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/hw/acpi/ich9.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/intc/bcm2836_control.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/pci/pcie.h
/openbmc/qemu/include/hw/pci/pcie_port.h
/openbmc/qemu/include/hw/pci/pcie_regs.h
/openbmc/qemu/include/hw/rdma/rdma.h
/openbmc/qemu/include/hw/virtio/vhost-backend.h
/openbmc/qemu/include/hw/virtio/vhost-user-blk.h
/openbmc/qemu/include/hw/virtio/vhost-user-scsi.h
/openbmc/qemu/include/hw/virtio/vhost-user.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/monitor.c
trace-events
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/pc-bios/keymaps/Makefile
/openbmc/qemu/pc-bios/keymaps/ar
/openbmc/qemu/pc-bios/keymaps/bepo
/openbmc/qemu/pc-bios/keymaps/cz
/openbmc/qemu/pc-bios/keymaps/da
/openbmc/qemu/pc-bios/keymaps/de
/openbmc/qemu/pc-bios/keymaps/de-ch
/openbmc/qemu/pc-bios/keymaps/en-gb
/openbmc/qemu/pc-bios/keymaps/en-us
/openbmc/qemu/pc-bios/keymaps/es
/openbmc/qemu/pc-bios/keymaps/et
/openbmc/qemu/pc-bios/keymaps/fi
/openbmc/qemu/pc-bios/keymaps/fo
/openbmc/qemu/pc-bios/keymaps/fr
/openbmc/qemu/pc-bios/keymaps/fr-be
/openbmc/qemu/pc-bios/keymaps/fr-ca
/openbmc/qemu/pc-bios/keymaps/fr-ch
/openbmc/qemu/pc-bios/keymaps/hr
/openbmc/qemu/pc-bios/keymaps/hu
/openbmc/qemu/pc-bios/keymaps/is
/openbmc/qemu/pc-bios/keymaps/it
/openbmc/qemu/pc-bios/keymaps/ja
/openbmc/qemu/pc-bios/keymaps/lt
/openbmc/qemu/pc-bios/keymaps/lv
/openbmc/qemu/pc-bios/keymaps/mk
/openbmc/qemu/pc-bios/keymaps/nl
/openbmc/qemu/pc-bios/keymaps/no
/openbmc/qemu/pc-bios/keymaps/pl
/openbmc/qemu/pc-bios/keymaps/pt
/openbmc/qemu/pc-bios/keymaps/pt-br
/openbmc/qemu/pc-bios/keymaps/ru
/openbmc/qemu/pc-bios/keymaps/th
/openbmc/qemu/pc-bios/keymaps/tr
/openbmc/qemu/pc-bios/skiboot.lid
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.bin
/openbmc/qemu/pc-bios/vgabios-stdvga.bin
/openbmc/qemu/pc-bios/vgabios-virtio.bin
/openbmc/qemu/pc-bios/vgabios-vmware.bin
/openbmc/qemu/pc-bios/vgabios.bin
/openbmc/qemu/qapi/Makefile.objs
/openbmc/qemu/qapi/audio.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qapi/trace-events
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qga/vss-win32/Makefile.objs
/openbmc/qemu/roms/config.seabios-128k
/openbmc/qemu/roms/config.seabios-256k
/openbmc/qemu/roms/seabios
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/roms/skiboot
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/make-release
/openbmc/qemu/scripts/qemugdb/timers.py
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/tracetool/format/d.py
/openbmc/qemu/scsi/trace-events
/openbmc/qemu/slirp/src/state.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/gdbstub.c
/openbmc/qemu/target/hppa/helper.c
/openbmc/qemu/target/hppa/helper.h
/openbmc/qemu/target/hppa/insns.decode
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/hppa/trace-events
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/riscv/Makefile.objs
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/cpu_user.h
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/insn16.decode
/openbmc/qemu/target/riscv/insn32-64.decode
/openbmc/qemu/target/riscv/insn32.decode
/openbmc/qemu/target/riscv/insn_trans/trans_privileged.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rva.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvc.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvd.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvf.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvi.inc.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvm.inc.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/trace-events
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/cpu_queries.py
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/decode/check.sh
/openbmc/qemu/tests/decode/err_pattern_group_empty.decode
/openbmc/qemu/tests/decode/err_pattern_group_ident1.decode
/openbmc/qemu/tests/decode/err_pattern_group_ident2.decode
/openbmc/qemu/tests/decode/err_pattern_group_nest1.decode
/openbmc/qemu/tests/decode/err_pattern_group_overlap1.decode
/openbmc/qemu/tests/decode/err_width1.decode
/openbmc/qemu/tests/decode/err_width2.decode
/openbmc/qemu/tests/decode/err_width3.decode
/openbmc/qemu/tests/decode/err_width4.decode
/openbmc/qemu/tests/decode/succ_pattern_group_nest1.decode
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/debian-xtensa-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-cris-cross.docker
/openbmc/qemu/tests/libqos/libqos.c
/openbmc/qemu/tests/libqos/libqos.h
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/232
/openbmc/qemu/tests/qemu-iotests/232.out
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/245.out
/openbmc/qemu/tests/qemu-iotests/246
/openbmc/qemu/tests/qemu-iotests/246.out
/openbmc/qemu/tests/qemu-iotests/247
/openbmc/qemu/tests/qemu-iotests/247.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tcg/Makefile
/openbmc/qemu/tests/tcg/Makefile.include
/openbmc/qemu/tests/tcg/aarch64/pauth-1.c
/openbmc/qemu/tests/tcg/arm/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/arm/test-armv6m-undef.S
/openbmc/qemu/tests/tcg/arm/test-armv6m-undef.ld
/openbmc/qemu/tests/tcg/cris/Makefile.include
/openbmc/qemu/tests/tcg/cris/Makefile.target
/openbmc/qemu/tests/tcg/cris/bare/check_addcv17.s
/openbmc/qemu/tests/tcg/cris/bare/check_addi.s
/openbmc/qemu/tests/tcg/cris/bare/check_addiv32.s
/openbmc/qemu/tests/tcg/cris/bare/check_addm.s
/openbmc/qemu/tests/tcg/cris/bare/check_addq.s
/openbmc/qemu/tests/tcg/cris/bare/check_addr.s
/openbmc/qemu/tests/tcg/cris/bare/check_addxc.s
/openbmc/qemu/tests/tcg/cris/bare/check_addxm.s
/openbmc/qemu/tests/tcg/cris/bare/check_addxr.s
/openbmc/qemu/tests/tcg/cris/bare/check_andc.s
/openbmc/qemu/tests/tcg/cris/bare/check_andm.s
/openbmc/qemu/tests/tcg/cris/bare/check_andq.s
/openbmc/qemu/tests/tcg/cris/bare/check_andr.s
/openbmc/qemu/tests/tcg/cris/bare/check_asr.s
/openbmc/qemu/tests/tcg/cris/bare/check_ba.s
/openbmc/qemu/tests/tcg/cris/bare/check_bas.s
/openbmc/qemu/tests/tcg/cris/bare/check_bcc.s
/openbmc/qemu/tests/tcg/cris/bare/check_boundc.s
/openbmc/qemu/tests/tcg/cris/bare/check_boundr.s
/openbmc/qemu/tests/tcg/cris/bare/check_btst.s
/openbmc/qemu/tests/tcg/cris/bare/check_clearfv32.s
/openbmc/qemu/tests/tcg/cris/bare/check_clrjmp1.s
/openbmc/qemu/tests/tcg/cris/bare/check_cmp-2.s
/openbmc/qemu/tests/tcg/cris/bare/check_cmpc.s
/openbmc/qemu/tests/tcg/cris/bare/check_cmpm.s
/openbmc/qemu/tests/tcg/cris/bare/check_cmpq.s
/openbmc/qemu/tests/tcg/cris/bare/check_cmpr.s
/openbmc/qemu/tests/tcg/cris/bare/check_cmpxc.s
/openbmc/qemu/tests/tcg/cris/bare/check_cmpxm.s
/openbmc/qemu/tests/tcg/cris/bare/check_dstep.s
/openbmc/qemu/tests/tcg/cris/bare/check_jsr.s
/openbmc/qemu/tests/tcg/cris/bare/check_lapc.s
/openbmc/qemu/tests/tcg/cris/bare/check_lsl.s
/openbmc/qemu/tests/tcg/cris/bare/check_lsr.s
/openbmc/qemu/tests/tcg/cris/bare/check_mcp.s
/openbmc/qemu/tests/tcg/cris/bare/check_movdelsr1.s
/openbmc/qemu/tests/tcg/cris/bare/check_movecr.s
/openbmc/qemu/tests/tcg/cris/bare/check_movei.s
/openbmc/qemu/tests/tcg/cris/bare/check_movemr.s
/openbmc/qemu/tests/tcg/cris/bare/check_movemrv32.s
/openbmc/qemu/tests/tcg/cris/bare/check_mover.s
/openbmc/qemu/tests/tcg/cris/bare/check_moverm.s
/openbmc/qemu/tests/tcg/cris/bare/check_movmp.s
/openbmc/qemu/tests/tcg/cris/bare/check_movpmv32.s
/openbmc/qemu/tests/tcg/cris/bare/check_movpr.s
/openbmc/qemu/tests/tcg/cris/bare/check_movprv32.s
/openbmc/qemu/tests/tcg/cris/bare/check_movscr.s
/openbmc/qemu/tests/tcg/cris/bare/check_movsm.s
/openbmc/qemu/tests/tcg/cris/bare/check_movsr.s
/openbmc/qemu/tests/tcg/cris/bare/check_movucr.s
/openbmc/qemu/tests/tcg/cris/bare/check_movum.s
/openbmc/qemu/tests/tcg/cris/bare/check_movur.s
/openbmc/qemu/tests/tcg/cris/bare/check_mulv32.s
/openbmc/qemu/tests/tcg/cris/bare/check_mulx.s
/openbmc/qemu/tests/tcg/cris/bare/check_neg.s
/openbmc/qemu/tests/tcg/cris/bare/check_not.s
/openbmc/qemu/tests/tcg/cris/bare/check_orc.s
/openbmc/qemu/tests/tcg/cris/bare/check_orm.s
/openbmc/qemu/tests/tcg/cris/bare/check_orq.s
/openbmc/qemu/tests/tcg/cris/bare/check_orr.s
/openbmc/qemu/tests/tcg/cris/bare/check_ret.s
/openbmc/qemu/tests/tcg/cris/bare/check_scc.s
/openbmc/qemu/tests/tcg/cris/bare/check_subc.s
/openbmc/qemu/tests/tcg/cris/bare/check_subm.s
/openbmc/qemu/tests/tcg/cris/bare/check_subq.s
/openbmc/qemu/tests/tcg/cris/bare/check_subr.s
/openbmc/qemu/tests/tcg/cris/bare/check_xarith.s
/openbmc/qemu/tests/tcg/cris/bare/crt.s
/openbmc/qemu/tests/tcg/cris/bare/sys.c
/openbmc/qemu/tests/tcg/cris/bare/testutils.inc
/openbmc/qemu/tests/tcg/cris/libc/check_abs.c
/openbmc/qemu/tests/tcg/cris/libc/check_addc.c
/openbmc/qemu/tests/tcg/cris/libc/check_addcm.c
/openbmc/qemu/tests/tcg/cris/libc/check_addo.c
/openbmc/qemu/tests/tcg/cris/libc/check_addoq.c
/openbmc/qemu/tests/tcg/cris/libc/check_bound.c
/openbmc/qemu/tests/tcg/cris/libc/check_ftag.c
/openbmc/qemu/tests/tcg/cris/libc/check_gcctorture_pr28634-1.c
/openbmc/qemu/tests/tcg/cris/libc/check_gcctorture_pr28634.c
/openbmc/qemu/tests/tcg/cris/libc/check_glibc_kernelversion.c
/openbmc/qemu/tests/tcg/cris/libc/check_hello.c
/openbmc/qemu/tests/tcg/cris/libc/check_int64.c
/openbmc/qemu/tests/tcg/cris/libc/check_lz.c
/openbmc/qemu/tests/tcg/cris/libc/check_mapbrk.c
/openbmc/qemu/tests/tcg/cris/libc/check_mmap1.c
/openbmc/qemu/tests/tcg/cris/libc/check_mmap2.c
/openbmc/qemu/tests/tcg/cris/libc/check_mmap3.c
/openbmc/qemu/tests/tcg/cris/libc/check_moveq.c
/openbmc/qemu/tests/tcg/cris/libc/check_openpf1.c
/openbmc/qemu/tests/tcg/cris/libc/check_openpf2.c
/openbmc/qemu/tests/tcg/cris/libc/check_openpf3.c
/openbmc/qemu/tests/tcg/cris/libc/check_openpf5.c
/openbmc/qemu/tests/tcg/cris/libc/check_settls1.c
/openbmc/qemu/tests/tcg/cris/libc/check_sigalrm.c
/openbmc/qemu/tests/tcg/cris/libc/check_stat1.c
/openbmc/qemu/tests/tcg/cris/libc/check_stat2.c
/openbmc/qemu/tests/tcg/cris/libc/check_stat3.c
/openbmc/qemu/tests/tcg/cris/libc/check_stat4.c
/openbmc/qemu/tests/tcg/cris/libc/check_swap.c
/openbmc/qemu/tests/tcg/cris/libc/check_time2.c
/openbmc/qemu/tests/tcg/cris/libc/crisutils.h
/openbmc/qemu/tests/tcg/cris/libc/sys.h
/openbmc/qemu/tests/tcg/i386/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/i386/system/boot.S
/openbmc/qemu/tests/tcg/i386/system/hello.c
/openbmc/qemu/tests/tcg/i386/system/kernel.ld
/openbmc/qemu/tests/tcg/i386/system/memory.c
/openbmc/qemu/tests/tcg/minilib/Makefile.target
/openbmc/qemu/tests/tcg/minilib/minilib.h
/openbmc/qemu/tests/tcg/minilib/printf.c
/openbmc/qemu/tests/tcg/mips/Makefile.target
/openbmc/qemu/tests/tcg/mips/hello-mips.c
/openbmc/qemu/tests/tcg/xtensa/Makefile.include
/openbmc/qemu/tests/tcg/xtensa/Makefile.softmmu-target
/openbmc/qemu/tests/test-announce-self.c
/openbmc/qemu/tests/test-bdrv-graph-mod.c
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/ftrace.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/memfd.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/vl.c
3ae96d6612-Mar-2019 John Snow <jsnow@redhat.com>

block/dirty-bitmaps: add block_dirty_bitmap_check function

Instead of checking against busy, inconsistent, or read only directly,
use a check function with permissions bits that let us streamline th

block/dirty-bitmaps: add block_dirty_bitmap_check function

Instead of checking against busy, inconsistent, or read only directly,
use a check function with permissions bits that let us streamline the
checks without reproducing them in many places.

Included in this patch are permissions changes that simply add the
inconsistent check to existing permissions call spots, without
addressing existing bugs.

In general, this means that busy+readonly checks become BDRV_BITMAP_DEFAULT,
which checks against all three conditions. busy-only checks become
BDRV_BITMAP_ALLOW_RO.

Notably, remove allows inconsistent bitmaps, so it doesn't follow the pattern.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190301191545.8728-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>

show more ...

27a1b30112-Mar-2019 John Snow <jsnow@redhat.com>

block/dirty-bitmaps: unify qmp_locked and user_locked calls

These mean the same thing now. Unify them and rename the merged call
bdrv_dirty_bitmap_busy to indicate semantically what we are describin

block/dirty-bitmaps: unify qmp_locked and user_locked calls

These mean the same thing now. Unify them and rename the merged call
bdrv_dirty_bitmap_busy to indicate semantically what we are describing,
as well as help disambiguate from the various _locked and _unlocked
versions of bitmap helpers that refer to mutex locks.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190223000614.13894-8-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>

show more ...

3b78a92712-Mar-2019 John Snow <jsnow@redhat.com>

nbd: change error checking order for bitmaps

Check that the bitmap is not in use prior to it checking if it is
not enabled/recording guest writes. The bitmap being busy was likely
at the behest of t

nbd: change error checking order for bitmaps

Check that the bitmap is not in use prior to it checking if it is
not enabled/recording guest writes. The bitmap being busy was likely
at the behest of the user, so this error has a greater chance of being
understood by the user.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190223000614.13894-6-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitignore
/openbmc/qemu/.travis.yml
/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/accel.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-cache.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/elf2dmp/main.c
/openbmc/qemu/default-configs/alpha-softmmu.mak
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/cris-softmmu.mak
/openbmc/qemu/default-configs/hppa-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/lm32-softmmu.mak
/openbmc/qemu/default-configs/m68k-softmmu.mak
/openbmc/qemu/default-configs/microblaze-softmmu.mak
/openbmc/qemu/default-configs/mips-softmmu-common.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/default-configs/moxie-softmmu.mak
/openbmc/qemu/default-configs/nios2-softmmu.mak
/openbmc/qemu/default-configs/or1k-softmmu.mak
/openbmc/qemu/default-configs/ppc-softmmu.mak
/openbmc/qemu/default-configs/ppc64-softmmu.mak
/openbmc/qemu/default-configs/riscv32-softmmu.mak
/openbmc/qemu/default-configs/riscv64-softmmu.mak
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/default-configs/sh4-softmmu.mak
/openbmc/qemu/default-configs/sh4eb-softmmu.mak
/openbmc/qemu/default-configs/sparc-softmmu.mak
/openbmc/qemu/default-configs/sparc64-softmmu.mak
/openbmc/qemu/default-configs/unicore32-softmmu.mak
/openbmc/qemu/default-configs/xtensa-softmmu.mak
/openbmc/qemu/default-configs/xtensaeb-softmmu.mak
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/cpu-hotplug.rst
/openbmc/qemu/docs/devel/build-system.txt
/openbmc/qemu/docs/devel/conf.py
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/kconfig.rst
/openbmc/qemu/docs/devel/memory.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/index.rst
/openbmc/qemu/docs/interop/conf.py
/openbmc/qemu/docs/interop/firmware.json
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/qcow2-cache.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/Kconfig
/openbmc/qemu/hw/9pfs/Makefile.objs
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/acpi/Kconfig
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/adc/Kconfig
/openbmc/qemu/hw/alpha/Kconfig
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/digic_boards.c
/openbmc/qemu/hw/arm/gumstix.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/nrf51_soc.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/z2.c
/openbmc/qemu/hw/audio/Kconfig
/openbmc/qemu/hw/block/Kconfig
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/block/dataplane/Makefile.objs
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/bt/Kconfig
/openbmc/qemu/hw/char/Kconfig
/openbmc/qemu/hw/char/spapr_vty.c
/openbmc/qemu/hw/core/Kconfig
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/core/sysbus.c
/openbmc/qemu/hw/cpu/Kconfig
/openbmc/qemu/hw/cris/Kconfig
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/ati_2d.c
/openbmc/qemu/hw/display/ati_dbg.c
/openbmc/qemu/hw/display/ati_int.h
/openbmc/qemu/hw/display/ati_regs.h
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/dma/Kconfig
/openbmc/qemu/hw/gpio/Kconfig
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/hyperv/Kconfig
/openbmc/qemu/hw/i2c/Kconfig
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i2c/mpc_i2c.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/ide/Kconfig
/openbmc/qemu/hw/input/Kconfig
/openbmc/qemu/hw/intc/Kconfig
/openbmc/qemu/hw/intc/Makefile.objs
/openbmc/qemu/hw/intc/allwinner-a10-pic.c
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/pnv_xive_regs.h
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/ipack/Kconfig
/openbmc/qemu/hw/ipmi/Kconfig
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/lm32/Kconfig
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/Kconfig
/openbmc/qemu/hw/mem/Kconfig
/openbmc/qemu/hw/microblaze/Kconfig
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/Kconfig
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/misc/macio/Kconfig
/openbmc/qemu/hw/moxie/Kconfig
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/nios2/Kconfig
/openbmc/qemu/hw/nvram/Kconfig
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/openrisc/Kconfig
/openbmc/qemu/hw/pci-bridge/Kconfig
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci/Kconfig
/openbmc/qemu/hw/pci/Makefile.objs
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/pcmcia/Kconfig
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_lpc.c
/openbmc/qemu/hw/ppc/pnv_occ.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/pnv_xscom.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_pci_vfio.c
/openbmc/qemu/hw/ppc/spapr_rng.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/ppc/spapr_rtas_ddw.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/s390x/Kconfig
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/scsi/Kconfig
/openbmc/qemu/hw/scsi/Makefile.objs
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/Kconfig
/openbmc/qemu/hw/sh4/Kconfig
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/smbios/Kconfig
/openbmc/qemu/hw/sparc/Kconfig
/openbmc/qemu/hw/sparc64/Kconfig
/openbmc/qemu/hw/ssi/Kconfig
/openbmc/qemu/hw/timer/Kconfig
/openbmc/qemu/hw/tpm/Kconfig
/openbmc/qemu/hw/tricore/Kconfig
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/unicore32/Kconfig
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/usb/tusb6010.c
/openbmc/qemu/hw/vfio/Kconfig
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/display.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.h
/openbmc/qemu/hw/watchdog/Kconfig
/openbmc/qemu/hw/xtensa/Kconfig
/openbmc/qemu/hw/xtensa/Makefile.objs
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/hw/block/flash.h
/openbmc/qemu/include/hw/devices.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_core.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/pnv_xive.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_cpu_core.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ppc/spapr_vio.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/migration/qemu-file-types.h
/openbmc/qemu/include/qemu/module.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/iothread.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/iothread.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/fd-trans.c
/openbmc/qemu/linux-user/nios2/cpu_loop.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/qemu-file.h
/openbmc/qemu/monitor.c
server.c
/openbmc/qemu/net/Makefile.objs
/openbmc/qemu/net/slirp.c
/openbmc/qemu/pc-bios/u-boot.e500
/openbmc/qemu/python/qemu/__init__.py
/openbmc/qemu/python/qemu/qmp.py
/openbmc/qemu/python/qemu/qtest.py
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/roms/u-boot
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/minikconf.py
/openbmc/qemu/scripts/qemu-gdb.py
/openbmc/qemu/scripts/qemugdb/coroutine.py
/openbmc/qemu/scripts/qemugdb/mtree.py
/openbmc/qemu/scripts/qemugdb/tcg.py
/openbmc/qemu/scripts/qmp/qemu-ga-client
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/render_block_graph.py
/openbmc/qemu/slirp/Makefile
/openbmc/qemu/slirp/src/arp_table.c
/openbmc/qemu/slirp/src/bootp.c
/openbmc/qemu/slirp/src/bootp.h
/openbmc/qemu/slirp/src/cksum.c
/openbmc/qemu/slirp/src/debug.h
/openbmc/qemu/slirp/src/dhcpv6.c
/openbmc/qemu/slirp/src/dhcpv6.h
/openbmc/qemu/slirp/src/dnssearch.c
/openbmc/qemu/slirp/src/if.c
/openbmc/qemu/slirp/src/if.h
/openbmc/qemu/slirp/src/ip.h
/openbmc/qemu/slirp/src/ip6.h
/openbmc/qemu/slirp/src/ip6_icmp.c
/openbmc/qemu/slirp/src/ip6_icmp.h
/openbmc/qemu/slirp/src/ip6_input.c
/openbmc/qemu/slirp/src/ip6_output.c
/openbmc/qemu/slirp/src/ip_icmp.c
/openbmc/qemu/slirp/src/ip_icmp.h
/openbmc/qemu/slirp/src/ip_input.c
/openbmc/qemu/slirp/src/ip_output.c
/openbmc/qemu/slirp/src/libslirp.h
/openbmc/qemu/slirp/src/main.h
/openbmc/qemu/slirp/src/mbuf.c
/openbmc/qemu/slirp/src/mbuf.h
/openbmc/qemu/slirp/src/misc.c
/openbmc/qemu/slirp/src/misc.h
/openbmc/qemu/slirp/src/ncsi-pkt.h
/openbmc/qemu/slirp/src/ncsi.c
/openbmc/qemu/slirp/src/ndp_table.c
/openbmc/qemu/slirp/src/qtailq.h
/openbmc/qemu/slirp/src/sbuf.c
/openbmc/qemu/slirp/src/sbuf.h
/openbmc/qemu/slirp/src/slirp.c
/openbmc/qemu/slirp/src/slirp.h
/openbmc/qemu/slirp/src/socket.c
/openbmc/qemu/slirp/src/socket.h
/openbmc/qemu/slirp/src/state.c
/openbmc/qemu/slirp/src/state.h
/openbmc/qemu/slirp/src/stream.c
/openbmc/qemu/slirp/src/stream.h
/openbmc/qemu/slirp/src/tcp.h
/openbmc/qemu/slirp/src/tcp_input.c
/openbmc/qemu/slirp/src/tcp_output.c
/openbmc/qemu/slirp/src/tcp_subr.c
/openbmc/qemu/slirp/src/tcp_timer.c
/openbmc/qemu/slirp/src/tcp_timer.h
/openbmc/qemu/slirp/src/tcp_var.h
/openbmc/qemu/slirp/src/tcpip.h
/openbmc/qemu/slirp/src/tftp.c
/openbmc/qemu/slirp/src/tftp.h
/openbmc/qemu/slirp/src/udp.c
/openbmc/qemu/slirp/src/udp.h
/openbmc/qemu/slirp/src/udp6.c
/openbmc/qemu/slirp/src/util.c
/openbmc/qemu/slirp/src/util.h
/openbmc/qemu/slirp/src/vmstate.c
/openbmc/qemu/slirp/src/vmstate.h
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/Makefile.objs
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/Makefile.objs
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/insn-format.def
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/s390x/translate_vx.inc.c
/openbmc/qemu/target/s390x/vec.h
/openbmc/qemu/target/s390x/vec_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/ac97-test.c
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/linux_initrd.py
/openbmc/qemu/tests/acceptance/migration.py
/openbmc/qemu/tests/acceptance/version.py
/openbmc/qemu/tests/acceptance/virtio_version.py
/openbmc/qemu/tests/acceptance/vnc.py
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/tests/check-qdict.c
/openbmc/qemu/tests/data/acpi/rebuild-expected-aml.sh
/openbmc/qemu/tests/data/qobject/qdict.txt
/openbmc/qemu/tests/drive_del-test.c
/openbmc/qemu/tests/e1000-test.c
/openbmc/qemu/tests/e1000e-test.c
/openbmc/qemu/tests/eepro100-test.c
/openbmc/qemu/tests/es1370-test.c
/openbmc/qemu/tests/i440fx-test.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/ipoctal232-test.c
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqos/aarch64-xlnx-zcu102-machine.c
/openbmc/qemu/tests/libqos/ahci.c
/openbmc/qemu/tests/libqos/arm-raspi2-machine.c
/openbmc/qemu/tests/libqos/arm-sabrelite-machine.c
/openbmc/qemu/tests/libqos/arm-smdkc210-machine.c
/openbmc/qemu/tests/libqos/arm-virt-machine.c
/openbmc/qemu/tests/libqos/arm-xilinx-zynq-a9-machine.c
/openbmc/qemu/tests/libqos/e1000e.c
/openbmc/qemu/tests/libqos/e1000e.h
/openbmc/qemu/tests/libqos/libqos-pc.c
/openbmc/qemu/tests/libqos/libqos-spapr.c
/openbmc/qemu/tests/libqos/libqos.c
/openbmc/qemu/tests/libqos/libqos.h
/openbmc/qemu/tests/libqos/malloc-pc.c
/openbmc/qemu/tests/libqos/malloc-pc.h
/openbmc/qemu/tests/libqos/malloc-spapr.c
/openbmc/qemu/tests/libqos/malloc-spapr.h
/openbmc/qemu/tests/libqos/malloc.c
/openbmc/qemu/tests/libqos/malloc.h
/openbmc/qemu/tests/libqos/pci-pc.c
/openbmc/qemu/tests/libqos/pci-pc.h
/openbmc/qemu/tests/libqos/pci-spapr.c
/openbmc/qemu/tests/libqos/pci-spapr.h
/openbmc/qemu/tests/libqos/pci.c
/openbmc/qemu/tests/libqos/pci.h
/openbmc/qemu/tests/libqos/ppc64_pseries-machine.c
/openbmc/qemu/tests/libqos/qgraph.c
/openbmc/qemu/tests/libqos/qgraph.h
/openbmc/qemu/tests/libqos/qgraph_internal.h
/openbmc/qemu/tests/libqos/sdhci.c
/openbmc/qemu/tests/libqos/sdhci.h
/openbmc/qemu/tests/libqos/tpci200.c
/openbmc/qemu/tests/libqos/virtio-9p.c
/openbmc/qemu/tests/libqos/virtio-9p.h
/openbmc/qemu/tests/libqos/virtio-balloon.c
/openbmc/qemu/tests/libqos/virtio-balloon.h
/openbmc/qemu/tests/libqos/virtio-blk.c
/openbmc/qemu/tests/libqos/virtio-blk.h
/openbmc/qemu/tests/libqos/virtio-mmio.c
/openbmc/qemu/tests/libqos/virtio-mmio.h
/openbmc/qemu/tests/libqos/virtio-net.c
/openbmc/qemu/tests/libqos/virtio-net.h
/openbmc/qemu/tests/libqos/virtio-pci.c
/openbmc/qemu/tests/libqos/virtio-pci.h
/openbmc/qemu/tests/libqos/virtio-rng.c
/openbmc/qemu/tests/libqos/virtio-rng.h
/openbmc/qemu/tests/libqos/virtio-scsi.c
/openbmc/qemu/tests/libqos/virtio-scsi.h
/openbmc/qemu/tests/libqos/virtio-serial.c
/openbmc/qemu/tests/libqos/virtio-serial.h
/openbmc/qemu/tests/libqos/virtio.c
/openbmc/qemu/tests/libqos/virtio.h
/openbmc/qemu/tests/libqos/x86_64_pc-machine.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/m48t59-test.c
/openbmc/qemu/tests/megasas-test.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/migration/guestperf/engine.py
/openbmc/qemu/tests/multiboot/run_test.sh
/openbmc/qemu/tests/ne2000-test.c
/openbmc/qemu/tests/nvme-test.c
/openbmc/qemu/tests/pci-test.c
/openbmc/qemu/tests/pcnet-test.c
/openbmc/qemu/tests/pnv-xscom-test.c
/openbmc/qemu/tests/prom-env-test.c
/openbmc/qemu/tests/pxe-test.c
/openbmc/qemu/tests/q35-test.c
/openbmc/qemu/tests/qemu-iotests/001
/openbmc/qemu/tests/qemu-iotests/002
/openbmc/qemu/tests/qemu-iotests/003
/openbmc/qemu/tests/qemu-iotests/004
/openbmc/qemu/tests/qemu-iotests/005
/openbmc/qemu/tests/qemu-iotests/007
/openbmc/qemu/tests/qemu-iotests/008
/openbmc/qemu/tests/qemu-iotests/009
/openbmc/qemu/tests/qemu-iotests/010
/openbmc/qemu/tests/qemu-iotests/011
/openbmc/qemu/tests/qemu-iotests/012
/openbmc/qemu/tests/qemu-iotests/013
/openbmc/qemu/tests/qemu-iotests/014
/openbmc/qemu/tests/qemu-iotests/015
/openbmc/qemu/tests/qemu-iotests/017
/openbmc/qemu/tests/qemu-iotests/018
/openbmc/qemu/tests/qemu-iotests/019
/openbmc/qemu/tests/qemu-iotests/020
/openbmc/qemu/tests/qemu-iotests/021
/openbmc/qemu/tests/qemu-iotests/022
/openbmc/qemu/tests/qemu-iotests/023
/openbmc/qemu/tests/qemu-iotests/024
/openbmc/qemu/tests/qemu-iotests/025
/openbmc/qemu/tests/qemu-iotests/026
/openbmc/qemu/tests/qemu-iotests/027
/openbmc/qemu/tests/qemu-iotests/028
/openbmc/qemu/tests/qemu-iotests/029
/openbmc/qemu/tests/qemu-iotests/031
/openbmc/qemu/tests/qemu-iotests/031.out
/openbmc/qemu/tests/qemu-iotests/032
/openbmc/qemu/tests/qemu-iotests/033
/openbmc/qemu/tests/qemu-iotests/034
/openbmc/qemu/tests/qemu-iotests/035
/openbmc/qemu/tests/qemu-iotests/036
/openbmc/qemu/tests/qemu-iotests/036.out
/openbmc/qemu/tests/qemu-iotests/037
/openbmc/qemu/tests/qemu-iotests/038
/openbmc/qemu/tests/qemu-iotests/039
/openbmc/qemu/tests/qemu-iotests/042
/openbmc/qemu/tests/qemu-iotests/043
/openbmc/qemu/tests/qemu-iotests/046
/openbmc/qemu/tests/qemu-iotests/047
/openbmc/qemu/tests/qemu-iotests/048
/openbmc/qemu/tests/qemu-iotests/049
/openbmc/qemu/tests/qemu-iotests/050
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/052
/openbmc/qemu/tests/qemu-iotests/053
/openbmc/qemu/tests/qemu-iotests/054
/openbmc/qemu/tests/qemu-iotests/058
/openbmc/qemu/tests/qemu-iotests/059
/openbmc/qemu/tests/qemu-iotests/060
/openbmc/qemu/tests/qemu-iotests/061
/openbmc/qemu/tests/qemu-iotests/061.out
/openbmc/qemu/tests/qemu-iotests/062
/openbmc/qemu/tests/qemu-iotests/063
/openbmc/qemu/tests/qemu-iotests/064
/openbmc/qemu/tests/qemu-iotests/066
/openbmc/qemu/tests/qemu-iotests/067
/openbmc/qemu/tests/qemu-iotests/068
/openbmc/qemu/tests/qemu-iotests/069
/openbmc/qemu/tests/qemu-iotests/070
/openbmc/qemu/tests/qemu-iotests/071
/openbmc/qemu/tests/qemu-iotests/072
/openbmc/qemu/tests/qemu-iotests/073
/openbmc/qemu/tests/qemu-iotests/074
/openbmc/qemu/tests/qemu-iotests/075
/openbmc/qemu/tests/qemu-iotests/076
/openbmc/qemu/tests/qemu-iotests/077
/openbmc/qemu/tests/qemu-iotests/078
/openbmc/qemu/tests/qemu-iotests/079
/openbmc/qemu/tests/qemu-iotests/080
/openbmc/qemu/tests/qemu-iotests/081
/openbmc/qemu/tests/qemu-iotests/082
/openbmc/qemu/tests/qemu-iotests/082.out
/openbmc/qemu/tests/qemu-iotests/083
/openbmc/qemu/tests/qemu-iotests/084
/openbmc/qemu/tests/qemu-iotests/085
/openbmc/qemu/tests/qemu-iotests/086
/openbmc/qemu/tests/qemu-iotests/087
/openbmc/qemu/tests/qemu-iotests/088
/openbmc/qemu/tests/qemu-iotests/089
/openbmc/qemu/tests/qemu-iotests/090
/openbmc/qemu/tests/qemu-iotests/091
/openbmc/qemu/tests/qemu-iotests/092
/openbmc/qemu/tests/qemu-iotests/094
/openbmc/qemu/tests/qemu-iotests/095
/openbmc/qemu/tests/qemu-iotests/097
/openbmc/qemu/tests/qemu-iotests/098
/openbmc/qemu/tests/qemu-iotests/099
/openbmc/qemu/tests/qemu-iotests/101
/openbmc/qemu/tests/qemu-iotests/102
/openbmc/qemu/tests/qemu-iotests/103
/openbmc/qemu/tests/qemu-iotests/104
/openbmc/qemu/tests/qemu-iotests/105
/openbmc/qemu/tests/qemu-iotests/106
/openbmc/qemu/tests/qemu-iotests/107
/openbmc/qemu/tests/qemu-iotests/108
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/110
/openbmc/qemu/tests/qemu-iotests/111
/openbmc/qemu/tests/qemu-iotests/112
/openbmc/qemu/tests/qemu-iotests/113
/openbmc/qemu/tests/qemu-iotests/114
/openbmc/qemu/tests/qemu-iotests/115
/openbmc/qemu/tests/qemu-iotests/116
/openbmc/qemu/tests/qemu-iotests/117
/openbmc/qemu/tests/qemu-iotests/119
/openbmc/qemu/tests/qemu-iotests/120
/openbmc/qemu/tests/qemu-iotests/121
/openbmc/qemu/tests/qemu-iotests/122
/openbmc/qemu/tests/qemu-iotests/123
/openbmc/qemu/tests/qemu-iotests/125
/openbmc/qemu/tests/qemu-iotests/126
/openbmc/qemu/tests/qemu-iotests/127
/openbmc/qemu/tests/qemu-iotests/128
/openbmc/qemu/tests/qemu-iotests/130
/openbmc/qemu/tests/qemu-iotests/131
/openbmc/qemu/tests/qemu-iotests/133
/openbmc/qemu/tests/qemu-iotests/134
/openbmc/qemu/tests/qemu-iotests/135
/openbmc/qemu/tests/qemu-iotests/137
/openbmc/qemu/tests/qemu-iotests/138
/openbmc/qemu/tests/qemu-iotests/139
/openbmc/qemu/tests/qemu-iotests/140
/openbmc/qemu/tests/qemu-iotests/141
/openbmc/qemu/tests/qemu-iotests/142
/openbmc/qemu/tests/qemu-iotests/143
/openbmc/qemu/tests/qemu-iotests/144
/openbmc/qemu/tests/qemu-iotests/145
/openbmc/qemu/tests/qemu-iotests/146
/openbmc/qemu/tests/qemu-iotests/150
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/154
/openbmc/qemu/tests/qemu-iotests/156
/openbmc/qemu/tests/qemu-iotests/157
/openbmc/qemu/tests/qemu-iotests/158
/openbmc/qemu/tests/qemu-iotests/159
/openbmc/qemu/tests/qemu-iotests/160
/openbmc/qemu/tests/qemu-iotests/161
/openbmc/qemu/tests/qemu-iotests/162
/openbmc/qemu/tests/qemu-iotests/170
/openbmc/qemu/tests/qemu-iotests/171
/openbmc/qemu/tests/qemu-iotests/172
/openbmc/qemu/tests/qemu-iotests/173
/openbmc/qemu/tests/qemu-iotests/174
/openbmc/qemu/tests/qemu-iotests/175
/openbmc/qemu/tests/qemu-iotests/176
/openbmc/qemu/tests/qemu-iotests/177
/openbmc/qemu/tests/qemu-iotests/178
/openbmc/qemu/tests/qemu-iotests/179
/openbmc/qemu/tests/qemu-iotests/181
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/183
/openbmc/qemu/tests/qemu-iotests/184
/openbmc/qemu/tests/qemu-iotests/185
/openbmc/qemu/tests/qemu-iotests/186
/openbmc/qemu/tests/qemu-iotests/187
/openbmc/qemu/tests/qemu-iotests/188
/openbmc/qemu/tests/qemu-iotests/189
/openbmc/qemu/tests/qemu-iotests/190
/openbmc/qemu/tests/qemu-iotests/191
/openbmc/qemu/tests/qemu-iotests/192
/openbmc/qemu/tests/qemu-iotests/195
/openbmc/qemu/tests/qemu-iotests/197
/openbmc/qemu/tests/qemu-iotests/198
/openbmc/qemu/tests/qemu-iotests/200
/openbmc/qemu/tests/qemu-iotests/201
/openbmc/qemu/tests/qemu-iotests/204
/openbmc/qemu/tests/qemu-iotests/214
/openbmc/qemu/tests/qemu-iotests/215
/openbmc/qemu/tests/qemu-iotests/217
/openbmc/qemu/tests/qemu-iotests/220
/openbmc/qemu/tests/qemu-iotests/220.out
/openbmc/qemu/tests/qemu-iotests/221
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/225
/openbmc/qemu/tests/qemu-iotests/226
/openbmc/qemu/tests/qemu-iotests/227
/openbmc/qemu/tests/qemu-iotests/229
/openbmc/qemu/tests/qemu-iotests/231
/openbmc/qemu/tests/qemu-iotests/232
/openbmc/qemu/tests/qemu-iotests/233
/openbmc/qemu/tests/qemu-iotests/235
/openbmc/qemu/tests/qemu-iotests/236.out
/openbmc/qemu/tests/qemu-iotests/238
/openbmc/qemu/tests/qemu-iotests/243
/openbmc/qemu/tests/qemu-iotests/243.out
/openbmc/qemu/tests/qemu-iotests/244
/openbmc/qemu/tests/qemu-iotests/244.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.config
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.nbd
/openbmc/qemu/tests/qemu-iotests/common.pattern
/openbmc/qemu/tests/qemu-iotests/common.qemu
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/common.tls
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qos-test.c
/openbmc/qemu/tests/requirements.txt
/openbmc/qemu/tests/rtas-test.c
/openbmc/qemu/tests/rtc-test.c
/openbmc/qemu/tests/rtl8139-test.c
/openbmc/qemu/tests/sdhci-test.c
/openbmc/qemu/tests/spapr-phb-test.c
/openbmc/qemu/tests/tcg/mips/include/test_inputs_128.h
/openbmc/qemu/tests/tcg/mips/include/test_utils_128.h
/openbmc/qemu/tests/tcg/mips/include/wrappers_msa.h
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mul_q_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mul_q_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulr_q_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulr_q_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_and_v.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_nor_v.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_or_v.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_xor_v.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_w.c
/openbmc/qemu/tests/tco-test.c
/openbmc/qemu/tests/test-aio-multithread.c
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-coroutine.c
/openbmc/qemu/tests/test-qgraph.c
/openbmc/qemu/tests/usb-hcd-ehci-test.c
/openbmc/qemu/tests/usb-hcd-ohci-test.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/virtio-9p-test.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-net-test.c
/openbmc/qemu/tests/virtio-rng-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/tests/virtio-serial-test.c
/openbmc/qemu/tests/virtio-test.c
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vmxnet3-test.c
/openbmc/qemu/thunk.c
/openbmc/qemu/trace/Makefile.objs
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/curses_keys.h
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/vl.c
b25e12da27-Feb-2019 Daniel P. Berrange <berrange@redhat.com>

qemu-nbd: add support for authorization of TLS clients

Currently any client which can complete the TLS handshake is able to use
the NBD server. The server admin can turn on the 'verify-peer' option

qemu-nbd: add support for authorization of TLS clients

Currently any client which can complete the TLS handshake is able to use
the NBD server. The server admin can turn on the 'verify-peer' option
for the x509 creds to require the client to provide a x509 certificate.
This means the client will have to acquire a certificate from the CA
before they are permitted to use the NBD server. This is still a fairly
low bar to cross.

This adds a '--tls-authz OBJECT-ID' option to the qemu-nbd command which
takes the ID of a previously added 'QAuthZ' object instance. This will
be used to validate the client's x509 distinguished name. Clients
failing the authorization check will not be permitted to use the NBD
server.

For example to setup authorization that only allows connection from a client
whose x509 certificate distinguished name is

CN=laptop.example.com,O=Example Org,L=London,ST=London,C=GB

escape the commas in the name and use:

qemu-nbd --object tls-creds-x509,id=tls0,dir=/home/berrange/qemutls,\
endpoint=server,verify-peer=yes \
--object 'authz-simple,id=auth0,identity=CN=laptop.example.com,,\
O=Example Org,,L=London,,ST=London,,C=GB' \
--tls-creds tls0 \
--tls-authz authz0 \
....other qemu-nbd args...

NB: a real shell command line would not have leading whitespace after
the line continuation, it is just included here for clarity.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <20190227162035.18543-2-berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: split long line in --help text, tweak 233 to show that whitespace
after ,, in identity= portion is actually okay]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.gitmodules
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/sdlaudio.c
/openbmc/qemu/authz/Makefile.objs
/openbmc/qemu/authz/base.c
/openbmc/qemu/authz/list.c
/openbmc/qemu/authz/listfile.c
/openbmc/qemu/authz/pamacct.c
/openbmc/qemu/authz/simple.c
/openbmc/qemu/authz/trace-events
/openbmc/qemu/backends/Makefile.objs
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed-table.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/throttle.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/block/vxhs.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/crypto/tlssession.c
/openbmc/qemu/crypto/trace-events
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/virtio.mak
/openbmc/qemu/disas/nanomips.cpp
/openbmc/qemu/disas/nanomips.h
/openbmc/qemu/docs/COLO-FT.txt
/openbmc/qemu/docs/amd-memory-encryption.txt
/openbmc/qemu/docs/can.txt
/openbmc/qemu/docs/colo-proxy.txt
/openbmc/qemu/docs/cpu-hotplug.rst
/openbmc/qemu/docs/qcow2-cache.txt
/openbmc/qemu/docs/qemu-block-drivers.texi
/openbmc/qemu/docs/qemu-cpu-models.texi
/openbmc/qemu/docs/rdma.txt
/openbmc/qemu/docs/replay.txt
/openbmc/qemu/docs/vfio-ap.txt
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
/openbmc/qemu/hw/acpi/core.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/z2.c
/openbmc/qemu/hw/audio/wm8750.c
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/sii9022.c
/openbmc/qemu/hw/display/ssd0303.c
/openbmc/qemu/hw/gpio/max7310.c
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/core.c
/openbmc/qemu/hw/i2c/exynos4210_i2c.c
/openbmc/qemu/hw/i2c/i2c-ddc.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/i2c/pm_smbus.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i2c/smbus_master.c
/openbmc/qemu/hw/i2c/smbus_slave.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/ide/atapi.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/input/lm832x.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/armsse-mhu.c
/openbmc/qemu/hw/misc/iotkit-sysctl.c
/openbmc/qemu/hw/misc/pca9552.c
/openbmc/qemu/hw/misc/tmp105.c
/openbmc/qemu/hw/misc/tmp421.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/net/vhost_net-stub.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/eeprom_at24c.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_psi.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/s390x/ap-bridge.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/timer/ds1338.c
/openbmc/qemu/hw/timer/m41t80.c
/openbmc/qemu/hw/timer/twl92230.c
/openbmc/qemu/hw/tpm/tpm_tis.c
/openbmc/qemu/hw/tpm/trace-events
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/vhost-backend.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/watchdog/cmsdk-apb-watchdog.c
/openbmc/qemu/include/authz/base.h
/openbmc/qemu/include/authz/list.h
/openbmc/qemu/include/authz/listfile.h
/openbmc/qemu/include/authz/pamacct.h
/openbmc/qemu/include/authz/simple.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/fpu/softfloat.h
/openbmc/qemu/include/hw/acpi/acpi.h
/openbmc/qemu/include/hw/arm/armsse.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/firmware/smbios.h
/openbmc/qemu/include/hw/i2c/i2c.h
/openbmc/qemu/include/hw/i2c/pm_smbus.h
/openbmc/qemu/include/hw/i2c/smbus_eeprom.h
/openbmc/qemu/include/hw/i2c/smbus_master.h
/openbmc/qemu/include/hw/i2c/smbus_slave.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/misc/armsse-mhu.h
/openbmc/qemu/include/hw/misc/iotkit-sysctl.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/virtio/virtio-balloon.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/hw/watchdog/cmsdk-apb-watchdog.h
/openbmc/qemu/include/migration/misc.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/net/announce.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/qemu/bitmap.h
/openbmc/qemu/include/qemu/bswap.h
/openbmc/qemu/include/qemu/filemonitor.h
/openbmc/qemu/include/qemu/iov.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor.c
server.c
/openbmc/qemu/net/Makefile.objs
/openbmc/qemu/net/announce.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/netmap.c
/openbmc/qemu/net/trace-events
/openbmc/qemu/net/vhost-user-stub.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/qapi/Makefile.objs
/openbmc/qemu/qapi/authz.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-nbd.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/edk2
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qemu.py
/openbmc/qemu/stubs/ram-block.c
/openbmc/qemu/target/arm/arm-powerctl.c
/openbmc/qemu/target/arm/arm-powerctl.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper-a64.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vec_helper.c
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/helper_regs.h
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.h
/openbmc/qemu/target/ppc/mmu-hash32.c
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu-radix64.h
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/cc_helper.c
/openbmc/qemu/target/s390x/excp_helper.c
/openbmc/qemu/target/s390x/fpu_helper.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/insn-format.def
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.inc.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/helper.h
/openbmc/qemu/target/xtensa/import_core.sh
/openbmc/qemu/target/xtensa/overlay_tool.h
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/target/xtensa/win_helper.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/cdrom-test.c
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.arm.iso.qcow2
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.i386.iso.qcow2
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.x86_64.iso.qcow2
/openbmc/qemu/tests/device-plug-test.c
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/docker/dockerfiles/debian9.docker
/openbmc/qemu/tests/fdc-test.c
/openbmc/qemu/tests/fp/fp-test.c
/openbmc/qemu/tests/fp/wrap.inc.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/ipmi-bt-test.c
/openbmc/qemu/tests/ipmi-kcs-test.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/qapi-schema/include/sub-module.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/sub-sub-module.json
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qemu-iotests/045
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/110
/openbmc/qemu/tests/qemu-iotests/110.out
/openbmc/qemu/tests/qemu-iotests/178
/openbmc/qemu/tests/qemu-iotests/178.out.qcow2
/openbmc/qemu/tests/qemu-iotests/206.out
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/207.out
/openbmc/qemu/tests/qemu-iotests/210
/openbmc/qemu/tests/qemu-iotests/210.out
/openbmc/qemu/tests/qemu-iotests/211
/openbmc/qemu/tests/qemu-iotests/211.out
/openbmc/qemu/tests/qemu-iotests/212
/openbmc/qemu/tests/qemu-iotests/212.out
/openbmc/qemu/tests/qemu-iotests/213
/openbmc/qemu/tests/qemu-iotests/213.out
/openbmc/qemu/tests/qemu-iotests/224
/openbmc/qemu/tests/qemu-iotests/224.out
/openbmc/qemu/tests/qemu-iotests/228
/openbmc/qemu/tests/qemu-iotests/228.out
/openbmc/qemu/tests/qemu-iotests/232
/openbmc/qemu/tests/qemu-iotests/233
/openbmc/qemu/tests/qemu-iotests/233.out
/openbmc/qemu/tests/qemu-iotests/237
/openbmc/qemu/tests/qemu-iotests/237.out
/openbmc/qemu/tests/qemu-iotests/242
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/common.tls
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/tcg/mips/include/test_inputs.h
/openbmc/qemu/tests/tcg/mips/include/test_inputs_32.h
/openbmc/qemu/tests/tcg/mips/include/test_inputs_64.h
/openbmc/qemu/tests/tcg/mips/include/test_utils.h
/openbmc/qemu/tests/tcg/mips/include/test_utils_32.h
/openbmc/qemu/tests/tcg/mips/include/test_utils_64.h
/openbmc/qemu/tests/tcg/mips/include/wrappers_mips64r6.h
/openbmc/qemu/tests/tcg/mips/include/wrappers_msa.h
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_w.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clo.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clz.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclo.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclz.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_bitswap.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_dbitswap.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuh.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuhu.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmul.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmulu.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muh.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muhu.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mul.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mulu.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_and.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_nor.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_or.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_xor.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsllv.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrav.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrlv.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_sllv.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srav.c
/openbmc/qemu/tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srlv.c
/openbmc/qemu/tests/tcg/xtensa/Makefile
/openbmc/qemu/tests/tcg/xtensa/linker.ld.S
/openbmc/qemu/tests/tcg/xtensa/macros.inc
/openbmc/qemu/tests/tcg/xtensa/test_b.S
/openbmc/qemu/tests/tcg/xtensa/test_boolean.S
/openbmc/qemu/tests/tcg/xtensa/test_break.S
/openbmc/qemu/tests/tcg/xtensa/test_cache.S
/openbmc/qemu/tests/tcg/xtensa/test_clamps.S
/openbmc/qemu/tests/tcg/xtensa/test_flix.S
/openbmc/qemu/tests/tcg/xtensa/test_fp0_arith.S
/openbmc/qemu/tests/tcg/xtensa/test_fp0_conv.S
/openbmc/qemu/tests/tcg/xtensa/test_fp1.S
/openbmc/qemu/tests/tcg/xtensa/test_fp_cpenable.S
/openbmc/qemu/tests/tcg/xtensa/test_interrupt.S
/openbmc/qemu/tests/tcg/xtensa/test_loop.S
/openbmc/qemu/tests/tcg/xtensa/test_lsc.S
/openbmc/qemu/tests/tcg/xtensa/test_mac16.S
/openbmc/qemu/tests/tcg/xtensa/test_max.S
/openbmc/qemu/tests/tcg/xtensa/test_min.S
/openbmc/qemu/tests/tcg/xtensa/test_mmu.S
/openbmc/qemu/tests/tcg/xtensa/test_mul16.S
/openbmc/qemu/tests/tcg/xtensa/test_mul32.S
/openbmc/qemu/tests/tcg/xtensa/test_nsa.S
/openbmc/qemu/tests/tcg/xtensa/test_phys_mem.S
/openbmc/qemu/tests/tcg/xtensa/test_quo.S
/openbmc/qemu/tests/tcg/xtensa/test_rem.S
/openbmc/qemu/tests/tcg/xtensa/test_rst0.S
/openbmc/qemu/tests/tcg/xtensa/test_s32c1i.S
/openbmc/qemu/tests/tcg/xtensa/test_sext.S
/openbmc/qemu/tests/tcg/xtensa/test_sr.S
/openbmc/qemu/tests/tcg/xtensa/test_timer.S
/openbmc/qemu/tests/tcg/xtensa/test_windowed.S
/openbmc/qemu/tests/tcg/xtensa/vectors.S
/openbmc/qemu/tests/test-announce-self.c
/openbmc/qemu/tests/test-authz-list.c
/openbmc/qemu/tests/test-authz-listfile.c
/openbmc/qemu/tests/test-authz-pam.c
/openbmc/qemu/tests/test-authz-simple.c
/openbmc/qemu/tests/test-bdrv-drain.c
/openbmc/qemu/tests/test-bdrv-graph-mod.c
/openbmc/qemu/tests/test-clone-visitor.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/test-io-channel-tls.c
/openbmc/qemu/tests/test-qmp-cmds.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-util-filemonitor.c
/openbmc/qemu/tests/uefi-test-tools/.gitignore
/openbmc/qemu/tests/uefi-test-tools/LICENSE
/openbmc/qemu/tests/uefi-test-tools/Makefile
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.c
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.inf
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/UefiTestToolsPkg.dec
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/UefiTestToolsPkg.dsc
/openbmc/qemu/tests/uefi-test-tools/build.sh
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/thunk.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/vnc-auth-sasl.c
/openbmc/qemu/ui/vnc-auth-sasl.h
/openbmc/qemu/ui/vnc-auth-vencrypt.c
/openbmc/qemu/ui/vnc-ws.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/filemonitor-inotify.c
/openbmc/qemu/util/filemonitor-stub.c
/openbmc/qemu/util/trace-events
/openbmc/qemu/util/vfio-helpers.c
/openbmc/qemu/vl.c
d3bd5b9018-Feb-2019 Kevin Wolf <kwolf@redhat.com>

nbd: Use low-level QIOChannel API in nbd_read_eof()

Instead of using the convenience wrapper qio_channel_read_all_eof(), use
the lower level QIOChannel API. This means duplicating some code, but
we'

nbd: Use low-level QIOChannel API in nbd_read_eof()

Instead of using the convenience wrapper qio_channel_read_all_eof(), use
the lower level QIOChannel API. This means duplicating some code, but
we'll need this because this coroutine yield is special: We want it to
be interruptible so that nbd_client_attach_aio_context() can correctly
reenter the coroutine.

This moves the bdrv_dec/inc_in_flight() pair into nbd_read_eof(), so
that connection_co will always sit in this exact qio_channel_yield()
call when bdrv_drain() returns.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...

a7b78fc918-Feb-2019 Kevin Wolf <kwolf@redhat.com>

nbd: Move nbd_read_eof() to nbd/client.c

The only caller of nbd_read_eof() is nbd_receive_reply(), so it doesn't
have to live in the header file, but can move next to its caller.

Also add the missi

nbd: Move nbd_read_eof() to nbd/client.c

The only caller of nbd_read_eof() is nbd_receive_reply(), so it doesn't
have to live in the header file, but can move next to its caller.

Also add the missing coroutine_fn to the function and its caller.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/kvm/trace-events
/openbmc/qemu/audio/wavcapture.c
/openbmc/qemu/block.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-snapshot.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char-fe.c
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-serial.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/chardev/spice.c
/openbmc/qemu/chardev/trace-events
/openbmc/qemu/chardev/wctablet.c
/openbmc/qemu/configure
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/musca.c
/openbmc/qemu/hw/arm/omap2.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/bt/hci-csr.c
/openbmc/qemu/hw/char/omap_uart.c
/openbmc/qemu/hw/char/pl011.c
/openbmc/qemu/hw/char/terminal3270.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/char/xen_console.c
/openbmc/qemu/hw/core/bus.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/display/virtio-gpu-3d.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/dma/i8257.c
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/input/pckbd.c
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/isa/isa-superio.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_int.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/misc/mips_cpc.c
/openbmc/qemu/hw/misc/mips_itu.c
/openbmc/qemu/hw/misc/tz-ppc.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/timer/pl031.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/usb/core.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-musb.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-uhci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/block/snapshot.h
/openbmc/qemu/include/chardev/char-fe.h
/openbmc/qemu/include/chardev/char-mux.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/chardev/spice.h
/openbmc/qemu/include/exec/helper-head.h
/openbmc/qemu/include/hw/arm/armsse.h
/openbmc/qemu/include/hw/char/pl011.h
/openbmc/qemu/include/hw/misc/tz-ppc.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_irq.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/s390x/tod.h
/openbmc/qemu/include/hw/timer/pl031.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/io/task.h
/openbmc/qemu/include/qapi/qmp/dispatch.h
/openbmc/qemu/include/sysemu/arch_init.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/ui/spice-display.h
/openbmc/qemu/io/channel.c
/openbmc/qemu/io/task.c
/openbmc/qemu/io/trace-events
/openbmc/qemu/iothread.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/mips/cpu_loop.c
/openbmc/qemu/linux-user/riscv/signal.c
/openbmc/qemu/linux-user/s390x/target_cpu.h
/openbmc/qemu/monitor.c
client.c
nbd-internal.h
/openbmc/qemu/net/slirp.c
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi/Makefile.objs
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qmp-registry.c
/openbmc/qemu/qapi/target.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qmp.c
/openbmc/qemu/qtest.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/qapi/types.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/scripts/qemugdb/coroutine.py
/openbmc/qemu/slirp/ip_icmp.c
/openbmc/qemu/slirp/misc.c
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/slirp/socket.c
/openbmc/qemu/slirp/tcp_subr.c
/openbmc/qemu/slirp/udp.c
/openbmc/qemu/slirp/util.c
/openbmc/qemu/slirp/util.h
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/monitor.c
/openbmc/qemu/target/arm/Makefile.objs
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/monitor.c
/openbmc/qemu/target/arm/neon_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vec_helper.c
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/hppa/Makefile.objs
/openbmc/qemu/target/hppa/insns.decode
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/sev_i386.h
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/helper.h
/openbmc/qemu/target/mips/machine.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/ppc/arch_dump.c
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/fpu_helper.c
/openbmc/qemu/target/riscv/op_helper.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_features.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/s390-tod.h
/openbmc/qemu/target/s390x/trace-events
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/qapi-schema/comments.out
/openbmc/qemu/tests/qapi-schema/doc-bad-section.out
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/empty.out
/openbmc/qemu/tests/qapi-schema/event-case.out
/openbmc/qemu/tests/qapi-schema/ident-with-escape.out
/openbmc/qemu/tests/qapi-schema/include-relpath.out
/openbmc/qemu/tests/qapi-schema/include-repetition.out
/openbmc/qemu/tests/qapi-schema/include-simple.out
/openbmc/qemu/tests/qapi-schema/indented-expr.out
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qemu-iotests/124
/openbmc/qemu/tests/qemu-iotests/236.out
/openbmc/qemu/tests/qemu-iotests/242
/openbmc/qemu/tests/qemu-iotests/242.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tcg/mips/include/test_inputs.h
/openbmc/qemu/tests/tcg/mips/include/test_utils.h
/openbmc/qemu/tests/tcg/mips/include/wrappers_msa.h
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_b.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_d.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_and_v.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_nor_v.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_or_v.c
/openbmc/qemu/tests/tcg/mips/user/ase/msa/logic/test_msa_xor_v.c
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-filter-redirector.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/kbd-state.c
/openbmc/qemu/ui/sdl2-input.c
/openbmc/qemu/ui/spice-app.c
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/vl.c
269ee27e07-Feb-2019 Eric Blake <eblake@redhat.com>

nbd/server: Kill pointless shadowed variable

lgtm.com pointed out that commit 678ba275 introduced a shadowed
declaration of local variable 'bs'; thankfully, the inner 'bs'
obtained by 'blk_bs(blk)'

nbd/server: Kill pointless shadowed variable

lgtm.com pointed out that commit 678ba275 introduced a shadowed
declaration of local variable 'bs'; thankfully, the inner 'bs'
obtained by 'blk_bs(blk)' matches the outer one given that we had
'blk_insert_bs(blk, bs, errp)' a few lines earlier, and there are
no later uses of 'bs' beyond the scope of the 'if (bitmap)' to
care if we change the value stored in 'bs' while traveling the
backing chain to find a bitmap. So simply get rid of the extra
declaration.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190207191357.6665-1-eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.gitignore
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/softmmu_template.h
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/elf2dmp/kdbg.h
/openbmc/qemu/contrib/elf2dmp/main.c
/openbmc/qemu/contrib/elf2dmp/pdb.c
/openbmc/qemu/contrib/elf2dmp/pdb.h
/openbmc/qemu/contrib/elf2dmp/pe.h
/openbmc/qemu/contrib/elf2dmp/qemu_elf.c
/openbmc/qemu/contrib/elf2dmp/qemu_elf.h
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/vhost-user-blk/vhost-user-blk.c
/openbmc/qemu/cpus.c
/openbmc/qemu/crypto/aes.c
/openbmc/qemu/crypto/desrfb.c
/openbmc/qemu/default-configs/alpha-softmmu.mak
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/cris-softmmu.mak
/openbmc/qemu/default-configs/hppa-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/m68k-softmmu.mak
/openbmc/qemu/default-configs/microblaze-softmmu.mak
/openbmc/qemu/default-configs/mips-softmmu-common.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/default-configs/moxie-softmmu.mak
/openbmc/qemu/default-configs/nios2-softmmu.mak
/openbmc/qemu/default-configs/or1k-softmmu.mak
/openbmc/qemu/default-configs/pci.mak
/openbmc/qemu/default-configs/ppc-softmmu.mak
/openbmc/qemu/default-configs/riscv32-softmmu.mak
/openbmc/qemu/default-configs/riscv64-softmmu.mak
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/default-configs/sh4-softmmu.mak
/openbmc/qemu/default-configs/sh4eb-softmmu.mak
/openbmc/qemu/default-configs/sparc-softmmu.mak
/openbmc/qemu/default-configs/sparc64-softmmu.mak
/openbmc/qemu/default-configs/tricore-softmmu.mak
/openbmc/qemu/default-configs/xtensa-softmmu.mak
/openbmc/qemu/default-configs/xtensaeb-softmmu.mak
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/dump.c
/openbmc/qemu/exec.c
/openbmc/qemu/gdb-xml/i386-32bit.xml
/openbmc/qemu/gdb-xml/i386-64bit.xml
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/Makefile.objs
/openbmc/qemu/hw/alpha/Makefile.objs
/openbmc/qemu/hw/alpha/dp264.c
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/core/generic-loader.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/cpu/cluster.c
/openbmc/qemu/hw/cris/Makefile.objs
/openbmc/qemu/hw/cris/boot.c
/openbmc/qemu/hw/hppa/Makefile.objs
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/multiboot.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/ide/Makefile.objs
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/ioport.c
/openbmc/qemu/hw/input/tsc210x.c
/openbmc/qemu/hw/lm32/Makefile.objs
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/Makefile.objs
/openbmc/qemu/hw/m68k/an5206.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/Makefile.objs
/openbmc/qemu/hw/microblaze/boot.c
/openbmc/qemu/hw/mips/Makefile.objs
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_mipssim.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/moxie/Makefile.objs
/openbmc/qemu/hw/moxie/moxiesim.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/nios2/Makefile.objs
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/openrisc/Makefile.objs
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/pci-host/Makefile.objs
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci/msi.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/riscv/Makefile.objs
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-bus.h
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/sh4/Makefile.objs
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sparc/Makefile.objs
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/Makefile.objs
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/tricore/Makefile.objs
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/unicore32/puv3.c
/openbmc/qemu/hw/vfio/Makefile.objs
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xtensa/Makefile.objs
/openbmc/qemu/hw/xtensa/mx_pic.c
/openbmc/qemu/hw/xtensa/pic_cpu.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memattrs.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/tb-lookup.h
/openbmc/qemu/include/glib-compat.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/pci/msi.h
/openbmc/qemu/include/hw/xen/start_info.h
/openbmc/qemu/include/hw/xtensa/mx_pic.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/atomic128.h
/openbmc/qemu/include/qemu/main-loop.h
/openbmc/qemu/include/qemu/queue.h
/openbmc/qemu/include/standard-headers/asm-x86/bootparam.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/vhost_types.h
/openbmc/qemu/include/standard-headers/linux/virtio_balloon.h
/openbmc/qemu/include/standard-headers/linux/virtio_blk.h
/openbmc/qemu/include/standard-headers/linux/virtio_config.h
/openbmc/qemu/include/standard-headers/linux/virtio_gpu.h
/openbmc/qemu/include/standard-headers/linux/virtio_ring.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/gtk.h
/openbmc/qemu/include/ui/kbd-state.h
/openbmc/qemu/include/ui/sdl2.h
/openbmc/qemu/linux-headers/asm-arm/unistd-common.h
/openbmc/qemu/linux-headers/asm-arm64/unistd.h
/openbmc/qemu/linux-headers/asm-generic/unistd.h
/openbmc/qemu/linux-headers/asm-mips/sgidefs.h
/openbmc/qemu/linux-headers/asm-mips/unistd.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_64.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/linux-headers/linux/vhost.h
/openbmc/qemu/linux-headers/linux/vhost_types.h
/openbmc/qemu/linux-user/aarch64/target_syscall.h
/openbmc/qemu/linux-user/fd-trans.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/monitor.c
server.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/pc-bios/optionrom/Makefile
/openbmc/qemu/pc-bios/optionrom/linuxboot_dma.c
/openbmc/qemu/pc-bios/optionrom/optrom.h
/openbmc/qemu/pc-bios/optionrom/optrom_fw_cfg.h
/openbmc/qemu/pc-bios/optionrom/pvh.S
/openbmc/qemu/pc-bios/optionrom/pvh_main.c
/openbmc/qemu/pc-bios/pvh.bin
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scripts/archive-source.sh
/openbmc/qemu/scripts/dump-guest-memory.py
/openbmc/qemu/scripts/qemu.py
/openbmc/qemu/scripts/tap-driver.pl
/openbmc/qemu/scripts/tap-merge.pl
/openbmc/qemu/scripts/update-linux-headers.sh
/openbmc/qemu/slirp/Makefile.objs
/openbmc/qemu/slirp/arp_table.c
/openbmc/qemu/slirp/bootp.c
/openbmc/qemu/slirp/cksum.c
/openbmc/qemu/slirp/debug.h
/openbmc/qemu/slirp/dhcpv6.c
/openbmc/qemu/slirp/dnssearch.c
/openbmc/qemu/slirp/if.c
/openbmc/qemu/slirp/ip.h
/openbmc/qemu/slirp/ip6.h
/openbmc/qemu/slirp/ip6_icmp.c
/openbmc/qemu/slirp/ip6_icmp.h
/openbmc/qemu/slirp/ip6_input.c
/openbmc/qemu/slirp/ip6_output.c
/openbmc/qemu/slirp/ip_icmp.c
/openbmc/qemu/slirp/ip_icmp.h
/openbmc/qemu/slirp/ip_input.c
/openbmc/qemu/slirp/ip_output.c
/openbmc/qemu/slirp/libslirp.h
/openbmc/qemu/slirp/main.h
/openbmc/qemu/slirp/mbuf.c
/openbmc/qemu/slirp/mbuf.h
/openbmc/qemu/slirp/misc.c
/openbmc/qemu/slirp/misc.h
/openbmc/qemu/slirp/ncsi.c
/openbmc/qemu/slirp/ndp_table.c
/openbmc/qemu/slirp/qtailq.h
/openbmc/qemu/slirp/sbuf.c
/openbmc/qemu/slirp/sbuf.h
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/slirp/slirp.h
/openbmc/qemu/slirp/socket.c
/openbmc/qemu/slirp/socket.h
/openbmc/qemu/slirp/state.c
/openbmc/qemu/slirp/state.h
/openbmc/qemu/slirp/tcp_input.c
/openbmc/qemu/slirp/tcp_output.c
/openbmc/qemu/slirp/tcp_subr.c
/openbmc/qemu/slirp/tcp_timer.c
/openbmc/qemu/slirp/tcp_var.h
/openbmc/qemu/slirp/tftp.c
/openbmc/qemu/slirp/udp.c
/openbmc/qemu/slirp/udp.h
/openbmc/qemu/slirp/udp6.c
/openbmc/qemu/slirp/util.c
/openbmc/qemu/slirp/util.h
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/hppa/gdbstub.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/gdbstub.c
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86_cpuid.c
/openbmc/qemu/target/i386/hvf/x86_decode.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/moxie/cpu.c
/openbmc/qemu/target/moxie/cpu.h
/openbmc/qemu/target/moxie/helper.c
/openbmc/qemu/target/moxie/mmu.c
/openbmc/qemu/target/moxie/translate.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/xtensa/Makefile.objs
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/core-isa.h
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/gdb-config.inc.c
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/xtensa-modules.inc.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/helper.h
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/centos7.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-buster-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian10.docker
/openbmc/qemu/tests/tcg/aarch64/Makefile.include
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/pauth-1.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/centos
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/tests/vm/openbsd
/openbmc/qemu/tests/vm/ubuntu.i386
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/egl-headless.c
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/kbd-state.c
/openbmc/qemu/ui/keymaps.c
/openbmc/qemu/ui/keymaps.h
/openbmc/qemu/ui/sdl2-input.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/ui/vnc-enc-hextile-template.h
/openbmc/qemu/ui/vnc-enc-zywrle.h
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/ui/vnc.h
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/osdep.c
/openbmc/qemu/vl.c
e6798f0628-Jan-2019 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

nbd: generalize usage of nbd_read

We generally do very similar things around nbd_read: error_prepend
specifying what we have tried to read, and be_to_cpu conversion of
integers.

So, it seems reason

nbd: generalize usage of nbd_read

We generally do very similar things around nbd_read: error_prepend
specifying what we have tried to read, and be_to_cpu conversion of
integers.

So, it seems reasonable to move common things to helper functions,
which:
1. simplify code a bit
2. generalize nbd_read error descriptions, all starting with
"Failed to read"
3. make it more difficult to forget to convert things from BE

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190128165830.165170-1-vsementsov@virtuozzo.com>
[eblake: rename macro to DEF_NBD_READ_N and formatting tweaks;
checkpatch has false positive complaint]
Signed-off-by: Eric Blake <eblake@redhat.com>

show more ...


/openbmc/qemu/COPYING.LIB
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/cpu-exec-common.c
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/softmmu_template.h
/openbmc/qemu/accel/tcg/tcg-runtime-gvec.c
/openbmc/qemu/accel/tcg/tcg-runtime.h
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translate-all.h
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio_int.h
/openbmc/qemu/audio/paaudio.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/throttle-groups.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/gitdm/filetypes.txt
/openbmc/qemu/contrib/rdmacm-mux/Makefile.objs
/openbmc/qemu/contrib/rdmacm-mux/main.c
/openbmc/qemu/crypto/afsplit.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/lm32-softmmu.mak
/openbmc/qemu/disas/nanomips.cpp
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/docs/multiseat.txt
/openbmc/qemu/docs/pvrdma.txt
/openbmc/qemu/docs/qemu-cpu-models.texi
/openbmc/qemu/exec.c
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/microbit.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/nrf51_soc.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/cpu/cluster.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/milkymist-tmu2.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/gpio/trace-events
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i2c/microbit_i2c.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/ide/cmd646.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/input/pckbd.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/lm32/milkymist-hw.h
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/armsse-cpuid.c
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/iotkit-secctl.c
/openbmc/qemu/hw/misc/iotkit-sysinfo.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/nvram/Makefile.objs
/openbmc/qemu/hw/nvram/nrf51_nvm.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/ppc440_uc.c
/openbmc/qemu/hw/ppc/ppc4xx_devs.c
/openbmc/qemu/hw/ppc/ppc_booke.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/rdma/rdma_backend.c
/openbmc/qemu/hw/rdma/rdma_backend.h
/openbmc/qemu/hw/rdma/rdma_backend_defs.h
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.h
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/usb/combined-packet.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/hcd-ehci-pci.c
/openbmc/qemu/hw/usb/hcd-ehci-sysbus.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ehci.h
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/hcd-xhci.h
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/block/throttle-groups.h
/openbmc/qemu/include/crypto/afsplit.h
/openbmc/qemu/include/exec/cpu-defs.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/fpu/softfloat-macros.h
/openbmc/qemu/include/hw/acpi/cpu.h
/openbmc/qemu/include/hw/arm/armsse.h
/openbmc/qemu/include/hw/arm/armv7m.h
/openbmc/qemu/include/hw/arm/nrf51.h
/openbmc/qemu/include/hw/arm/nrf51_soc.h
/openbmc/qemu/include/hw/arm/pxa.h
/openbmc/qemu/include/hw/char/serial.h
/openbmc/qemu/include/hw/cpu/cluster.h
/openbmc/qemu/include/hw/devices.h
/openbmc/qemu/include/hw/display/milkymist_tmu2.h
/openbmc/qemu/include/hw/i2c/microbit_i2c.h
/openbmc/qemu/include/hw/i2c/smbus.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ide.h
/openbmc/qemu/include/hw/ide/ahci.h
/openbmc/qemu/include/hw/ide/pci.h
/openbmc/qemu/include/hw/input/ps2.h
/openbmc/qemu/include/hw/misc/armsse-cpuid.h
/openbmc/qemu/include/hw/misc/iotkit-secctl.h
/openbmc/qemu/include/hw/misc/iotkit-sysinfo.h
/openbmc/qemu/include/hw/nvram/nrf51_nvm.h
/openbmc/qemu/include/hw/pci-host/gpex.h
/openbmc/qemu/include/hw/pci-host/q35.h
/openbmc/qemu/include/hw/pcmcia.h
/openbmc/qemu/include/hw/ppc/pnv_core.h
/openbmc/qemu/include/hw/ppc/ppc4xx.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_cpu_core.h
/openbmc/qemu/include/hw/ppc/spapr_xive.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ppc/xics_spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/migration/register.h
/openbmc/qemu/include/qapi/qmp-event.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/mmap-alloc.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/range.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qemu/units.h
/openbmc/qemu/include/qemu/uuid.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/bt.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/qemu-pixman.h
/openbmc/qemu/include/ui/sdl2.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/aarch64/target_syscall.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/m68k/target_cpu.h
/openbmc/qemu/linux-user/m68k/target_structs.h
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor.c
client.c
common.c
server.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/efi-e1000.rom
/openbmc/qemu/pc-bios/efi-e1000e.rom
/openbmc/qemu/pc-bios/efi-eepro100.rom
/openbmc/qemu/pc-bios/efi-ne2k_pci.rom
/openbmc/qemu/pc-bios/efi-pcnet.rom
/openbmc/qemu/pc-bios/efi-rtl8139.rom
/openbmc/qemu/pc-bios/efi-virtio.rom
/openbmc/qemu/pc-bios/efi-vmxnet3.rom
/openbmc/qemu/pc-bios/qemu_vga.ndrv
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/qapi-schema.json
/openbmc/qemu/qapi/qmp-event.c
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-nbd.texi
/openbmc/qemu/qemu-seccomp.c
/openbmc/qemu/qobject/json-parser.c
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/roms/QemuMacDrivers
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/ipxe
/openbmc/qemu/scripts/archive-source.sh
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/qemu-trace-stap
/openbmc/qemu/scripts/qemu-trace-stap.texi
/openbmc/qemu/scripts/qtest.py
/openbmc/qemu/scripts/render_block_graph.py
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/scripts/tracetool/format/log_stap.py
/openbmc/qemu/stubs/monitor.c
/openbmc/qemu/target/arm/arm-powerctl.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/fpu_helper.c
/openbmc/qemu/target/m68k/gdbstub.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/mips/translate_init.inc.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/exception.h
/openbmc/qemu/target/openrisc/gdbstub.c
/openbmc/qemu/target/openrisc/helper.h
/openbmc/qemu/target/openrisc/interrupt_helper.c
/openbmc/qemu/target/openrisc/sys_helper.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/s390x/cc_helper.c
/openbmc/qemu/target/s390x/excp_helper.c
/openbmc/qemu/target/s390x/fpu_helper.c
/openbmc/qemu/target/s390x/gdbstub.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/int_helper.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/tricore/cpu-qom.h
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/tricore/fpu_helper.c
/openbmc/qemu/target/tricore/helper.c
/openbmc/qemu/target/tricore/helper.h
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/tricore/tricore-defs.h
/openbmc/qemu/target/tricore/tricore-opcodes.h
/openbmc/qemu/target/xtensa/Makefile.objs
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/dbg_helper.c
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/target/xtensa/fpu_helper.c
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/helper.h
/openbmc/qemu/target/xtensa/mmu_helper.c
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/overlay_tool.h
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/target/xtensa/win_helper.c
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/riscv/tcg-target.inc.c
/openbmc/qemu/tcg/s390/tcg-target.inc.c
/openbmc/qemu/tcg/sparc/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-gvec-desc.h
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op-gvec.h
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/boot-order-test.c
/openbmc/qemu/tests/check-qjson.c
/openbmc/qemu/tests/docker/test-mingw
/openbmc/qemu/tests/endianness-test.c
/openbmc/qemu/tests/fp/Makefile
/openbmc/qemu/tests/fp/berkeley-testfloat-3
/openbmc/qemu/tests/fp/fp-bench.c
/openbmc/qemu/tests/fp/fp-test.c
/openbmc/qemu/tests/fp/platform.h
/openbmc/qemu/tests/hexloader-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/microbit-test.c
/openbmc/qemu/tests/pnv-xscom-test.c
/openbmc/qemu/tests/qemu-iotests/141.out
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/229
/openbmc/qemu/tests/qemu-iotests/229.out
/openbmc/qemu/tests/qemu-iotests/233
/openbmc/qemu/tests/qemu-iotests/233.out
/openbmc/qemu/tests/qemu-iotests/234
/openbmc/qemu/tests/qemu-iotests/234.out
/openbmc/qemu/tests/qemu-iotests/236.out
/openbmc/qemu/tests/qemu-iotests/237
/openbmc/qemu/tests/qemu-iotests/237.out
/openbmc/qemu/tests/qemu-iotests/238
/openbmc/qemu/tests/qemu-iotests/238.out
/openbmc/qemu/tests/qemu-iotests/239
/openbmc/qemu/tests/qemu-iotests/239.out
/openbmc/qemu/tests/qemu-iotests/240
/openbmc/qemu/tests/qemu-iotests/240.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/sample_images/simple-dmg.dmg.bz2
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/Makefile
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_absq_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_absq_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_addq_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_addq_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_addq_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_addsc.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_addu_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_addu_s_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_addwc.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_bitrev.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_bposge32.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmp_eq_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmp_le_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmp_lt_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmpgu_eq_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmpgu_le_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmpgu_lt_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmpu_eq_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmpu_le_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_cmpu_lt_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpaq_s_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpaq_sa_l_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpau_h_qbl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpau_h_qbr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpsq_s_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpsq_sa_l_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpsu_h_qbl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_dpsu_h_qbr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extp.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extpdp.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extpdpv.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extpv.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extr_r_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extr_rs_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extr_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extr_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extrv_r_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extrv_rs_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extrv_s_h.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_extrv_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_insv.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_lbux.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_lhx.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_lwx.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_madd.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_maddu.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_main.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_maq_s_w_phl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_maq_s_w_phr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_maq_sa_w_phl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_maq_sa_w_phr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_mfhi.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_mflo.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_modsub.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_msub.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_msubu.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_mthi.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_mthlip.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_mtlo.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_muleq_s_w_phl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_muleq_s_w_phr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_muleu_s_ph_qbl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_muleu_s_ph_qbr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_mulq_rs_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_mult.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_multu.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_packrl_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_pick_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_pick_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_preceq_w_phl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_preceq_w_phr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precequ_ph_qbl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precequ_ph_qbla.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precequ_ph_qbr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precequ_ph_qbra.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_preceu_ph_qbl.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_preceu_ph_qbla.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_preceu_ph_qbr.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_preceu_ph_qbra.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precrq_ph_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precrq_qb_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precrq_rs_ph_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_precrqu_s_qb_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_raddu_w_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_rddsp.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_repl_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_repl_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_replv_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_replv_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shilo.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shilov.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shll_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shll_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shll_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shll_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shllv_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shllv_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shllv_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shllv_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shra_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shra_r_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shra_r_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shrav_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shrav_r_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shrav_r_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shrl_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_shrlv_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_subq_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_subq_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_subq_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_subu_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_subu_s_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r1_wrdsp.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_absq_s_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_addqh_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_addqh_r_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_addqh_r_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_addqh_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_addu_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_addu_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_adduh_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_adduh_r_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_append.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_balign.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_cmpgdu_eq_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_cmpgdu_le_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_cmpgdu_lt_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dpa_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dpaqx_s_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dpaqx_sa_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dpax_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dps_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dpsqx_s_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dpsqx_sa_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_dpsx_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_mul_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_mul_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_mulq_rs_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_mulq_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_mulq_s_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_mulsa_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_mulsaq_s_w_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_precr_qb_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_precr_sra_ph_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_precr_sra_r_ph_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_prepend.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_shra_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_shra_r_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_shrav_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_shrav_r_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_shrl_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_shrlv_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subqh_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subqh_r_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subqh_r_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subqh_w.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subu_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subu_s_ph.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subuh_qb.c
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/test_dsp_r2_subuh_r_qb.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/Makefile
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_div1.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_divu1.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_madd.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_maddu.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_mflohi1.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_mtlohi1.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_mult.c
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/test_r5900_multu.c
/openbmc/qemu/tests/test-block-iothread.c
/openbmc/qemu/tests/test-filter-mirror.c
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/vmgenid-test.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/icons/Makefile
/openbmc/qemu/ui/icons/qemu.svg
/openbmc/qemu/ui/icons/qemu_128x128.png
/openbmc/qemu/ui/icons/qemu_16x16.png
/openbmc/qemu/ui/icons/qemu_24x24.png
/openbmc/qemu/ui/icons/qemu_256x256.png
/openbmc/qemu/ui/icons/qemu_32x32.bmp
/openbmc/qemu/ui/icons/qemu_32x32.png
/openbmc/qemu/ui/icons/qemu_48x48.png
/openbmc/qemu/ui/icons/qemu_512x512.png
/openbmc/qemu/ui/icons/qemu_64x64.png
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/qemu.desktop
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/mmap-alloc.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-coroutine-sleep.c
/openbmc/qemu/util/range.c
/openbmc/qemu/util/uuid.c
/openbmc/qemu/vl.c
7c6f5ddc17-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Work around 3.0 bug for listing meta contexts

Commit 3d068aff forgot to advertise available qemu: contexts
when the client requests a list with 0 queries. Furthermore,
3.0 shipped with a

nbd/client: Work around 3.0 bug for listing meta contexts

Commit 3d068aff forgot to advertise available qemu: contexts
when the client requests a list with 0 queries. Furthermore,
3.0 shipped with a qemu-img hack of x-dirty-bitmap (commit
216ee365) that _silently_ acts as though the entire image is
clean if a requested bitmap is not present. Both bugs have
been recently fixed, so that a modern qemu server gives full
context output right away, and the client refuses a
connection if a requested x-dirty-bitmap was not found.

Still, it is likely that there will be users that have to
work with a mix of old and new qemu versions, depending on
which features get backported where, at which point being
able to rely on 'qemu-img --list' output to know for sure
whether a given NBD export has the desired dirty bitmap is
much nicer than blindly connecting and risking that the
entire image may appear clean. We can make our --list code
smart enough to work around buggy servers by tracking
whether we've seen any qemu: replies in the original 0-query
list; if not, repeat with a single query on "qemu:" (which
may still have no replies, but then we know for sure we
didn't trip up on the server bug).

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

show more ...

0b576b6b17-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Add meta contexts to nbd_receive_export_list()

We want to be able to detect whether a given qemu NBD server is
exposing the right export(s) and dirty bitmaps, at least for
regression tes

nbd/client: Add meta contexts to nbd_receive_export_list()

We want to be able to detect whether a given qemu NBD server is
exposing the right export(s) and dirty bitmaps, at least for
regression testing. We could use 'nbd-client -l' from the upstream
NBD project to list exports, but it's annoying to rely on
out-of-tree binaries; furthermore, nbd-client doesn't necessarily
know about all of the qemu NBD extensions. Thus, we plan on adding
a new mode to qemu-nbd that merely sniffs all possible information
from the server during handshake phase, then disconnects and dumps
the information.

This patch continues the work of the previous patch, by adding the
ability to track the list of available meta contexts into
NBDExportInfo. It benefits from the recent refactoring patches
with a new nbd_list_meta_contexts() that reuses much of the same
framework as setting a meta context.

Note: a malicious server could exhaust memory of a client by feeding
an unending loop of contexts; perhaps we could place a limit on how
many we are willing to receive. But this is no different from our
earlier analysis on a server sending an unending list of exports,
and the death of a client due to memory exhaustion when the client
was going to exit soon anyways is not really a denial of service
attack.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190117193658.16413-19-eblake@redhat.com>

show more ...

d21a2d3417-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Add nbd_receive_export_list()

We want to be able to detect whether a given qemu NBD server is
exposing the right export(s) and dirty bitmaps, at least for
regression testing. We could u

nbd/client: Add nbd_receive_export_list()

We want to be able to detect whether a given qemu NBD server is
exposing the right export(s) and dirty bitmaps, at least for
regression testing. We could use 'nbd-client -l' from the upstream
NBD project to list exports, but it's annoying to rely on
out-of-tree binaries; furthermore, nbd-client doesn't necessarily
know about all of the qemu NBD extensions. Thus, we plan on adding
a new mode to qemu-nbd that merely sniffs all possible information
from the server during handshake phase, then disconnects and dumps
the information.

This patch adds the low-level client code for grabbing the list
of exports. It benefits from the recent refactoring patches, in
order to share as much code as possible when it comes to doing
validation of server replies. The resulting information is stored
in an array of NBDExportInfo which has been expanded to any
description string, along with a convenience function for freeing
the list.

Note: a malicious server could exhaust memory of a client by feeding
an unending loop of exports; perhaps we should place a limit on how
many we are willing to receive. But note that a server could
reasonably be serving an export for every file in a large directory,
where an arbitrary limit in the client means we can't list anything
from such a server; the same happens if we just run until the client
fails to malloc() and thus dies by an abort(), where the limit is
no longer arbitrary but determined by available memory. Since the
client is already planning on being short-lived, it's hard to call
this a denial of service attack that would starve off other uses,
so it does not appear to be a security issue.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Message-Id: <20190117193658.16413-18-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

show more ...

138796d017-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Refactor nbd_opt_go() to support NBD_OPT_INFO

Rename the function to nbd_opt_info_or_go() with an added parameter
and slight changes to comments and trace messages, in order to
reuse the

nbd/client: Refactor nbd_opt_go() to support NBD_OPT_INFO

Rename the function to nbd_opt_info_or_go() with an added parameter
and slight changes to comments and trace messages, in order to
reuse the function for NBD_OPT_INFO.

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

show more ...

b3c9d33b17-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Pull out oldstyle size determination

Another refactoring creating nbd_negotiate_finish_oldstyle()
for further reuse during 'qemu-nbd --list'.

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

nbd/client: Pull out oldstyle size determination

Another refactoring creating nbd_negotiate_finish_oldstyle()
for further reuse during 'qemu-nbd --list'.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Message-Id: <20190117193658.16413-16-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

show more ...

10b8998817-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Split handshake into two functions

An upcoming patch will add the ability for qemu-nbd to list
the services provided by an NBD server. Share the common
code of the TLS handshake by spli

nbd/client: Split handshake into two functions

An upcoming patch will add the ability for qemu-nbd to list
the services provided by an NBD server. Share the common
code of the TLS handshake by splitting the initial exchange
into a separate function, leaving only the export handling
in the original function. Functionally, there should be no
change in behavior in this patch, although some of the code
motion may be difficult to follow due to indentation changes
(view with 'git diff -w' for a smaller changeset).

I considered an enum for the return code coordinating state
between the two functions, but in the end just settled with
ample comments.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190117193658.16413-15-eblake@redhat.com>

show more ...

2b8d095417-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Refactor return of nbd_receive_negotiate()

The function could only ever return 0 or -EINVAL; make this
clearer by dropping a useless 'fail:' label.

Signed-off-by: Eric Blake <eblake@red

nbd/client: Refactor return of nbd_receive_negotiate()

The function could only ever return 0 or -EINVAL; make this
clearer by dropping a useless 'fail:' label.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190117193658.16413-14-eblake@redhat.com>

show more ...

0182c1ae17-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Split out nbd_receive_one_meta_context()

Extract portions of nbd_negotiate_simple_meta_context() to
a new function nbd_receive_one_meta_context() that copies the
pattern of nbd_receive_l

nbd/client: Split out nbd_receive_one_meta_context()

Extract portions of nbd_negotiate_simple_meta_context() to
a new function nbd_receive_one_meta_context() that copies the
pattern of nbd_receive_list() for performing the argument
validation of one reply. The error message when the server
replies with more than one context changes slightly, but
that shouldn't happen in the common case.

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

show more ...

757b3ab917-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Split out nbd_send_meta_query()

Refactor nbd_negotiate_simple_meta_context() to pull out the
code that can be reused to send a LIST request for 0 or 1 query.
No semantic change. The old

nbd/client: Split out nbd_send_meta_query()

Refactor nbd_negotiate_simple_meta_context() to pull out the
code that can be reused to send a LIST request for 0 or 1 query.
No semantic change. The old comment about 'sizeof(uint32_t)'
being equivalent to '/* number of queries */' is no longer
needed, now that we are computing 'sizeof(queries)' instead.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Message-Id: <20190117193658.16413-12-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

show more ...

2df94eb517-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Change signature of nbd_negotiate_simple_meta_context()

Pass 'info' instead of three separate parameters related to info,
when requesting the server to set the meta context. Update the

nbd/client: Change signature of nbd_negotiate_simple_meta_context()

Pass 'info' instead of three separate parameters related to info,
when requesting the server to set the meta context. Update the
NBDExportInfo struct to rename the received id field to match the
fact that we are currently overloading the field to match whatever
context the user supplied through the x-dirty-bitmap hack, as well
as adding a TODO comment to remind future patches about a desire
to request two contexts at once.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190117193658.16413-11-eblake@redhat.com>

show more ...

6dc1667d17-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Move export name into NBDExportInfo

Refactor the 'name' parameter of nbd_receive_negotiate() from
being a separate parameter into being part of the in-out 'info'.
This also spills over t

nbd/client: Move export name into NBDExportInfo

Refactor the 'name' parameter of nbd_receive_negotiate() from
being a separate parameter into being part of the in-out 'info'.
This also spills over to a simplification of nbd_opt_go().

The main driver for this refactoring is that an upcoming patch
would like to add support to qemu-nbd to list information about
all exports available on a server, where the name(s) will be
provided by the server instead of the client. But another benefit
is that we can now allow the client to explicitly specify the
empty export name "" even when connecting to an oldstyle server
(even if qemu is no longer such a server after commit 7f7dfe2a).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190117193658.16413-10-eblake@redhat.com>

show more ...

091d0bf317-Jan-2019 Eric Blake <eblake@redhat.com>

nbd/client: Refactor nbd_receive_list()

Right now, nbd_receive_list() is only called by
nbd_receive_query_exports(), which in turn is only called if the
server lacks NBD_OPT_GO but has working optio

nbd/client: Refactor nbd_receive_list()

Right now, nbd_receive_list() is only called by
nbd_receive_query_exports(), which in turn is only called if the
server lacks NBD_OPT_GO but has working option negotiation, and is
merely used as a quality-of-implementation trick since servers
can't give decent errors for NBD_OPT_EXPORT_NAME. However, servers
that lack NBD_OPT_GO are becoming increasingly rare (nbdkit was a
latecomer, in Aug 2018, but qemu has been such a server since commit
f37708f6 in July 2017 and released in 2.10), so it no longer makes
sense to micro-optimize that function for performance.

Furthermore, when debugging a server's implementation, tracing the
full reply (both names and descriptions) is useful, not to mention
that upcoming patches adding 'qemu-nbd --list' will want to collect
that data. And when you consider that a server can send an export
name up to the NBD protocol length limit of 4k; but our current
NBD_MAX_NAME_SIZE is only 256, we can't trace all valid server
names without more storage, but 4k is large enough that the heap
is better than the stack for long names.

Thus, I'm changing the division of labor, with nbd_receive_list()
now always malloc'ing a result on success (the malloc is bounded
by the fact that we reject servers with a reply length larger
than 32M), and moving the comparison to 'wantname' to the caller.

There is a minor change in behavior where a server with 0 exports
(an immediate NBD_REP_ACK reply) is now no longer distinguished
from a server without LIST support (NBD_REP_ERR_UNSUP); this
information could be preserved with a complication to the calling
contract to provide a bit more information, but I didn't see the
point. After all, the worst that can happen if our guess at a
match is wrong is that the caller will get a cryptic disconnect
when NBD_OPT_EXPORT_NAME fails (which is no different from what
would happen if we had not tried LIST), while treating an empty
list as immediate failure would prevent connecting to really old
servers that really did lack LIST. Besides, NBD servers with 0
exports are rare (qemu can do it when using QMP nbd-server-start
without nbd-server-add - but qemu understands NBD_OPT_GO and
thus won't tickle this change in behavior).

Fix the spelling of foundExport to match coding standards while
in the area.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190117193658.16413-9-eblake@redhat.com>

show more ...

12345678910>>...16