1. 16 12月, 2014 7 次提交
  2. 15 12月, 2014 4 次提交
  3. 13 12月, 2014 10 次提交
  4. 12 12月, 2014 14 次提交
  5. 11 12月, 2014 5 次提交
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 7c384333
      Peter Maydell 提交于
      Block patches for 2.3
      
      # gpg: Signature made Wed 10 Dec 2014 09:31:53 GMT using RSA key ID C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      
      * remotes/kevin/tags/for-upstream: (73 commits)
        vmdk: Set errp on failures in vmdk_open_vmdk4
        vmdk: Remove unnecessary initialization
        vmdk: Check descriptor file length when reading it
        vmdk: Clean up descriptor file reading
        vmdk: Fix comment to match code of extent lines
        vmdk: Use g_random_int to generate CID
        block: Use g_new0() for a bit of extra type checking
        block: remove BLOCK_OPT_NOCOW from vpc_create_opts
        block: remove BLOCK_OPT_NOCOW from vdi_create_opts
        qemu-iotests: Skip 099 for VMDK subformats with desc file
        block/raw-posix: Fix ret in raw_open_common()
        qcow2: Respect bdrv_truncate() error
        qcow2: Flushing the caches in qcow2_close may fail
        qcow2: Prevent numerical overflow
        iotests: Add test for unsupported image creation
        iotests: Only kill NBD server if it runs
        qemu-img: Check create_opts before image amendment
        qemu-img: Check create_opts before image creation
        block: Check create_opts before image creation
        block/nfs: Add create_opts
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7c384333
    • C
      target-arm: Check error conditions on kvm_arm_reset_vcpu · 25f2895e
      Christoffer Dall 提交于
      When resetting a VCPU we currently call both kvm_arm_vcpu_init() and
      write_kvmstate_to_list(), both of which can fail, but we never check the
      return value.
      
      The only choice here is to print an error an exit if the calls fail.
      Signed-off-by: NChristoffer Dall <christoffer.dall@linaro.org>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1418039630-11773-1-git-send-email-christoffer.dall@linaro.org
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      25f2895e
    • P
      target-arm: Support save/load for 64 bit CPUs · a7130a3e
      Peter Maydell 提交于
      For migration to work on 64 bit CPUs, we need to include both
      the 64-bit integer register file and the PSTATE. Everything
      else is either stored in the same place as existing 32-bit CPU
      state or handled by the generic sysreg mechanism.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1417788683-4038-3-git-send-email-peter.maydell@linaro.org
      a7130a3e
    • A
      target-arm/kvm: make reg sync code common between kvm32/64 · 38df27c8
      Alex Bennée 提交于
      Before we launch a guest we query KVM for the list of "co-processor"
      registers it knows about. This is used to synchronize system
      register state for the bulk of coprocessor/system registers.
      Move this code from the 32-bit specific vcpu init function into
      a common routine and call it also from the 64-bit vcpu init.
      
      This allows system registers to migrate correctly when using
      KVM, and also permits QEMU code to see the current KVM register
      state (which will be needed to support big-endian guests, since
      the virtio endianness callback must check for some system register
      settings).
      
      Since vcpu reset also has to sync registers, we move the
      32 bit kvm_arm_reset_vcpu() into common code as well and
      share it with the 64 bit version.
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      [PMM: just copy the 32-bit code rather than improving it along the way;
       don't share reg_syncs_via_tuple_list() between 32 and 64 bit;
       tweak function names; move reset]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      38df27c8
    • P
      arm_gic_kvm: Tell kernel about number of IRQs · 72149414
      Peter Maydell 提交于
      Newer kernels support a device attribute on the GIC which allows us to
      tell it how many IRQs this GIC instance is configured with; use it, if
      it exists.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NChristoffer Dall <christoffer.dall@linaro.org>
      Message-id: 1417718679-1071-1-git-send-email-peter.maydell@linaro.org
      72149414