Go to file
Peter Maydell 302a84e878 usb: fixes for mtp and host.
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (GNU/Linux)
 
 iQIcBAABAgAGBQJa8B/6AAoJEEy22O7T6HE4ZQcP+waDHAjd4RKtEz9ifgjKlpNQ
 8EyXp/fmD0tVyuFO/nnU89tQOAWj9PkSAkVfPVSyCCqL0wSr7kIGtlInVHFLJniW
 IU6wpVSWlItz1Hof5giu5REpdFA/vpTv0EVgV85QEpfMNo2xe2zx90KLe74qaHqf
 P7N/o/HTp2ZZA//UtcbLMUDa/2krQVFaVCzr4bjr1otiaRAOBIb3fZg/qvfkyxxU
 o9QCfmHm2BuuWjeQ7tJWQKbnvlHahkDPGxUWRb+MVlG0X1s9A/bZ7pMx4yCqkW1z
 EYVA2+9zy/JLDXNYCyQb+fDE6RQUbnkNy0KAKjJ5FGPeINwNtEyhfM+VhY1pUTDh
 TeeKoqJrK1lBqN9oKVSY8kK5PkDXrPD5JWoK5Zm6xrCgygXf+7fsVYWE4cTgbYuS
 IzdhtRctD286bE8rPSwm2mDra8PgTL2ahY8k5nVf7yye5QeF0tDN0UwPMe1JQzQ8
 4WQb5XMpgmHJoy0avTqM4mIZI32d6T1o8CtCcSAC82sWHdLTNtrDYQZqY8aLmISp
 Q7TdZF0DL9juKI4u94pwQGie0cYQOzXedlxCpYrRyqcln1/BTf00KIewgIINGXhQ
 Hqenf2kr+L6a/7Gb39YScrDIm28anxg+ESypFlv7LhRo9d3rBtJ0AFQM1m4egXFe
 2fDuEtyyFBbangZM7vkh
 =uG6k
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/kraxel/tags/usb-20180507-pull-request' into staging

usb: fixes for mtp and host.

