1. 19 6月, 2014 4 次提交
    • M
      virtio-scsi: define dummy handle_output for vhost-scsi vqs · 91d670fb
      Ming Lei 提交于
      vhost userspace needn't to handle vq's notification from guest,
      so define dummy handle_output callback for all vqs of vhost-scsi.
      
      In some corner cases(such as when handling vq's reset from VM), virtio-pci
      still trys to handle pending virtio-scsi events, then object check failure
      inside virtio_scsi_handle_event() for vhost-scsi can be triggered.
      
      The issue can be reproduced by 'rmmod virtio-scsi', 'system sleep' or reboot
      inside VM.
      
      Cc: qemu-stable@nongnu.org
      Cc: Anthony Liguori <aliguori@amazon.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMing Lei <ming.lei@canonical.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      91d670fb
    • P
      8c215a9f
    • P
      block/iscsi: fix init value for iTask->retries · 9d2e256e
      Peter Lieven 提交于
      during rebasing the changed init value for the
      retry counter was missed. This resulted in no retries
      being performed at all.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      9d2e256e
    • P
      block/iscsi: bump libiscsi requirement to 1.9.0 · e49ab19f
      Peter Lieven 提交于
      This patch lifts the minimum supported libiscsi version from 1.4.0 to
      1.9.0 since the BUSY patch required that change.
      
      On one this allows us to remove all #ifdefs from the code which
      makes the code easier to maintain and read. On the other hand
      I would not recommend libiscsi prior to 1.8.0 for production use
      because the following important libiscsi fixes for deadlocks and
      protocol errors are missing prior to 1.8.0:
      
      dbe9a1e SOCKET queue cmd PDUs directly in waitpdu queue
      30df192 DATA-OUT set pdu->cmdsn appropriately
      548bd22 ISCSI fix broken send logic in iscsi_scsi_async_command
      14bee10 RECONNECT do not increase CmdSN for immediate PDUs
      1f4a66a PDU queue out PDUs in order of itt.
      562dd46 PDU avoid incrementing itt to 0xffffffff
      cd09c0f PDU use serial32 arithmetic for cmdsn, maxcmdsn and expcmdsn.
      89e918e SOCKET validate data_size in in_pdu header
      91267f5 Limit immediate and unsolicited data to FirstBurstLength
      
      Note that libiscsi 1.9.0 was released on Feb 24th, 2013, about
      one month after 1.8.0.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      e49ab19f
  2. 18 6月, 2014 14 次提交
  3. 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
  4. 16 6月, 2014 21 次提交