Permalink
Switch branches/tags
Commits on May 21, 2014
  1. pcie_host: Turn pcie_host_init() into an instance_init

    afaerber authored and mstsirkin committed Apr 24, 2014
    This assures the trivial field initialization is applied for any derived
    type - currently only Q35PCIHost.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Commits on May 5, 2014
  1. tests: Add EHCI qtest

    afaerber committed Mar 30, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. tests: Add ioh3420 qtest

    afaerber committed Mar 30, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. tests: Add intel-hda qtests

    afaerber committed Mar 30, 2014
    Test both the ich6 and the ich9 version (cf. q35 config) and all the
    codecs.
    
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. tests: Add es1370 qtest

    afaerber committed Mar 30, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. tests: Add ac97 qtest

    afaerber committed Mar 30, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. qtest: Be paranoid about accept() addrlen argument

    afaerber committed Apr 17, 2014
    POSIX specifies that address_len shall on output specify the length of
    the stored address; it does not however specify whether it may get
    updated on failure as well to, e.g., zero.
    
    In case EINTR occurs, re-initialize the variable to the desired value.
    
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. qtest: Add error reporting to socket_accept()

    afaerber committed Apr 17, 2014
    We're not using the GLib infrastructure here, to allow cleaning up the
    sockets. Still, knowing why a certain test run failed can be valuable.
    
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. qtest: Assure that init_socket()'s listen() does not fail

    afaerber committed Apr 17, 2014
    In practice this seems very unlikely, so cleanup is neglected, as done
    for bind().
    
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. MAINTAINERS: Document QOM

    afaerber committed Apr 24, 2014
    Invented by Anthony. Maintained through my qom-next tree lately.
    
    Cc: Anthony Liguori <aliguori@amazon.com>
    Acked-by: Paolo Bonzini <pbonzini@redhat.com>
    Acked-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
Commits on Apr 7, 2014
  1. tests: Update check-clean rule

    afaerber committed Apr 7, 2014
    Only i386, x86_64, sparc and sparc64 qtests were cleaned up.
    Make this more generic to not miss any newly tested targets.
    
    Reported-by: Alexey Kardashevskiy <aik@ozlabs.ru>
    Suggested-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
Commits on Apr 3, 2014
  1. bswap: Fix build on FreeBSD 10.0

    afaerber authored and pm215 committed Apr 2, 2014
    FreeBSD 10.0-RELEASE has bswap16() etc. macros defined in sys/endian.h,
    which leads to a conflict with our static inline definitions.
    
    Force using the system version of the macros.
    
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
    Tested-by: Ed Maste <emaste@freebsd.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Commits on Mar 31, 2014
  1. tests: Add i82801b11 qtest

    afaerber committed Feb 21, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. pvpanic-test: Assert pause event

    afaerber committed Feb 21, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. qtest: Factor out qtest_qmp_receive()

    afaerber committed Feb 21, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. tests: Add pvpanic qtest

    afaerber committed Feb 21, 2014
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. tests: Add virtio-9p qtest

    afaerber committed Feb 21, 2014
    Make it conditional to 9p availability.
    Create a temporary directory to share.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. tests: Add nvme qtest

    afaerber committed Feb 21, 2014
    Acked-by: Keith Busch <keith.busch@intel.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. nvme: Permit zero-length block devices

    afaerber committed Feb 21, 2014
    It may not be sensible for normal use cases, but it allows to use
    /dev/null in QTest.
    
    Acked-by: Keith Busch <keith.busch@intel.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. cpu: Avoid QOM casts for CPU()

    afaerber committed Mar 28, 2014
    CPU address spaces touching load and store helpers as well as the
    movement of (almost) all fields from CPU_COMMON to CPUState have led to
    a noticeable increase of CPU() usage in "hot" paths for both TCG and KVM.
    
    While CPU()'s OBJECT_CHECK() might help detect development errors, i.e.
    in form of crashes due to QOM vs. non-QOM mismatches rather than QOM
    type mismatches, it is not really needed at runtime since mostly used in
    CPU-specific paths, coming from a target-specific CPU subtype. If that
    pointer is damaged, other errors are highly likely to occur elsewhere
    anyway.
    
    Keep the CPU() macro for a consistent developer experience and for
    flexibility to exchange its implementation, but turn it into a pure,
    unchecked C cast for now.
    
    Compare commit 6e42be7.
    
    Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. make-release: Record SeaBIOS version

    afaerber authored and pm215 committed Mar 20, 2014
    Before deleting .git, determine the version and save it in .version file.
    
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Message-id: 1395277315-7806-1-git-send-email-afaerber@suse.de
    Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Commits on Mar 13, 2014
  1. virtio-console-test: Test virtserialport as well

    afaerber committed Mar 13, 2014
    A test is only as good as its coverage - testing virtserialport in
    addition to virtconsole showed that commit
    0399a38 (virtio-console: QOM cast
    cleanup for VirtConsole) broke virtserialport.
    
    Acked-by: Richard W.M. Jones <rjones@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. virtio-console: Fix VIRTIO_CONSOLE() cast macro

    afaerber committed Mar 13, 2014
    Commit 0399a38 (virtio-console: QOM
    cast cleanup for VirtConsole) broke virtserialport since it shares
    functions and state struct with virtconsole. Let virtconsole inherit
    from virtserialport, and use virtserialport type for casting.
    
    Note that virtio-serial-port is the abstract base type in
    virtio-serial-bus.c, whereas virtserialport is the user-instantiatable
    type in virtio-console.c. Therefore using TYPE_VIRTIO_CONSOLE_SERIAL_PORT.
    
    Reported-by: Richard W.M. Jones <rjones@redhat.com>
    Acked-by: Richard W.M. Jones <rjones@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. prep: Update ppc_rom.bin

    afaerber committed Mar 12, 2014
    This increases file size from 512 KiB to 1 MiB.
    
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
  4. user-exec: Change exception_action() argument to CPUState

    afaerber committed Sep 4, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. cputlb: Change tlb_set_page() argument to CPUState

    afaerber committed Sep 3, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. cputlb: Change tlb_flush() argument to CPUState

    afaerber committed Sep 4, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. cputlb: Change tlb_flush_page() argument to CPUState

    afaerber committed Sep 3, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. target-microblaze: Replace DisasContext::env field with MicroBlazeCPU

    afaerber committed Sep 3, 2013
    This cleans up some mb_env_get_cpu() needed for cpu_abort().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. target-cris: Replace DisasContext::env field with CRISCPU

    afaerber committed Sep 3, 2013
    This cleans up repeated cris_env_get_cpu() for cpu_abort().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  10. exec: Change cpu_abort() argument to CPUState

    afaerber committed Sep 3, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  11. exec: Change memory_region_section_get_iotlb() argument to CPUState

    afaerber committed Sep 3, 2013
    It no longer needs CPUArchState since moving watchpoints to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  12. cputlb: Change tlb_unprotect_code_phys() argument to CPUState

    afaerber committed Sep 3, 2013
    Note that the argument is unused.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  13. cpu-exec: Change cpu_resume_from_signal() argument to CPUState

    afaerber committed Sep 3, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  14. exec: Change cpu_breakpoint_{insert,remove{,_by_ref,_all}} argument

    afaerber committed Sep 2, 2013
    Use CPUState. Allows to clean up CPUArchState in gdbstub.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>