# gpg: Signature made Mon 07 May 2018 10:44:26 BST
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/usb-20180507-pull-request:
  usb-host: skip open on pending postload bh
  usb-mtp: Unconditionally check for the readonly bit
  usb-mtp: Add some NULL checks for issues pointed out by coverity

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-05-08 12:02:18 +01:00
accel AccelClass: Introduce accel_setup_post 2018-04-26 16:29:50 +01:00
audio
backends Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
block nbd patches for 2018-05-04 2018-05-04 14:42:46 +01:00
bsd-user
capstone@22ead3e0bf
chardev Revert "mux: fix ctrl-a b again" 2018-04-17 21:11:30 +01:00
contrib contrib/libvhost-user: add the protocol feature used for SET/GET message 2018-04-09 17:35:46 +03:00
crypto
default-configs hw/arm/smmu-common: smmu base device and datatypes 2018-05-04 18:05:51 +01:00
disas
docs qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
dtc@e54388015a
fpu fpu: Bound increment for scalbn 2018-04-17 14:52:38 +01:00
fsdev
gdb-xml
hw usb: fixes for mtp and host. 2018-05-08 12:02:18 +01:00
include hw/arm/virt-acpi-build: Add smmuv3 node in IORT table 2018-05-04 18:52:58 +01:00
io
libdecnumber
linux-headers
linux-user linux-user: remove useless padding in flock64 structure 2018-05-03 18:40:19 +02:00
migration nbd patches for 2018-05-04 2018-05-04 14:42:46 +01:00
nbd nbd/client: Fix error messages during NBD_INFO_BLOCK_SIZE 2018-05-04 08:23:37 -05:00
net
pc-bios pc-bios/s390: Update firmware images 2018-05-02 15:42:57 +02:00
po
qapi qapi: deprecate CpuInfoFast.arch 2018-05-04 08:27:53 +02:00
qga qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qobject qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
qom qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
replay
roms roms/u-boot-sam460ex: Change to qemu git mirror and update 2018-04-10 10:05:38 +10:00
scripts qapi: add SysEmuTarget to "common.json" 2018-05-04 08:27:53 +02:00
scsi qemu-pr-helper: Write pidfile more often 2018-04-09 16:36:40 +02:00
slirp
stubs
target target/arm/kvm: Translate the MSI doorbell in kvm_arch_fixup_msi_route 2018-05-04 18:52:58 +01:00
tcg tcg: workaround branch instruction overflow in tcg_out_qemu_ld/st 2018-05-01 11:56:55 -07:00
tests QAPI patches for 2018-05-04 2018-05-04 13:49:08 +01:00
trace
ui console: introduce dpy_gfx_update_full 2018-04-27 11:36:34 +02:00
util qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
.dir-locals.el
.editorconfig
.exrc
.gdbinit
.gitignore
.gitmodules roms/u-boot-sam460ex: Change to qemu git mirror and update 2018-04-10 10:05:38 +10:00
.gitpublish
.mailmap maint: Add .mailmap entries for patches claiming list authorship 2018-04-09 16:36:40 +02:00
.shippable.yml
.travis.yml
arch_init.c qapi: change the type of TargetInfo.arch from string to enum SysEmuTarget 2018-05-04 08:27:53 +02:00
balloon.c
block.c qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
blockdev-nbd.c
blockdev.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
blockjob.c
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure usb: ccid bugfix, misc small improvements. 2018-04-27 12:27:59 +01:00
COPYING
COPYING.LIB
COPYING.PYTHON
cpus-common.c
cpus.c qapi: discriminate CpuInfoFast on SysEmuTarget, not CpuInfoArch 2018-05-04 08:27:53 +02:00
device_tree.c device_tree: Increase FDT_MAX_SIZE to 1 MiB 2018-04-26 11:04:38 +01:00
device-hotplug.c
disas.c
dma-helpers.c
dump.c dump: Fix build with newer gcc 2018-04-09 16:36:40 +02:00
exec.c Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
gdbstub.c gdbstub: fix off-by-one in gdb_handle_packet() 2018-04-09 14:18:39 +01:00
HACKING
hmp-commands-info.hx
hmp-commands.hx
hmp.c migration: add postcopy total blocktime into query-migrate 2018-04-25 18:02:17 +01:00
hmp.h
ioport.c
iothread.c iothread: workaround glib bug which hangs qmp-test 2018-04-10 07:43:52 -05:00
LICENSE
MAINTAINERS MAINTAINERS: update Marcel Apfelbaum email 2018-05-03 20:52:29 +03:00
Makefile Makefile: install gtk message catalogs if CONFIG_GTK=y too, not only =m 2018-04-16 16:25:24 +01:00
Makefile.objs
Makefile.target
memory_ldst.inc.c
memory_mapping.c
memory.c
module-common.c
monitor.c qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
numa.c Clear mem_path if we fall back to anonymous RAM allocation 2018-04-27 18:05:23 +10:00
os-posix.c os-posix: cleanup: Replace perror with error_report 2018-04-26 16:29:51 +01:00
os-win32.c
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-doc.texi qapi: deprecate CpuInfoFast.arch 2018-05-04 08:27:53 +02:00
qemu-ga.texi
qemu-img-cmds.hx
qemu-img.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qemu-keymap.c
qemu-nbd.c
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx vnc: fix use-after-free. 2018-04-27 11:39:31 +01:00
qemu-seccomp.c
qemu-tech.texi
qemu.nsi
qemu.sasl
qmp.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qtest.c
README
replication.c
replication.h
rules.mak
thunk.c
tpm.c
trace-events
VERSION Open 2.13 development tree 2018-04-26 11:48:27 +01:00
version.rc
vl.c hw/s390x: Allow to configure the consoles with the "-serial" parameter 2018-04-30 10:48:29 +02:00

         QEMU README
         ===========

QEMU is a generic and open source machine & userspace emulator and
virtualizer.

