History log of /openbmc/qemu/hw/9pfs/ (Results 226 – 250 of 615)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
4fa6200525-May-2017 Greg Kurz <groug@kaod.org>

9pfs: check return value of v9fs_co_name_to_path()

These v9fs_co_name_to_path() call sites have always been around. I guess
no care was taken to check the return value because the name_to_path
opera

9pfs: check return value of v9fs_co_name_to_path()

These v9fs_co_name_to_path() call sites have always been around. I guess
no care was taken to check the return value because the name_to_path
operation could never fail at the time. This is no longer true: the
handle and synth backends can already fail this operation, and so will the
local backend soon.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...

24df337125-May-2017 Greg Kurz <groug@kaod.org>

9pfs: assume utimensat() and futimens() are present

The utimensat() and futimens() syscalls have been around for ages (ie,
glibc 2.6 and linux 2.6.22), and the decision was already taken to
switch t

9pfs: assume utimensat() and futimens() are present

The utimensat() and futimens() syscalls have been around for ages (ie,
glibc 2.6 and linux 2.6.22), and the decision was already taken to
switch to utimensat() anyway when fixing CVE-2016-9602 in 2.9.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...

6a87e79225-May-2017 Greg Kurz <groug@kaod.org>

9pfs: local: fix unlink of alien files in mapped-file mode

When trying to remove a file from a directory, both created in non-mapped
mode, the file remains and EBADF is returned to the guest.

This

9pfs: local: fix unlink of alien files in mapped-file mode

When trying to remove a file from a directory, both created in non-mapped
mode, the file remains and EBADF is returned to the guest.

This is a regression introduced by commit "df4938a6651b 9pfs: local:
unlinkat: don't follow symlinks" when fixing CVE-2016-9602. It changed the
way we unlink the metadata file from

ret = remove("$dir/.virtfs_metadata/$name");
if (ret < 0 && errno != ENOENT) {
/* Error out */
}
/* Ignore absence of metadata */

to

fd = openat("$dir/.virtfs_metadata")
unlinkat(fd, "$name")
if (ret < 0 && errno != ENOENT) {
/* Error out */
}
/* Ignore absence of metadata */

If $dir was created in non-mapped mode, openat() fails with ENOENT and
we pass -1 to unlinkat(), which fails in turn with EBADF.

We just need to check the return of openat() and ignore ENOENT, in order
to restore the behaviour we had with remove().

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
[groug: rewrote the comments as suggested by Eric]

show more ...

a17d865925-May-2017 Greg Kurz <groug@kaod.org>

9pfs: drop pdu_push_and_notify()

Only pdu_complete() needs to notify the client that a request has completed.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefano Stabellini <sstabellini@

9pfs: drop pdu_push_and_notify()

Only pdu_complete() needs to notify the client that a request has completed.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>

show more ...

506f327525-May-2017 Greg Kurz <groug@kaod.org>

virtio-9p/xen-9p: move 9p specific bits to core 9p code

These bits aren't related to the transport so let's move them to the core
code.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefan

virtio-9p/xen-9p: move 9p specific bits to core 9p code

These bits aren't related to the transport so let's move them to the core
code.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>

show more ...


/openbmc/qemu/Makefile.target
/openbmc/qemu/arch_init.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/configure
/openbmc/qemu/exec.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
9p.c
9p.h
virtio-9p-device.c
xen-9p-backend.c
/openbmc/qemu/hw/audio/Makefile.objs
/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/intel-hda.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/soundhw.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/exec/ramlist.h
/openbmc/qemu/include/exec/target_page.h
/openbmc/qemu/include/hw/audio/soundhw.h
/openbmc/qemu/include/hw/hw.h
/openbmc/qemu/include/migration/block.h
/openbmc/qemu/include/migration/colo.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/qemu-file.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/sysemu/arch_init.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/migration/Makefile.objs
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/channel.h
/openbmc/qemu/migration/colo-comm.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/qemu-file-channel.c
/openbmc/qemu/migration/qemu-file-channel.h
/openbmc/qemu/migration/qjson.c
/openbmc/qemu/migration/qjson.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/vmstate-types.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/migration/xbzrle.c
/openbmc/qemu/migration/xbzrle.h
/openbmc/qemu/monitor.c
/openbmc/qemu/net/Makefile.objs
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/dump.c
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/tap-stub.c
/openbmc/qemu/net/trace-events
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/openbios
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/tests/test-xbzrle.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/util/cutils.c
/openbmc/qemu/vl.c
2ccbd47c18-May-2017 Stefan Hajnoczi <stefanha@redhat.com>

Merge remote-tracking branch 'quintela/tags/migration/20170517' into staging

migration/next for 20170517

# gpg: Signature made Wed 17 May 2017 11:46:36 AM BST
# gpg: using RSA key 0x

Merge remote-tracking branch 'quintela/tags/migration/20170517' into staging

migration/next for 20170517

# gpg: Signature made Wed 17 May 2017 11:46:36 AM BST
# gpg: using RSA key 0xF487EF185872D723
# gpg: Good signature from "Juan Quintela <quintela@redhat.com>"
# gpg: aka "Juan Quintela <quintela@trasno.org>"
# Primary key fingerprint: 1899 FF8E DEBF 58CC EE03 4B82 F487 EF18 5872 D723

* quintela/tags/migration/20170517:
migration: Move check_migratable() into qdev.c
migration: Move postcopy stuff to postcopy-ram.c
migration: Move page_cache.c to migration/
migration: Create migration/blocker.h
ram: Rename RAM_SAVE_FLAG_COMPRESS to RAM_SAVE_FLAG_ZERO
migration: Pass Error ** argument to {save,load}_vmstate
migration: Fix regression with compression threads

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/Makefile.objs
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
9p.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/audio/marvell_88w8618.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/core/or-irq.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/core/register.c
/openbmc/qemu/hw/core/sysbus.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/dma/i8257.c
/openbmc/qemu/hw/dma/sparc32_dma.c
/openbmc/qemu/hw/gpio/omap_gpio.c
/openbmc/qemu/hw/i2c/omap_i2c.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/input/vmmouse.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/etraxfs_pic.c
/openbmc/qemu/hw/intc/grlib_irqmp.c
/openbmc/qemu/hw/intc/i8259_common.c
/openbmc/qemu/hw/intc/nios2_iic.c
/openbmc/qemu/hw/intc/omap_intc.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/isa/piix4.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/mips/gt64xxx_pci.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/vmport.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/etraxfs_eth.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/lance.c
/openbmc/qemu/hw/pci-bridge/dec.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-bridge/pci_expander_bridge.c
/openbmc/qemu/hw/pci-host/apb.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/pci-host/grackle.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/uninorth.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/ppc4xx_pci.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/sd/milkymist-memcard.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sh4/sh_pci.c
/openbmc/qemu/hw/timer/i8254_common.c
/openbmc/qemu/hw/timer/mc146818rtc.c
/openbmc/qemu/hw/vfio/amd-xgbe.c
/openbmc/qemu/hw/vfio/calxeda-xgmac.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen_backend.c
/openbmc/qemu/include/hw/acpi/acpi-defs.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/migration/blocker.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/migration/Makefile.objs
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/page_cache.c
/openbmc/qemu/migration/page_cache.h
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/replay/replay-snapshot.c
/openbmc/qemu/stubs/migr-blocker.c
/openbmc/qemu/stubs/vmstate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/test-x86-cpuid-compat.c
/openbmc/qemu/vl.c
795c40b806-Apr-2017 Juan Quintela <quintela@redhat.com>

