1. 04 7月, 2015 33 次提交
  2. 03 7月, 2015 3 次提交
  3. 02 7月, 2015 4 次提交
    • P
      Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20150702-v3' into staging · 5317b0f6
      Peter Maydell 提交于
      Several s390x patches including:
      - missing virtio-1 related code for virtio-ccw
      - bugfixes in ipl device, gdb, virtio-ccw
      - bugfix in s390-ccw bios + rebuild
      - introduce versioned machines for s390-ccw-virtio
      
      # gpg: Signature made Thu Jul  2 15:05:34 2015 BST 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-20150702-v3:
        s390x/migration: Introduce 2.4 machine
        s390x/gdb: synchronize cpu state after modifying acrs
        s390x/ipl: Fix boot if no bootindex was specified
        virtio-ccw: migrate ->revision
        s390x/virtio-ccw: support virtio-1 set_vq format
        s390x/virtio-ccw: add virtio set-revision call
        s390x/css: Add a callback for when subchannel gets disabled
        s390-ccw.img: update
        s390-ccw.img: Consume service interrupts
        css: mss/mcss-e vs. migration
        virtio-ccw: complete handling of guest-initiated resets
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      5317b0f6
    • C
      s390x/migration: Introduce 2.4 machine · c4d3c0a2
      Christian Borntraeger 提交于
      The section footer changes commit f68945d4 ("Add a protective
      section footer") and commit 37fb569c ("Disable section footers
      on older machine types") broke migration for any non-versioned
      machines.
      
      This pinpoints a problem of s390-ccw machines: it needs to
      be versioned to be compatible with future changes in common
      code data structures such as section footers.
      
      Let's introduce a version scheme for s390-ccw-virtio machines.
      We will use the old s390-ccw-virtio name as alias to the latest
      version as all existing libvirt XML for the ccw type were expanded
      by libvirt to that name.
      
      The only downside of this patch is, that the old alias s390-ccw
      will no longer be available as machines can have only one alias,
      but it should not really matter.
      
      Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
      Cc: Juan Quintela <quintela@redhat.com>
      Cc: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
      Cc: Jason J. Herne <jjherne@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Message-Id: <1435742217-62246-1-git-send-email-borntraeger@de.ibm.com>
      Reviewed-by: NJuan Quintela <quintela@redhat.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      c4d3c0a2
    • D
      s390x/gdb: synchronize cpu state after modifying acrs · 55b1b753
      David Hildenbrand 提交于
      Whenever we touch the access control registers, we have to make sure that
      the values will make it into kvm. Otherwise the change will simply be lost.
      
      When synchronizing qemu and kvm, a normal KVM_PUT_RUNTIME_STATE does not take
      care of these registers. Let's simply trigger a KVM_PUT_FULL_STATE sync,
      so the values will directly be written to kvm. The performance overhead can
      be ignored and this is much cleaner than manually writing these registers to kvm
      via our two supported ways.
      Reviewed-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      55b1b753
    • C
      s390x/ipl: Fix boot if no bootindex was specified · 6efd2c2a
      Christian Borntraeger 提交于
      commit fa92e218 ("s390x/ipl: avoid sign extension") introduced
      a regression:
      
      qemu-system-s390x -drive file=image.qcow,format=qcow2
      does not boot, the bios states
      "No virtio-blk device found!"
      
      adding bootindex=1 does boot.
      
      The reason is that the uint32_t as return value will not do the right
      thing for the return -1 (default without bootindex).
      The bios itself, will interpret a 64bit -1 as autodetect (but it will
      interpret 32bit -1 as ccw device address ff.ff.ffff)
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Cc: qemu-stable@nongnu.org # v2.3.0
      Tested-by: NAurelien Jarno <aurelien@aurel32.net>
      Reviewed-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      6efd2c2a