QEMU is capable of emulating a complete machine in software without any
need for hardware virtualization support. By using dynamic translation,
it achieves very good performance. QEMU can also integrate with the Xen
and KVM hypervisors to provide emulated hardware while allowing the
hypervisor to manage the CPU. With hypervisor support, QEMU can achieve
near native performance for CPUs. When QEMU emulates CPUs directly it is
capable of running operating systems made for one machine (e.g. an ARMv7
board) on a different machine (e.g. an x86_64 PC board).

QEMU is also capable of providing userspace API virtualization for Linux
and BSD kernel interfaces. This allows binaries compiled against one
architecture ABI (e.g. the Linux PPC64 ABI) to be run on a host using a
different architecture ABI (e.g. the Linux x86_64 ABI). This does not
involve any hardware emulation, simply CPU and syscall emulation.

QEMU aims to fit into a variety of use cases. It can be invoked directly
by users wishing to have full control over its behaviour and settings.
It also aims to facilitate integration into higher level management
layers, by providing a stable command line interface and monitor API.
It is commonly invoked indirectly via the libvirt library when using
open source applications such as oVirt, OpenStack and virt-manager.

QEMU as a whole is released under the GNU General Public License,
version 2. For full licensing details, consult the LICENSE file.


Building
========

QEMU is multi-platform software intended to be buildable on all modern
Linux platforms, OS-X, Win32 (via the Mingw64 toolchain) and a variety
of other UNIX targets. The simple steps to build QEMU are:

  mkdir build
  cd build
  ../configure
  make

Additional information can also be found online via the QEMU website:

  https://qemu.org/Hosts/Linux
  https://qemu.org/Hosts/Mac
  https://qemu.org/Hosts/W32


Submitting patches
==================

The QEMU source code is maintained under the GIT version control system.

   git clone git://git.qemu.org/qemu.git

When submitting patches, one common approach is to use 'git
format-patch' and/or 'git send-email' to format & send the mail to the
qemu-devel@nongnu.org mailing list. All patches submitted must contain
a 'Signed-off-by' line from the author. Patches should follow the
guidelines set out in the HACKING and CODING_STYLE files.

Additional information on submitting patches can be found online via
the QEMU website

  https://qemu.org/Contribute/SubmitAPatch
  https://qemu.org/Contribute/TrivialPatches

The QEMU website is also maintained under source control.

  git clone git://git.qemu.org/qemu-web.git
  https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/

A 'git-publish' utility was created to make above process less
cumbersome, and is highly recommended for making regular contributions,
or even just for sending consecutive patch series revisions. It also
requires a working 'git send-email' setup, and by default doesn't
automate everything, so you may want to go through the above steps
manually for once.

For installation instructions, please go to

  https://github.com/stefanha/git-publish

The workflow with 'git-publish' is:

  $ git checkout master -b my-feature
  $ # work on new commits, add your 'Signed-off-by' lines to each
  $ git publish

Your patch series will be sent and tagged as my-feature-v1 if you need to refer
back to it in the future.

Sending v2:

  $ git checkout my-feature # same topic branch
  $ # making changes to the commits (using 'git rebase', for example)
  $ git publish

Your patch series will be sent with 'v2' tag in the subject and the git tip
will be tagged as my-feature-v2.

Bug reporting
=============

The QEMU project uses Launchpad as its primary upstream bug tracker. Bugs
found when running code built from QEMU git or upstream released sources
should be reported via:

  https://bugs.launchpad.net/qemu/

If using QEMU via an operating system vendor pre-built binary package, it
is preferable to report bugs to the vendor's own bug tracker first. If
the bug is also known to affect latest upstream code, it can also be
reported via launchpad.

For additional information on bug reporting consult:

  https://qemu.org/Contribute/ReportABug


Contact
=======

The QEMU community can be contacted in a number of ways, with the two
main methods being email and IRC

 - qemu-devel@nongnu.org
   https://lists.nongnu.org/mailman/listinfo/qemu-devel
 - #qemu on irc.oftc.net

Information on additional methods of contacting the community can be
found online via the QEMU website:

  https://qemu.org/Contribute/StartHere

-- End