migration: Create migration/blocker.h

This allows us to remove lots of includes of migration/migration.h

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>

migration: Create migration/blocker.h

This allows us to remove lots of includes of migration/migration.h

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

show more ...


/openbmc/qemu/.gitmodules
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/cputlb.c
/openbmc/qemu/crypto/random-platform.c
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/hmp.c
9p.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu-3d.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/input/virtio-input-hid.c
/openbmc/qemu/hw/intc/arm_gic_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/misc/ivshmem.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/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/spapr_cpu_core.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/migration/blocker.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/qemu/bitops.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/numa.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/input.h
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/qemu_vga.ndrv
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/replay/replay-snapshot.c
/openbmc/qemu/roms/QemuMacDrivers
/openbmc/qemu/stubs/migr-blocker.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/ppc/Makefile.objs
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.h
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu-radix64.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-test-data/pc/SLIT.cphp
/openbmc/qemu/tests/acpi-test-data/pc/SLIT.memhp
/openbmc/qemu/tests/acpi-test-data/pc/SRAT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SLIT.cphp
/openbmc/qemu/tests/acpi-test-data/q35/SLIT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SRAT.memhp
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/numa-test.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/egl-context.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/input-linux.c
/openbmc/qemu/ui/input.c
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-input.c
/openbmc/qemu/ui/vnc-enc-zrle.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/vl.c
01cd90b609-May-2017 Stefano Stabellini <sstabellini@kernel.org>

xen: call qemu_set_cloexec instead of fcntl

Use the common utility function, which contains checks on return values
and first calls F_GETFD as recommended by POSIX.1-2001, instead of
manually callin

xen: call qemu_set_cloexec instead of fcntl

Use the common utility function, which contains checks on return values
and first calls F_GETFD as recommended by POSIX.1-2001, instead of
manually calling fcntl.

CID: 1374831

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: groug@kaod.org
CC: aneesh.kumar@linux.vnet.ibm.com
CC: Eric Blake <eblake@redhat.com>

show more ...

c0c24b9509-May-2017 Stefano Stabellini <sstabellini@kernel.org>

xen/9pfs: fix two resource leaks on error paths, discovered by Coverity

CID: 1374836

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-

xen/9pfs: fix two resource leaks on error paths, discovered by Coverity

CID: 1374836

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: groug@kaod.org
CC: aneesh.kumar@linux.vnet.ibm.com

show more ...


/openbmc/qemu/.gitmodules
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/configure
/openbmc/qemu/cpus.c
/openbmc/qemu/cputlb.c
/openbmc/qemu/crypto/random-platform.c
/openbmc/qemu/docs/qdev-device-use.txt
/openbmc/qemu/exec.c
xen-9p-backend.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu-3d.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/input/virtio-input-hid.c
/openbmc/qemu/hw/intc/xics_kvm.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/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-serial.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/spapr_cpu_core.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/qemu/bitops.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/numa.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/include/sysemu/xen-mapcache.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/input.h
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/qemu_vga.ndrv
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/QemuMacDrivers
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/ppc/Makefile.objs
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.h
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu-radix64.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-test-data/pc/SLIT.cphp
/openbmc/qemu/tests/acpi-test-data/pc/SLIT.memhp
/openbmc/qemu/tests/acpi-test-data/pc/SRAT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SLIT.cphp
/openbmc/qemu/tests/acpi-test-data/q35/SLIT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SRAT.memhp
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/numa-test.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/egl-context.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/input-linux.c
/openbmc/qemu/ui/input.c
/openbmc/qemu/ui/sdl.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-input.c
/openbmc/qemu/ui/vnc-enc-zrle.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/vl.c
7a95434e05-May-2017 Greg Kurz <groug@kaod.org>

9pfs: local: forbid client access to metadata (CVE-2017-7493)

When using the mapped-file security mode, we shouldn't let the client mess
with the metadata. The current code already tries to hide the

9pfs: local: forbid client access to metadata (CVE-2017-7493)

When using the mapped-file security mode, we shouldn't let the client mess
with the metadata. The current code already tries to hide the metadata dir
from the client by skipping it in local_readdir(). But the client can still
access or modify it through several other operations. This can be used to
escalate privileges in the guest.

Affected backend operations are:
- local_mknod()
- local_mkdir()
- local_open2()
- local_symlink()
- local_link()
- local_unlinkat()
- local_renameat()
- local_rename()
- local_name_to_path()

Other operations are safe because they are only passed a fid path, which
is computed internally in local_name_to_path().

This patch converts all the functions listed above to fail and return
EINVAL when being passed the name of the metadata dir. This may look
like a poor choice for errno, but there's no such thing as an illegal
path name on Linux and I could not think of anything better.

This fixes CVE-2017-7493.

