1. 18 6月, 2014 2 次提交
    • P
      block/iscsi: fix potential segfault on early callback · fcd470d8
      Peter Lieven 提交于
      it might happen in the future that a function directly invokes its callback.
      In this case we end up in a segfault because the iTask is gone when the BH
      is scheduled.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      fcd470d8
    • P
      block/iscsi: handle BUSY condition · efc6de0d
      Peter Lieven 提交于
      this patch adds handling of BUSY status reponse from an iSCSI target.
      Currently, we fail with -EIO in case of SCSI_STATUS_BUSY while the
      obvious reaction would be to retry the operation after some time.
      The retry time is randomly choosen from a range with exponential
      growth increasing with each retry.
      
      This patch includes most of the changes by a an upcoming patch
      from Stefan Hajnoczi:
      
       iscsi: implement .bdrv_detach/attach_aio_context()
      
      because I also need the reference to the aio_context for
      the retry timer to work. I included the changes to maintain
      better mergeability.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      efc6de0d
  2. 17 6月, 2014 1 次提交
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · af44da87
      Peter Maydell 提交于
      Patch queue for ppc - 2014-06-16
      
      This pull request brings a lot of fun things. Among others we have
      
        - e500: u-boot firmware support
        - sPAPR: magic page enablement
        - sPAPR: add "compat" CPU option to support older guests
        - sPAPR: refactorings in preparation for VFIO
        - POWER8 live migration
        - mac99: expose bus frequency
        - little endian core dump, gdb and disas support
        - new ppc64le-linux-user target
        - DFP emulation
        - bug fixes
      
      # gpg: Signature made Mon 16 Jun 2014 12:28:32 BST using RSA key ID 03FEDC60
      # gpg: Can't check signature: public key not found
      
      * remotes/agraf/tags/signed-ppc-for-upstream: (156 commits)
        spapr_pci: Advertise MSI quota
        PPC: KVM: Make pv hcall endian agnostic
        powerpc: use float64 for frsqrte
        spapr: Add kvm-type property
        spapr: Create SPAPRMachine struct
        linux-user: Tell guest about big host page sizes
        spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE
        spapr_hcall: Split h_set_mode()
        target-ppc: Enable DABRX SPR and limit it to <=POWER7
        target-ppc: Enable PPR and VRSAVE SPRs migration
        target-ppc: Add POWER8's Event Based Branch (EBB) control SPRs
        KVM: target-ppc: Enable TM state migration
        target-ppc: Add POWER8's TM SPRs
        target-ppc: Add POWER8's MMCR2/MMCRS SPRs
        target-ppc: Enable FSCR facility check for TAR
        target-ppc: Add POWER8's FSCR SPR
        target-ppc: Add POWER8's TIR SPR
        target-ppc: Refactor class init for POWER7/8
        target-ppc: Switch POWER7/8 classes to use correct PMU SPRs
        target-ppc: Make use of gen_spr_power5p_lpar() for POWER7/8
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      af44da87
  3. 16 6月, 2014 37 次提交