Permalink
Switch branches/tags
Commits on Mar 1, 2016
  1. pc: Create cpu-add'ed CPUs in-place

    afaerber committed Mar 5, 2015
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. target-i386: Inline cpu_x86_create()

    afaerber committed Mar 5, 2015
    With pc_hot_add_cpu() as only remaining user, this drops redundant checks
    and prepares for working with sockets in the legacy hot-add code, too.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. target-i386: Make cpu_x86_init() use cpu_generic_init()

    afaerber committed Mar 5, 2015
    This means *-user is using the generic code path and only cpu-add uses
    cpu_x86_create().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. cpu: strtok() is not safe in cpu_generic_init()

    afaerber committed Mar 5, 2015
    Use strtok_r() instead.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. target-i386: Drop KVM check from cpu_x86_create()

    afaerber committed Mar 5, 2015
    By now, the only callers of cpu_x86_create() are pc_hot_add_cpu() and
    cpu_x86_init(). pc_hot_add_cpu() gets its CPU type name from
    pc_cpus_init(), where it's checked already. cpu_x86_init() currently is
    only called from *-user, where KVM models are not available, and
    otherwise new callers are free to check for KVM before calling it.
    
    This makes cpu_x86_init() functionally equivalent to cpu_generic_init().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. pc: Create socket and cores for cpu-add'ed CPUs

    afaerber committed Mar 14, 2015
    The cpu-add mechanism hot-adds individual hyperthreads, violating the
    QOM realization model. As interim solution, create the full socket when
    first needed and add hyperthreads one by one.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. pc: Create initial CPUs in-place

    afaerber committed Mar 5, 2015
    Inline pc_new_cpu() for the initial setup.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. pc: Create sockets and cores for CPUs

    afaerber committed Feb 5, 2015
    Inline realized=true from pc_new_cpu() so that the realization can be
    deferred, as it would otherwise create a device[n] node.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. target-i386: Prepare CPU socket/core abstraction

    afaerber committed Feb 6, 2015
    Short of generic recursive device realization, realize cores and threads
    recursively.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  10. cpu: Prepare Socket container type

    afaerber committed Feb 3, 2015
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  11. MAINTAINERS: Drop target-i386 from CPU subsystem

    afaerber committed Feb 12, 2016
    X86CPU QOM type is in good hands and actively maintained these days, so
    drop it from the generic QOM CPU subsystem.
    
    Some refactorings and design questions will still intersect, but review
    and discussions of individual series can still take place while opting out
    of general X86CPU patch review.
    
    Cc: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  12. Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20160301' int…

    pm215 committed Mar 1, 2016
    …o staging
    
    Assorted fixes, cleanups and enhancements.
    
    # gpg: Signature made Tue 01 Mar 2016 11:45:12 GMT using RSA key ID C6F02FAF
    # gpg: Good signature from "Cornelia Huck <huckc@linux.vnet.ibm.com>"
    # gpg:                 aka "Cornelia Huck <cornelia.huck@de.ibm.com>"
    
    * remotes/cohuck/tags/s390x-20160301:
      s390x/css: only suspend when enabled by orb
      MAINTAINERS: Remove entry for hw/s390x/s390-virtio-bus.[ch]
      MAINTAINERS: Remove the old s390-virtio machine
      s390x/pci: use PCI_MSIX_FLAGS on retrieving the MSIX entries
      s390x/css: Use static initialization for channel_subsys fields
      s390x/css: Allocate channel_subsys statically
      s390x/pci: fix reg/dereg irq functions
      s390x/css: introduce indicator refcounting interfaces
      s390x/virtio: old machine leftovers
      watchdog/diag288: avoid race condition on expired watchdog
      s390x: remove {kvm_}s390_virtio_irq()
      s390x: fix debug statement in trigger_page_fault()
      s390x/kvm: sync fprs via kvm_run
      linux-headers: update against kvm/next
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  13. Merge remote-tracking branch 'remotes/kraxel/tags/pull-seabios-201603…

    pm215 committed Mar 1, 2016
    …01-1' into staging
    
    seabios: update to 1.9.1 stable release
    
    # gpg: Signature made Tue 01 Mar 2016 08:39:53 GMT using RSA key ID D3E87138
    # 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>"
    
    * remotes/kraxel/tags/pull-seabios-20160301-1:
      seabios: update to 1.9.1 stable release
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  14. s390x/css: only suspend when enabled by orb

    cohuck committed Feb 22, 2016
    We must not allow a channel program to suspend if the suspend
    control bit in the orb had not been specified.
    
    Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  15. MAINTAINERS: Remove entry for hw/s390x/s390-virtio-bus.[ch]

    huth committed with cohuck Feb 25, 2016
    The files have been deleted recently, no need to keep these entries
    anymore.
    
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    Message-Id: <1456397100-22746-1-git-send-email-thuth@redhat.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  16. MAINTAINERS: Remove the old s390-virtio machine

    huth committed with cohuck Feb 25, 2016
    The old s390-virtio machine has been removed last year, so we don't
    need the corresponding section in the MAINTAINERS file anymore.
    
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    Message-Id: <1456394274-21082-1-git-send-email-thuth@redhat.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  17. s390x/pci: use PCI_MSIX_FLAGS on retrieving the MSIX entries

    RichardWeiYang committed with cohuck Feb 19, 2016
    Even PCI_CAP_FLAGS has the same value as PCI_MSIX_FLAGS, the later one is
    the more proper on retrieving MSIX entries.
    
    This patch uses PCI_MSIX_FLAGS to retrieve the MSIX entries.
    
    Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
    CC: Cornelia Huck <cornelia.huck@de.ibm.com>
    CC: Christian Borntraeger <borntraeger@de.ibm.com>
    Message-Id: <1455895091-7589-3-git-send-email-richard.weiyang@gmail.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  18. s390x/css: Use static initialization for channel_subsys fields

    ehabkost committed with cohuck Feb 16, 2016
    machine_init() will be gone, but we don't need it if we just
    initialize the channel_subsys fields statically.
    
    Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
    Cc: Christian Borntraeger <borntraeger@de.ibm.com>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Message-Id: <1455656347-29033-4-git-send-email-ehabkost@redhat.com>
    Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    [adapted on top of indicator changes]
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  19. s390x/css: Allocate channel_subsys statically

    ehabkost committed with cohuck Feb 16, 2016
    There's no need to use g_malloc0() to allocate the channel_subsys
    struct, just use a static variable.
    
    Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
    Cc: Christian Borntraeger <borntraeger@de.ibm.com>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Alexander Graf <agraf@suse.de>
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Message-Id: <1455656347-29033-3-git-send-email-ehabkost@redhat.com>
    Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    [adapted on top of indicator changes]
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  20. s390x/pci: fix reg/dereg irq functions

    Yi Min Zhao committed with cohuck Jan 28, 2016
    Indicator refcounting interfaces are introduced. This patch fixes
    introducing unneeded indicator mappings and failure to release
    AISB mappings on deregistration.
    
    Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
    Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  21. s390x/css: introduce indicator refcounting interfaces

    Yi Min Zhao committed with cohuck Jan 27, 2016
    Currently, virtio-ccw uses its own interfaces to keep indicators mapped
    just once even if the same address has been registered multiple times.
    These interfaces fit the PCI use case as well. Therefore, move them to
    css and make them generic interfaces.
    
    Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
    Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  22. s390x/virtio: old machine leftovers

    cohuck committed Feb 10, 2016
    Remove some now unused #defines.
    
    Reviewed-By: Sascha Silbe <silbe@linux.vnet.ibm.com>
    Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  23. watchdog/diag288: avoid race condition on expired watchdog

    Sascha Silbe committed with cohuck Jan 29, 2016
    When configured to inject an NMI, watchdog_perform_action() may cause
    the BQL to be temporarily relinquished (inject_nmi() → ... →
    s390_nmi() → s390_cpu_restart() → run_on_cpu()). When the guest issues
    diag 288 again in response to the NMI, the diag 288 operation will
    race against wdt_diag288_reset(). Depending on scheduler behaviour,
    wdt_diag288_reset() may be run after the guest issued a diag 288
    Init. As a result, we will cancel the timer the guest just set up. The
    effect observed by the guest is that a second expiry does not trigger
    the watchdog action and diag 288 Change operations fail.
    
    Fix this by resetting the timer _before_ invoking the action.
    
    Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
    Acked-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  24. s390x: remove {kvm_}s390_virtio_irq()

    cohuck committed Jan 27, 2016
    This interface was only used by the old virtio machine and therefore
    is not needed anymore.
    
    Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
    Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  25. s390x: fix debug statement in trigger_page_fault()

    David Hildenbrand committed with cohuck Jan 25, 2016
    When mmu_translate debugging output is enabled, code won't compile.
    Let's just use the same statement as in trigger_prot_fault().
    
    Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  26. s390x/kvm: sync fprs via kvm_run

    David Hildenbrand committed with cohuck Feb 2, 2016
    We can now also sync the fprs via kvm_run, avoiding one ioctl.
    
    Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  27. linux-headers: update against kvm/next

    cohuck committed Feb 22, 2016
    Update against commit efef127c, but keep userfaultd.h.
    
    Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
  28. Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-20160301…

    pm215 committed Mar 1, 2016
    …-1' into staging
    
    qapi: fix input-send-event and promote to stable
    
    # gpg: Signature made Tue 01 Mar 2016 08:19:52 GMT using RSA key ID D3E87138
    # 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>"
    
    * remotes/kraxel/tags/pull-input-20160301-1:
      qapi: promote input-send-event to stable
      qapi: rename InputAxis values.
      qapi: rename input buttons
      qapi: switch x-input-send-event from console to device+head
      console: add & use qemu_console_lookup_by_device_name
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  29. Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20160301-1…

    pm215 committed Mar 1, 2016
    …' into staging
    
    vga: minor cirrus/qxl bugfixes.
    
    # gpg: Signature made Tue 01 Mar 2016 07:16:22 GMT using RSA key ID D3E87138
    # 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>"
    
    * remotes/kraxel/tags/pull-vga-20160301-1:
      qxl: lock current_async update in qxl_soft_reset
      cirrus_vga: fix off-by-one in blit_region_is_unsafe
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  30. Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' i…

    pm215 committed Mar 1, 2016
    …nto staging
    
    # gpg: Signature made Mon 29 Feb 2016 20:08:16 GMT using RSA key ID C0DE3057
    # gpg: Good signature from "Jeffrey Cody <jcody@redhat.com>"
    # gpg:                 aka "Jeffrey Cody <jeff@codyprime.org>"
    # gpg:                 aka "Jeffrey Cody <codyprime@gmail.com>"
    
    * remotes/cody/tags/block-pull-request:
      iotests/124: Add cluster_size mismatch test
      block/backup: avoid copying less than full target clusters
      block/backup: make backup cluster size configurable
      mirror: Add mirror_wait_for_io
      mirror: Rewrite mirror_iteration
      vhdx: Simplify vhdx_set_shift_bits()
      vhdx: DIV_ROUND_UP() in vhdx_calc_bat_entries()
      iscsi: add support for getting CHAP password via QCryptoSecret API
      curl: add support for HTTP authentication parameters
      rbd: add support for getting password from QCryptoSecret object
      sheepdog: allow to delete snapshot
      block/nfs: add support for setting debug level
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  31. seabios: update to 1.9.1 stable release

    kraxel committed Mar 1, 2016
    git shortlog rel-1.9.0..rel-1.9.1
    =================================
    
    Cole Robinson (1):
          biostables: Support SMBIOS 2.6+ UUID format
    
    Kevin O'Connor (7):
          xhci: Check for device disconnects during USB2 reset polling
          xhci: Wait for port enable even for USB3 devices
          sdcard: Only enable error_irq_enable for bits defined in SDHCI v1 spec
          sdcard: fix typo causing 32bit write to 16bit block_size field
          nmi: Don't try to switch onto extra stack in NMI handler
          scsi: Do not call printf() from scsi_is_ready()
          coreboot: Check for unaligned cbfs header
    
    Marcel Apfelbaum (1):
          fw/pci: do not automatically allocate IO region for PCIe bridges
    
    Roger Pau Monne (1):
          build: fix typo in buildversion.py
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
  32. qapi: promote input-send-event to stable

    kraxel committed Jan 12, 2016
    With all fixups being in place now, we can promote input-send-event
    to stable abi by removing the x- prefix.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
  33. qapi: rename InputAxis values.

    kraxel committed Jan 12, 2016
    Lowercase them.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
  34. qapi: rename input buttons

    kraxel committed Jan 12, 2016
    All lowercase, use-dash instead of CamelCase.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
  35. qapi: switch x-input-send-event from console to device+head

    kraxel committed Jan 12, 2016
    Use display device qdev id and head number instead of console index to
    specify the QemuConsole.  This makes things consistent with input
    devices (for input routing) and vnc server configuration, which both use
    display and head too.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
    Reviewed-by: Markus Armbruster <armbru@redhat.com>