Reported-by: Leo Gaspard <leo@gaspard.io>
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/wavcapture.c
/openbmc/qemu/block.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkreplay.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/file-posix.c
/openbmc/qemu/block/file-win32.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.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.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/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/snapshot.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/block/vxhs.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char-io.c
/openbmc/qemu/chardev/char-io.h
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/chardev/char-mux.h
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-udp.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/crypto/init.c
/openbmc/qemu/crypto/random-gcrypt.c
/openbmc/qemu/crypto/random-gnutls.c
/openbmc/qemu/crypto/random-platform.c
/openbmc/qemu/default-configs/ppc64-softmmu.mak
/openbmc/qemu/default-configs/s390x-softmmu.mak
/openbmc/qemu/device_tree.c
/openbmc/qemu/dump.c
/openbmc/qemu/gdb-xml/i386-32bit-core.xml
/openbmc/qemu/gdb-xml/i386-64bit-core.xml
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hmp.h
9p-local.c
/openbmc/qemu/hw/audio/Makefile.objs
/openbmc/qemu/hw/audio/adlib.c
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/audio/fmopl.h
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/gusemu.h
/openbmc/qemu/hw/audio/gusemu_hal.c
/openbmc/qemu/hw/audio/gusemu_mixer.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/audio/intel-hda.h
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/nvme.h
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/terminal3270.c
/openbmc/qemu/hw/core/generic-loader.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/jazz_led.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/Makefile.objs
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_pnv.c
/openbmc/qemu/hw/intc/xics_spapr.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/microblaze/boot.c
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/openrisc/cputimer.c
/openbmc/qemu/hw/pci-host/piix.c
/openbmc/qemu/hw/pci/pcie_aer.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_bmc.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/ppc_booke.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.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_pci.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/s390x/3270-ccw.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/ipl.h
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/scsi/Makefile.objs
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/vhost-scsi-common.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/crypto/random.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/glib-compat.h
/openbmc/qemu/include/hw/acpi/acpi-defs.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ipmi/ipmi.h
/openbmc/qemu/include/hw/pci/pcie_aer.h
/openbmc/qemu/include/hw/ppc/pnv.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_xscom.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/s390x/3270-ccw.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/s390-virtio-ccw.h
/openbmc/qemu/include/hw/virtio/vhost-scsi-common.h
/openbmc/qemu/include/hw/virtio/vhost-scsi.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/io/channel-file.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/migration/cpu.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qapi/clone-visitor.h
/openbmc/qemu/include/qapi/qmp/qdict.h
/openbmc/qemu/include/qapi/qmp/qlist.h
/openbmc/qemu/include/qapi/visitor.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/char.h
/openbmc/qemu/include/sysemu/dump.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/openrisc/target_cpu.h
/openbmc/qemu/linux-user/openrisc/target_signal.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/postcopy-ram.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/trace-events
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/numa.c
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/pc-bios/s390-ccw/bootmap.c
/openbmc/qemu/pc-bios/s390-ccw/bootmap.h
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/pc-bios/s390-ccw/sclp.c
/openbmc/qemu/pc-bios/s390-ccw/sclp.h
/openbmc/qemu/pc-bios/sgabios.bin
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/qapi-clone-visitor.c
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qapi/qmp-event.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu.sasl
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qga/vss-win32.h
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/qga/vss-win32/install.h
/openbmc/qemu/qga/vss-win32/provider.cpp
/openbmc/qemu/qga/vss-win32/requester.cpp
/openbmc/qemu/qga/vss-win32/vss-common.h
/openbmc/qemu/qga/vss-win32/vss-handles.h
/openbmc/qemu/qmp.c
/openbmc/qemu/qobject/qdict.c
/openbmc/qemu/qom/container.c
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/replay/replay-snapshot.c
/openbmc/qemu/roms/sgabios
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/clean-header-guards.pl
/openbmc/qemu/scripts/cleanup-trace-events.pl
/openbmc/qemu/scripts/coccinelle/qobject.cocci
/openbmc/qemu/scripts/disas-objdump.pl
/openbmc/qemu/scripts/get_maintainer.pl
/openbmc/qemu/scripts/qemu-binfmt-conf.sh
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/scripts/shaderinclude.pl
/openbmc/qemu/scripts/switch-timer-api
/openbmc/qemu/scripts/texi2pod.pl
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/slirp/ip_icmp.c
/openbmc/qemu/slirp/sbuf.h
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/slirp/socket.h
/openbmc/qemu/slirp/tcp_var.h
/openbmc/qemu/slirp/tftp.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/hax-mem.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/gdbstub.c
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/openrisc/sys_helper.c
/openbmc/qemu/target/openrisc/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/helper.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/translate_init.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-utils.h
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/check-qdict.c
/openbmc/qemu/tests/check-qlist.c
/openbmc/qemu/tests/device-introspect-test.c
/openbmc/qemu/tests/drive_del-test.c
/openbmc/qemu/tests/fdc-test.c
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/nvme-test.c
/openbmc/qemu/tests/pc-cpu-test.c
/openbmc/qemu/tests/postcopy-test.c
/openbmc/qemu/tests/qemu-iotests/019.out
/openbmc/qemu/tests/qemu-iotests/026
/openbmc/qemu/tests/qemu-iotests/026.out
/openbmc/qemu/tests/qemu-iotests/026.out.nocache
/openbmc/qemu/tests/qemu-iotests/028.out
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/046
/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/055
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/066
/openbmc/qemu/tests/qemu-iotests/066.out
/openbmc/qemu/tests/qemu-iotests/068
/openbmc/qemu/tests/qemu-iotests/068.out
/openbmc/qemu/tests/qemu-iotests/085
/openbmc/qemu/tests/qemu-iotests/085.out
/openbmc/qemu/tests/qemu-iotests/087
/openbmc/qemu/tests/qemu-iotests/091
/openbmc/qemu/tests/qemu-iotests/102.out
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/122.out
/openbmc/qemu/tests/qemu-iotests/130.out
/openbmc/qemu/tests/qemu-iotests/142
/openbmc/qemu/tests/qemu-iotests/142.out
/openbmc/qemu/tests/qemu-iotests/145
/openbmc/qemu/tests/qemu-iotests/145.out
/openbmc/qemu/tests/qemu-iotests/146.out
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/154
/openbmc/qemu/tests/qemu-iotests/154.out
/openbmc/qemu/tests/qemu-iotests/172
/openbmc/qemu/tests/qemu-iotests/172.out
/openbmc/qemu/tests/qemu-iotests/177
/openbmc/qemu/tests/qemu-iotests/177.out
/openbmc/qemu/tests/qemu-iotests/179
/openbmc/qemu/tests/qemu-iotests/179.out
/openbmc/qemu/tests/qemu-iotests/181
/openbmc/qemu/tests/qemu-iotests/181.out
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/182.out
/openbmc/qemu/tests/qemu-iotests/common
/openbmc/qemu/tests/qemu-iotests/common.config
/openbmc/qemu/tests/qemu-iotests/common.filter
/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/group
/openbmc/qemu/tests/qom-test.c
/openbmc/qemu/tests/test-char.c
/openbmc/qemu/tests/test-crypto-block.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/test-io-channel-socket.c
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qmp-commands.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-replication.c
/openbmc/qemu/tests/usb-hcd-uhci-test.c
/openbmc/qemu/tests/usb-hcd-xhci-test.c
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-scsi-test.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/input.c
/openbmc/qemu/ui/vnc-auth-sasl.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/envlist.c
/openbmc/qemu/util/osdep.c
/openbmc/qemu/util/qemu-config.c
/openbmc/qemu/util/qemu-option.c
/openbmc/qemu/util/qemu-progress.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/qemu-thread-posix.c
/openbmc/qemu/util/qemu-thread-win32.c
/openbmc/qemu/util/trace-events
/openbmc/qemu/vl.c
52e94ea526-Apr-2017 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20170421-v2-tag' into staging

Xen 2017/04/21 + fix

# gpg: Signature made Tue 25 Apr 2017 19:10:37 BST
# gpg: using RSA key

Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20170421-v2-tag' into staging

Xen 2017/04/21 + fix

# gpg: Signature made Tue 25 Apr 2017 19:10:37 BST
# gpg: using RSA key 0x894F8F4870E1AE90
# gpg: Good signature from "Stefano Stabellini <stefano.stabellini@eu.citrix.com>"
# gpg: aka "Stefano Stabellini <sstabellini@kernel.org>"
# Primary key fingerprint: D04E 33AB A51F 67BA 07D3 0AEA 894F 8F48 70E1 AE90

* remotes/sstabellini/tags/xen-20170421-v2-tag: (21 commits)
move xen-mapcache.c to hw/i386/xen/
move xen-hvm.c to hw/i386/xen/
move xen-common.c to hw/xen/
add xen-9p-backend to MAINTAINERS under Xen
xen/9pfs: build and register Xen 9pfs backend
xen/9pfs: send responses back to the frontend
xen/9pfs: implement in/out_iov_from_pdu and vmarshal/vunmarshal
xen/9pfs: receive requests from the frontend
xen/9pfs: connect to the frontend
xen/9pfs: introduce Xen 9pfs backend
9p: introduce a type for the 9p header
xen: import ring.h from xen
configure: use pkg-config for obtaining xen version
xen: additionally restrict xenforeignmemory operations
xen: use libxendevice model to restrict operations
xen: use 5 digit xen versions
xen: use libxendevicemodel when available
configure: detect presence of libxendevicemodel
xen: create wrappers for all other uses of xc_hvm_XXX() functions
xen: rename xen_modified_memory() to xen_hvm_modified_memory()
...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.target
/openbmc/qemu/VERSION
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/cloop.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/block/vxhs.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/default-configs/i386-softmmu.mak
/openbmc/qemu/default-configs/ppc-softmmu.mak
/openbmc/qemu/default-configs/ppc64-softmmu.mak
/openbmc/qemu/default-configs/ppcemb-softmmu.mak
/openbmc/qemu/default-configs/x86_64-softmmu.mak
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
9p.h
Makefile.objs
virtio-9p-device.c
xen-9p-backend.c
xen-9pfs.h
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/digic.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/xen_blkif.h
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/core/null-machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/framebuffer.c
/openbmc/qemu/hw/display/g364fb.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/qxl.h
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/sm501_template.h
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.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/trace-events
/openbmc/qemu/hw/i386/xen/Makefile.objs
/openbmc/qemu/hw/i386/xen/trace-events
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/misc/exynos4210_pmu.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/s390x/ccw-device.c
/openbmc/qemu/hw/s390x/ccw-device.h
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-bus.h
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/exynos4210_pwm.c
/openbmc/qemu/hw/timer/exynos4210_rtc.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/xen/Makefile.objs
/openbmc/qemu/hw/xen/trace-events
/openbmc/qemu/hw/xen/xen-common.c
/openbmc/qemu/hw/xen/xen_backend.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/crypto/block.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/devices.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/net/cadence_gem.h
/openbmc/qemu/include/hw/net/ftgmac100.h
/openbmc/qemu/include/hw/net/mii.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/hw/virtio/virtio-rng.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/hw/xen/io/ring.h
/openbmc/qemu/include/hw/xen/xen.h
/openbmc/qemu/include/hw/xen/xen_backend.h
/openbmc/qemu/include/hw/xen/xen_common.h
/openbmc/qemu/include/migration/migration.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/net/eth.h
/openbmc/qemu/include/qemu/bitmap.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/host-utils.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/trace-events
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/vss-win32.c
/openbmc/qemu/qga/vss-win32.h
/openbmc/qemu/qmp.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/slirp/Makefile.objs
/openbmc/qemu/slirp/ncsi-pkt.h
/openbmc/qemu/slirp/ncsi.c
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/slirp/slirp.h
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/xen-common.c
/openbmc/qemu/stubs/xen-hvm.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/qemu-iotests/017
/openbmc/qemu/tests/qemu-iotests/020
/openbmc/qemu/tests/qemu-iotests/028
/openbmc/qemu/tests/qemu-iotests/029
/openbmc/qemu/tests/qemu-iotests/073
/openbmc/qemu/tests/qemu-iotests/094
/openbmc/qemu/tests/qemu-iotests/102
/openbmc/qemu/tests/qemu-iotests/109
/openbmc/qemu/tests/qemu-iotests/114
/openbmc/qemu/tests/qemu-iotests/117
/openbmc/qemu/tests/qemu-iotests/130
/openbmc/qemu/tests/qemu-iotests/134
/openbmc/qemu/tests/qemu-iotests/140
/openbmc/qemu/tests/qemu-iotests/141
/openbmc/qemu/tests/qemu-iotests/143
/openbmc/qemu/tests/qemu-iotests/156
/openbmc/qemu/tests/qemu-iotests/158
/openbmc/qemu/tests/qemu-iotests/common
/openbmc/qemu/tests/qemu-iotests/common.config
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/test-crypto-block.c
/openbmc/qemu/tests/test-replication.c
/openbmc/qemu/tests/test-throttle.c
/openbmc/qemu/trace-events
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/util/bitmap.c
/openbmc/qemu/util/error.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/throttle.c
/openbmc/qemu/vl.c
e737b6d522-Mar-2017 Stefano Stabellini <sstabellini@kernel.org>

xen/9pfs: build and register Xen 9pfs backend

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: An

xen/9pfs: build and register Xen 9pfs backend

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>

show more ...

4476e09e22-Mar-2017 Stefano Stabellini <sstabellini@kernel.org>

xen/9pfs: send responses back to the frontend

Once a request is completed, xen_9pfs_push_and_notify gets called. In
xen_9pfs_push_and_notify, update the indexes (data has already been
copied to the

xen/9pfs: send responses back to the frontend

Once a request is completed, xen_9pfs_push_and_notify gets called. In
xen_9pfs_push_and_notify, update the indexes (data has already been
copied to the sg by the common code) and send a notification to the
frontend.

Schedule the bottom-half to check if we already have any other requests
pending.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>

show more ...

40a2389222-Mar-2017 Stefano Stabellini <sstabellini@kernel.org>

xen/9pfs: implement in/out_iov_from_pdu and vmarshal/vunmarshal

Implement xen_9pfs_init_in/out_iov_from_pdu and
xen_9pfs_pdu_vmarshal/vunmarshall by creating new sg pointing to the
data on the ring.

xen/9pfs: implement in/out_iov_from_pdu and vmarshal/vunmarshal

Implement xen_9pfs_init_in/out_iov_from_pdu and
xen_9pfs_pdu_vmarshal/vunmarshall by creating new sg pointing to the
data on the ring.

This is safe as we only handle one request per ring at any given time.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>

show more ...

47b70fb122-Mar-2017 Stefano Stabellini <sstabellini@kernel.org>

xen/9pfs: receive requests from the frontend

Upon receiving an event channel notification from the frontend, schedule
the bottom half. From the bottom half, read one request from the ring,
create a

xen/9pfs: receive requests from the frontend

Upon receiving an event channel notification from the frontend, schedule
the bottom half. From the bottom half, read one request from the ring,
create a pdu and call pdu_submit to handle it.

For now, only handle one request per ring at a time.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>

show more ...

f23ef34a22-Mar-2017 Stefano Stabellini <sstabellini@kernel.org>

xen/9pfs: connect to the frontend

Write the limits of the backend to xenstore. Connect to the frontend.
Upon connection, allocate the rings according to the protocol
specification.

Initialize a QEM

xen/9pfs: connect to the frontend

Write the limits of the backend to xenstore. Connect to the frontend.
Upon connection, allocate the rings according to the protocol
specification.

Initialize a QEMUBH to schedule work upon receiving an event channel
notification from the frontend.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>

show more ...

b37eeb0221-Mar-2017 Stefano Stabellini <sstabellini@kernel.org>

xen/9pfs: introduce Xen 9pfs backend

Introduce the Xen 9pfs backend: add struct XenDevOps to register as a
Xen backend and add struct V9fsTransport to register as v9fs transport.

All functions are

xen/9pfs: introduce Xen 9pfs backend

Introduce the Xen 9pfs backend: add struct XenDevOps to register as a
Xen backend and add struct V9fsTransport to register as v9fs transport.

All functions are empty stubs for now.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>

show more ...

c9fb47e721-Mar-2017 Stefano Stabellini <sstabellini@kernel.org>

9p: introduce a type for the 9p header

Use the new type in virtio-9p-device.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Ma

9p: introduce a type for the 9p header

Use the new type in virtio-9p-device.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>

show more ...

9c6b899f17-Apr-2017 Greg Kurz <groug@kaod.org>

9pfs: local: set the path of the export root to "."

The local backend was recently converted to using "at*()" syscalls in order
to ensure all accesses happen below the shared directory. This require

9pfs: local: set the path of the export root to "."

The local backend was recently converted to using "at*()" syscalls in order
to ensure all accesses happen below the shared directory. This requires that
we only pass relative paths, otherwise the dirfd argument to the "at*()"
syscalls is ignored and the path is treated as an absolute path in the host.
This is actually the case for paths in all fids, with the notable exception
of the root fid, whose path is "/". This causes the following backend ops to
act on the "/" directory of the host instead of the virtfs shared directory
when the export root is involved:
- lstat
- chmod
- chown
- utimensat

ie, chmod /9p_mount_point in the guest will be converted to chmod / in the
host for example. This could cause security issues with a privileged QEMU.

All "*at()" syscalls are being passed an open file descriptor. In the case
of the export root, this file descriptor points to the path in the host that
was passed to -fsdev.

The fix is thus as simple as changing the path of the export root fid to be
"." instead of "/".

This is CVE-2017-7471.

Cc: qemu-stable@nongnu.org
Reported-by: Léo Gaspard <leo@gaspard.io>
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...

4ffcdef407-Apr-2017 Li Qiang <liq3ea@gmail.com>

9pfs: xattr: fix memory leak in v9fs_list_xattr

Free 'orig_value' in error path.

Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Signed-off-by: Greg Kurz <groug@kaod.org>

6d54af0e04-Apr-2017 Greg Kurz <groug@kaod.org>

9pfs: clear migration blocker at session reset

The migration blocker survives a device reset: if the guest mounts a 9p
share and then gets rebooted with system_reset, it will be unmigratable
until i

9pfs: clear migration blocker at session reset

The migration blocker survives a device reset: if the guest mounts a 9p
share and then gets rebooted with system_reset, it will be unmigratable
until it remounts and umounts the 9p share again.

This happens because the migration blocker is supposed to be cleared when
we put the last reference on the root fid, but virtfs_reset() wrongly calls
free_fid() instead of put_fid().

This patch fixes virtfs_reset() so that it honor the way fids are supposed
to be manipulated: first get a reference and later put it back when you're
done.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Li Qiang <liqiang6-s@360.cn>

show more ...

18adde8604-Apr-2017 Greg Kurz <groug@kaod.org>

9pfs: fix multiple flush for same request

If a client tries to flush the same outstanding request several times, only
the first flush completes. Subsequent ones keep waiting for the request
completi

9pfs: fix multiple flush for same request

If a client tries to flush the same outstanding request several times, only
the first flush completes. Subsequent ones keep waiting for the request
completion in v9fs_flush() and, therefore, leak a PDU. This will cause QEMU
to hang when draining active PDUs the next time the device is reset.

Let have each flush request wake up the next one if any. The last waiter
frees the cancelled PDU.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...


/openbmc/qemu/VERSION
/openbmc/qemu/block.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/blockdev-nbd.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec-common.c
/openbmc/qemu/cpus.c
/openbmc/qemu/disas/cris.c
/openbmc/qemu/docs/tracing.txt
/openbmc/qemu/exec.c
9p.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/intc/arm_gicv3_kvm.c
/openbmc/qemu/hw/ipmi/isa_ipmi_bt.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/ppc/spapr_drc.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/qemu/sockets.h
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/scripts/tracetool/format/tcg_h.py
/openbmc/qemu/scripts/tracetool/format/tcg_helper_c.py
/openbmc/qemu/slirp/ip6_icmp.c
/openbmc/qemu/slirp/slirp.c
/openbmc/qemu/target/i386/arch_dump.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/tcg/sparc/tcg-target.inc.c
/openbmc/qemu/tests/acpi-utils.h
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/qemu-iotests/097
/openbmc/qemu/tests/qemu-iotests/097.out
/openbmc/qemu/tests/qemu-iotests/139
/openbmc/qemu/tests/qemu-iotests/141
/openbmc/qemu/tests/qemu-iotests/147
/openbmc/qemu/tests/qemu-iotests/176
/openbmc/qemu/tests/qemu-iotests/176.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/virtio-9p-test.c
/openbmc/qemu/trace/Makefile.objs
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/input-linux.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/user-exec.c
/openbmc/qemu/util/event_notifier-posix.c
/openbmc/qemu/util/event_notifier-win32.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/qemu-sockets.c
d63fb19327-Mar-2017 Li Qiang <liq3ea@gmail.com>

9pfs: fix file descriptor leak

The v9fs_create() and v9fs_lcreate() functions are used to create a file
on the backend and to associate it to a fid. The fid shouldn't be already
in-use, otherwise bo

9pfs: fix file descriptor leak

The v9fs_create() and v9fs_lcreate() functions are used to create a file
on the backend and to associate it to a fid. The fid shouldn't be already
in-use, otherwise both functions may silently leak a file descriptor or
allocated memory. The current code doesn't check that.

This patch ensures that the fid isn't already associated to anything
before using it.

Signed-off-by: Li Qiang <liqiang6-s@360.cn>
(reworded the changelog, Greg Kurz)
Signed-off-by: Greg Kurz <groug@kaod.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/VERSION
/openbmc/qemu/backends/cryptodev-builtin.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/configure
/openbmc/qemu/disas/microblaze.c
9p.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/cirrus_vga_rop2.h
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/virtio/virtio-bus.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/hw/acpi/vmgenid.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/i386/apic_internal.h
/openbmc/qemu/include/hw/virtio/virtio-input.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/qemu/thread-win32.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/memory.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/numa.c
/openbmc/qemu/qapi/opts-visitor.c
/openbmc/qemu/qapi/string-input-visitor.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/scripts/qapi2texi.py
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/tests/qapi-schema/doc-good.err
/openbmc/qemu/tests/qapi-schema/doc-good.exit
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.texi
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-opts-visitor.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/test-string-input-visitor.c
/openbmc/qemu/ui/Makefile.objs
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/keyval.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qemu-thread-win32.c
262169ab21-Mar-2017 Greg Kurz <groug@kaod.org>

9pfs: proxy: assert if unmarshal fails

Replies from the virtfs proxy are made up of a fixed-size header (8 bytes)
and a payload of variable size (maximum 64kb). When receiving a reply,
the proxy bac

9pfs: proxy: assert if unmarshal fails

Replies from the virtfs proxy are made up of a fixed-size header (8 bytes)
and a payload of variable size (maximum 64kb). When receiving a reply,
the proxy backend first reads the whole header and then unmarshals it.
If the header is okay, it then does the same operation with the payload.

Since the proxy backend uses a pre-allocated buffer which has enough room
for a header and the maximum payload size, marshalling should never fail
with fixed size arguments. Any error here is likely to result from a more
serious corruption in QEMU and we'd better dump core right away.

This patch adds error checks where they are missing and converts the
associated error paths into assertions.

This should also address Coverity's complaints CID 1348519 and CID 1348520,
about not always checking the return value of proxy_unmarshal().

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...

d5f2af7b21-Mar-2017 Greg Kurz <groug@kaod.org>

9pfs: don't try to flush self and avoid QEMU hang on reset

According to the 9P spec [*], when a client wants to cancel a pending I/O
request identified by a given tag (uint16), it must send a Tflush

9pfs: don't try to flush self and avoid QEMU hang on reset

According to the 9P spec [*], when a client wants to cancel a pending I/O
request identified by a given tag (uint16), it must send a Tflush message
and wait for the server to respond with a Rflush message before reusing this
tag for another I/O. The server may still send a completion message for the
I/O if it wasn't actually cancelled but the Rflush message must arrive after
that.

QEMU hence waits for the flushed PDU to complete before sending the Rflush
message back to the client.

If a client sends 'Tflush tag oldtag' and tag == oldtag, QEMU will then
allocate a PDU identified by tag, find it in the PDU list and wait for
this same PDU to complete... i.e. wait for a completion that will never
happen. This causes a tag and ring slot leak in the guest, and a PDU
leak in QEMU, all of them limited by the maximal number of PDUs (128).
But, worse, this causes QEMU to hang on device reset since v9fs_reset()
wants to drain all pending I/O.

This insane behavior is likely to denote a bug in the client, and it would
deserve an Rerror message to be sent back. Unfortunately, the protocol
allows it and requires all flush requests to suceed (only a Tflush response
is expected).

The only option is to detect when we have to handle a self-referencing
flush request and report success to the client right away.

[*] http://man.cat-v.org/plan_9/5/flush

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Greg Kurz <groug@kaod.org>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/VERSION
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/chardev/char-fd.c
/openbmc/qemu/chardev/char-io.c
/openbmc/qemu/chardev/char-io.h
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-udp.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/cpu-exec.c
/openbmc/qemu/cpus.c
/openbmc/qemu/disas/arm.c
/openbmc/qemu/disas/cris.c
/openbmc/qemu/disas/hppa.c
/openbmc/qemu/disas/i386.c
/openbmc/qemu/disas/m68k.c
/openbmc/qemu/disas/microblaze.c
/openbmc/qemu/docs/bootindex.txt
/openbmc/qemu/docs/qapi-code-gen.txt
/openbmc/qemu/docs/qemu-qmp-ref.texi
/openbmc/qemu/docs/writing-qmp-commands.txt
/openbmc/qemu/dtc
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
9p.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/block/Makefile.objs
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/cirrus_vga_rop.h
/openbmc/qemu/hw/display/cirrus_vga_rop2.h
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/i386/kvm/clock.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/nios2_iic.c
/openbmc/qemu/hw/misc/imx6_src.c
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/mcf_fec.c
/openbmc/qemu/hw/net/net_rx_pkt.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sparc64.c
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.h
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/Makefile.objs
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pcie.h
/openbmc/qemu/include/net/eth.h
/openbmc/qemu/include/qapi/qmp/qjson.h
/openbmc/qemu/include/qapi/qobject-input-visitor.h
/openbmc/qemu/include/qapi/util.h
/openbmc/qemu/include/qemu/option.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/systemd.h
/openbmc/qemu/include/qemu/timer.h
/openbmc/qemu/include/sysemu/cpus.h
/openbmc/qemu/include/sysemu/os-posix.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/kvm-all.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/colo.c
/openbmc/qemu/net/eth.c
/openbmc/qemu/net/filter-mirror.c
/openbmc/qemu/net/filter-rewriter.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi-schema.json
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/crypto.json
/openbmc/qemu/qapi/event.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/qapi-util.c
/openbmc/qemu/qapi/qobject-input-visitor.c
/openbmc/qemu/qapi/rocker.json
/openbmc/qemu/qapi/trace.json
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/channel-posix.c
/openbmc/qemu/qga/channel-win32.c
/openbmc/qemu/qga/channel.h
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qobject/qjson.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/rules.mak
/openbmc/qemu/scripts/coverity-model.c
/openbmc/qemu/scripts/dump-guest-memory.py
/openbmc/qemu/scripts/qapi-commands.py
/openbmc/qemu/scripts/qapi-event.py
/openbmc/qemu/scripts/qapi-introspect.py
/openbmc/qemu/scripts/qapi-types.py
/openbmc/qemu/scripts/qapi-visit.py
/openbmc/qemu/scripts/qapi.py
/openbmc/qemu/scripts/qapi2texi.py
/openbmc/qemu/scripts/qmp/qmp-shell
/openbmc/qemu/stubs/cpu-get-icount.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/seg_helper.c
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/mips/trace-events
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/nios2/op_helper.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/s390x/Makefile.objs
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/sparc/int64_helper.c
/openbmc/qemu/target/sparc/win_helper.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/import_core.sh
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/overlay_tool.h
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/check-qjson.c
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/qapi-schema/alternate-any.err
/openbmc/qemu/tests/qapi-schema/alternate-any.json
/openbmc/qemu/tests/qapi-schema/alternate-array.err
/openbmc/qemu/tests/qapi-schema/alternate-array.json
/openbmc/qemu/tests/qapi-schema/alternate-base.err
/openbmc/qemu/tests/qapi-schema/alternate-base.json
/openbmc/qemu/tests/qapi-schema/alternate-clash.err
/openbmc/qemu/tests/qapi-schema/alternate-clash.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-dict.json
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.err
/openbmc/qemu/tests/qapi-schema/alternate-conflict-string.json
/openbmc/qemu/tests/qapi-schema/alternate-empty.err
/openbmc/qemu/tests/qapi-schema/alternate-empty.json
/openbmc/qemu/tests/qapi-schema/alternate-nested.err
/openbmc/qemu/tests/qapi-schema/alternate-nested.json
/openbmc/qemu/tests/qapi-schema/alternate-unknown.err
/openbmc/qemu/tests/qapi-schema/alternate-unknown.json
/openbmc/qemu/tests/qapi-schema/args-alternate.err
/openbmc/qemu/tests/qapi-schema/args-alternate.json
/openbmc/qemu/tests/qapi-schema/args-any.err
/openbmc/qemu/tests/qapi-schema/args-any.json
/openbmc/qemu/tests/qapi-schema/args-array-empty.err
/openbmc/qemu/tests/qapi-schema/args-array-empty.json
/openbmc/qemu/tests/qapi-schema/args-array-unknown.err
/openbmc/qemu/tests/qapi-schema/args-array-unknown.json
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.err
/openbmc/qemu/tests/qapi-schema/args-bad-boxed.json
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.err
/openbmc/qemu/tests/qapi-schema/args-boxed-anon.json
/openbmc/qemu/tests/qapi-schema/args-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/args-boxed-empty.json
/openbmc/qemu/tests/qapi-schema/args-boxed-string.err
/openbmc/qemu/tests/qapi-schema/args-boxed-string.json
/openbmc/qemu/tests/qapi-schema/args-int.err
/openbmc/qemu/tests/qapi-schema/args-int.json
/openbmc/qemu/tests/qapi-schema/args-invalid.err
/openbmc/qemu/tests/qapi-schema/args-invalid.json
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.err
/openbmc/qemu/tests/qapi-schema/args-member-array-bad.json
/openbmc/qemu/tests/qapi-schema/args-member-case.err
/openbmc/qemu/tests/qapi-schema/args-member-case.json
/openbmc/qemu/tests/qapi-schema/args-member-unknown.err
/openbmc/qemu/tests/qapi-schema/args-member-unknown.json
/openbmc/qemu/tests/qapi-schema/args-name-clash.err
/openbmc/qemu/tests/qapi-schema/args-name-clash.json
/openbmc/qemu/tests/qapi-schema/args-union.err
/openbmc/qemu/tests/qapi-schema/args-union.json
/openbmc/qemu/tests/qapi-schema/args-unknown.err
/openbmc/qemu/tests/qapi-schema/args-unknown.json
/openbmc/qemu/tests/qapi-schema/bad-base.err
/openbmc/qemu/tests/qapi-schema/bad-base.json
/openbmc/qemu/tests/qapi-schema/bad-data.err
/openbmc/qemu/tests/qapi-schema/bad-data.json
/openbmc/qemu/tests/qapi-schema/bad-ident.err
/openbmc/qemu/tests/qapi-schema/bad-ident.json
/openbmc/qemu/tests/qapi-schema/bad-type-bool.err
/openbmc/qemu/tests/qapi-schema/bad-type-bool.json
/openbmc/qemu/tests/qapi-schema/bad-type-dict.err
/openbmc/qemu/tests/qapi-schema/bad-type-dict.json
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.err
/openbmc/qemu/tests/qapi-schema/base-cycle-direct.json
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.err
/openbmc/qemu/tests/qapi-schema/base-cycle-indirect.json
/openbmc/qemu/tests/qapi-schema/command-int.err
/openbmc/qemu/tests/qapi-schema/command-int.json
/openbmc/qemu/tests/qapi-schema/comments.json
/openbmc/qemu/tests/qapi-schema/comments.out
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.exit
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.json
/openbmc/qemu/tests/qapi-schema/doc-bad-alternate-member.out
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.err
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.exit
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.json
/openbmc/qemu/tests/qapi-schema/doc-bad-command-arg.out
/openbmc/qemu/tests/qapi-schema/doc-bad-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.err
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.exit
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.json
/openbmc/qemu/tests/qapi-schema/doc-bad-union-member.out
/openbmc/qemu/tests/qapi-schema/doc-before-include.err
/openbmc/qemu/tests/qapi-schema/doc-before-include.exit
/openbmc/qemu/tests/qapi-schema/doc-before-include.json
/openbmc/qemu/tests/qapi-schema/doc-before-include.out
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.err
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.exit
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.json
/openbmc/qemu/tests/qapi-schema/doc-before-pragma.out
/openbmc/qemu/tests/qapi-schema/doc-empty-section.err
/openbmc/qemu/tests/qapi-schema/doc-invalid-section.err
/openbmc/qemu/tests/qapi-schema/doc-missing-expr.err
/openbmc/qemu/tests/qapi-schema/doc-missing.err
/openbmc/qemu/tests/qapi-schema/doc-missing.exit
/openbmc/qemu/tests/qapi-schema/doc-missing.json
/openbmc/qemu/tests/qapi-schema/doc-missing.out
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.err
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.exit
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.json
/openbmc/qemu/tests/qapi-schema/doc-no-symbol.out
/openbmc/qemu/tests/qapi-schema/double-type.err
/openbmc/qemu/tests/qapi-schema/double-type.json
/openbmc/qemu/tests/qapi-schema/enum-bad-name.err
/openbmc/qemu/tests/qapi-schema/enum-bad-name.json
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.err
/openbmc/qemu/tests/qapi-schema/enum-bad-prefix.json
/openbmc/qemu/tests/qapi-schema/enum-clash-member.err
/openbmc/qemu/tests/qapi-schema/enum-clash-member.json
/openbmc/qemu/tests/qapi-schema/enum-dict-member.err
/openbmc/qemu/tests/qapi-schema/enum-dict-member.json
/openbmc/qemu/tests/qapi-schema/enum-member-case.err
/openbmc/qemu/tests/qapi-schema/enum-member-case.json
/openbmc/qemu/tests/qapi-schema/enum-missing-data.err
/openbmc/qemu/tests/qapi-schema/enum-missing-data.json
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.err
/openbmc/qemu/tests/qapi-schema/enum-wrong-data.json
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.err
/openbmc/qemu/tests/qapi-schema/event-boxed-empty.json
/openbmc/qemu/tests/qapi-schema/event-case.json
/openbmc/qemu/tests/qapi-schema/event-case.out
/openbmc/qemu/tests/qapi-schema/event-nest-struct.err
/openbmc/qemu/tests/qapi-schema/event-nest-struct.json
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-base.json
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-bad-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-any.json
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.json
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.err
/openbmc/qemu/tests/qapi-schema/flat-union-clash-member.json
/openbmc/qemu/tests/qapi-schema/flat-union-empty.err
/openbmc/qemu/tests/qapi-schema/flat-union-empty.json
/openbmc/qemu/tests/qapi-schema/flat-union-incomplete-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-incomplete-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-inline.err
/openbmc/qemu/tests/qapi-schema/flat-union-inline.json
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.err
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-branch-key.json
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-invalid-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.json
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-optional-discriminator.json
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.err
/openbmc/qemu/tests/qapi-schema/flat-union-string-discriminator.json
/openbmc/qemu/tests/qapi-schema/ident-with-escape.json
/openbmc/qemu/tests/qapi-schema/ident-with-escape.out
/openbmc/qemu/tests/qapi-schema/include-extra-junk.err
/openbmc/qemu/tests/qapi-schema/include-extra-junk.exit
/openbmc/qemu/tests/qapi-schema/include-extra-junk.json
/openbmc/qemu/tests/qapi-schema/include-extra-junk.out
/openbmc/qemu/tests/qapi-schema/include-relpath-sub.json
/openbmc/qemu/tests/qapi-schema/include-relpath.out
/openbmc/qemu/tests/qapi-schema/include-repetition.out
/openbmc/qemu/tests/qapi-schema/include-simple-sub.json
/openbmc/qemu/tests/qapi-schema/include-simple.out
/openbmc/qemu/tests/qapi-schema/indented-expr.json
/openbmc/qemu/tests/qapi-schema/indented-expr.out
/openbmc/qemu/tests/qapi-schema/missing-type.err
/openbmc/qemu/tests/qapi-schema/missing-type.json
/openbmc/qemu/tests/qapi-schema/nested-struct-data.err
/openbmc/qemu/tests/qapi-schema/nested-struct-data.json
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.exit
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.json
/openbmc/qemu/tests/qapi-schema/pragma-doc-required-crap.out
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.err
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.exit
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.json
/openbmc/qemu/tests/qapi-schema/pragma-extra-junk.out
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.exit
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.json
/openbmc/qemu/tests/qapi-schema/pragma-name-case-whitelist-crap.out
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.err
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.exit
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.json
/openbmc/qemu/tests/qapi-schema/pragma-non-dict.out
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.err
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.exit
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.json
/openbmc/qemu/tests/qapi-schema/pragma-returns-whitelist-crap.out
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/redefined-builtin.err
/openbmc/qemu/tests/qapi-schema/redefined-builtin.json
/openbmc/qemu/tests/qapi-schema/redefined-command.err
/openbmc/qemu/tests/qapi-schema/redefined-command.json
/openbmc/qemu/tests/qapi-schema/redefined-event.err
/openbmc/qemu/tests/qapi-schema/redefined-event.json
/openbmc/qemu/tests/qapi-schema/redefined-type.err
/openbmc/qemu/tests/qapi-schema/redefined-type.json
/openbmc/qemu/tests/qapi-schema/reserved-command-q.err
/openbmc/qemu/tests/qapi-schema/reserved-command-q.json
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.err
/openbmc/qemu/tests/qapi-schema/reserved-enum-q.json
/openbmc/qemu/tests/qapi-schema/reserved-member-has.err
/openbmc/qemu/tests/qapi-schema/reserved-member-has.json
/openbmc/qemu/tests/qapi-schema/reserved-member-q.err
/openbmc/qemu/tests/qapi-schema/reserved-member-q.json
/openbmc/qemu/tests/qapi-schema/reserved-member-u.err
/openbmc/qemu/tests/qapi-schema/reserved-member-u.json
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.err
/openbmc/qemu/tests/qapi-schema/reserved-member-underscore.json
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.err
/openbmc/qemu/tests/qapi-schema/reserved-type-kind.json
/openbmc/qemu/tests/qapi-schema/reserved-type-list.err
/openbmc/qemu/tests/qapi-schema/reserved-type-list.json
/openbmc/qemu/tests/qapi-schema/returns-alternate.err
/openbmc/qemu/tests/qapi-schema/returns-alternate.json
/openbmc/qemu/tests/qapi-schema/returns-array-bad.err
/openbmc/qemu/tests/qapi-schema/returns-array-bad.json
/openbmc/qemu/tests/qapi-schema/returns-dict.err
/openbmc/qemu/tests/qapi-schema/returns-dict.json
/openbmc/qemu/tests/qapi-schema/returns-unknown.err
/openbmc/qemu/tests/qapi-schema/returns-unknown.json
/openbmc/qemu/tests/qapi-schema/returns-whitelist.err
/openbmc/qemu/tests/qapi-schema/returns-whitelist.json
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash-deep.json
/openbmc/qemu/tests/qapi-schema/struct-base-clash.err
/openbmc/qemu/tests/qapi-schema/struct-base-clash.json
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-data-invalid.json
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.err
/openbmc/qemu/tests/qapi-schema/struct-member-invalid.json
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qapi-schema/trailing-comma-list.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.err
/openbmc/qemu/tests/qapi-schema/type-bypass-bad-gen.json
/openbmc/qemu/tests/qapi-schema/unicode-str.err
/openbmc/qemu/tests/qapi-schema/unicode-str.json
/openbmc/qemu/tests/qapi-schema/union-base-empty.err
/openbmc/qemu/tests/qapi-schema/union-base-empty.exit
/openbmc/qemu/tests/qapi-schema/union-base-empty.json
/openbmc/qemu/tests/qapi-schema/union-base-empty.out
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-branch-case.err
/openbmc/qemu/tests/qapi-schema/union-branch-case.json
/openbmc/qemu/tests/qapi-schema/union-clash-branches.err
/openbmc/qemu/tests/qapi-schema/union-clash-branches.json
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-empty.json
/openbmc/qemu/tests/qapi-schema/union-invalid-base.err
/openbmc/qemu/tests/qapi-schema/union-invalid-base.json
/openbmc/qemu/tests/qapi-schema/union-optional-branch.err
/openbmc/qemu/tests/qapi-schema/union-optional-branch.json
/openbmc/qemu/tests/qapi-schema/union-unknown.err
/openbmc/qemu/tests/qapi-schema/union-unknown.json
/openbmc/qemu/tests/qapi-schema/unknown-escape.err
/openbmc/qemu/tests/qapi-schema/unknown-escape.json
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.err
/openbmc/qemu/tests/qapi-schema/unknown-expr-key.json
/openbmc/qemu/tests/qemu-iotests/025
/openbmc/qemu/tests/qemu-iotests/common
/openbmc/qemu/tests/qemu-iotests/common.filter
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/test-aio-multithread.c
/openbmc/qemu/tests/test-aio.c
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-qapi-util.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qobject-input-visitor.c
/openbmc/qemu/tests/test-qobject-output-visitor.c
/openbmc/qemu/tests/test-visitor-serialization.c
/openbmc/qemu/trace/Makefile.objs
/openbmc/qemu/translate-all.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/async.c
/openbmc/qemu/util/keyval.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/util/path.c
/openbmc/qemu/util/qemu-timer.c
/openbmc/qemu/util/systemd.c
/openbmc/qemu/util/thread-pool.c
/openbmc/qemu/vl.c

12345678910>>...25