1. 23 6月, 2014 2 次提交
  2. 21 6月, 2014 8 次提交
    • C
      QemuOpts: check NULL opts in qemu_opt_get functions · 435db4cf
      Chunyan Liu 提交于
      Some places will call bdrv_create_file(filename, NULL, &local_err), where
      opts is NULL. Check NULL in qemu_opt_get and qemu_opt_get_*_del functions,
      to avoid extra effort of checking opts before calling them every time.
      Signed-off-by: NChunyan Liu <cyliu@suse.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      435db4cf
    • P
      block: m25p80: Support read only bdrvs. · 999e5aa5
      Peter Crosthwaite 提交于
      By just never doing write-backs. This is completely invisible to the
      guest, as the entire storage area is implemented as device state (at
      realize time the entire drive is read in).
      Signed-off-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      999e5aa5
    • P
      block: m25p80: sync_page(): Deindent function body. · fc1084aa
      Peter Crosthwaite 提交于
      sync_page() was conditionalizing it's whole fn body on the bdrv being
      non-null. Just return for the function immediately on NULL brdv and
      get rid of the big if.
      
      Makes implementation consistent with flash_zynq_area().
      Signed-off-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      fc1084aa
    • S
      gt64xxx_pci: Add VMStateDescription · 427e1750
      Sanjay Lal 提交于
      Add VMStateDescription for GT64120 PCI emulation used by the Malta
      platform, to allow it to work with savevm/loadvm and live migration.
      
      The entire register array is saved/restored using VMSTATE_UINT32_ARRAY
      (fixed length GT_REGS = 1024).
      Signed-off-by: NSanjay Lal <sanjayl@kymasys.com>
      [james.hogan@imgtec.com: Convert to VMState]
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: Andreas Färber <afaerber@suse.de>
      Reviewed-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      427e1750
    • A
      target-mips: copy CP0_Config1 into DisasContext · 5ab5c041
      Aurelien Jarno 提交于
      In order to avoid access to the CPUMIPSState structure in the
      translator, keep a copy of CP0_Config1 into DisasContext. The whole
      register is read-only so it can be copied as a single value.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      5ab5c041
    • P
      Merge remote-tracking branch 'remotes/kvm/uq/master' into staging · d70a319b
      Peter Maydell 提交于
      * remotes/kvm/uq/master:
        hw/mips: malta: Don't boot from flash with KVM T&E
        MAINTAINERS: Add entry for MIPS KVM
        target-mips: Enable KVM support in build system
        hw/mips: malta: Add KVM support
        hw/mips: In KVM mode, inject IRQ2 (I/O) interrupts via ioctls
        target-mips: Call kvm_mips_reset_vcpu() from mips_cpu_reset()
        target-mips: kvm: Add main KVM support for MIPS
        kvm: Allow arch to set sigmask length
        target-mips: get_physical_address: Add KVM awareness
        target-mips: get_physical_address: Add defines for segment bases
        hw/mips: Add API to convert KVM guest KSEG0 <-> GPA
        hw/mips/cputimer: Don't start periodic timer in KVM mode
        target-mips: Reset CPU timer consistently
        KVM: Fix GSI number space limit
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d70a319b
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · 0a99aae5
      Peter Maydell 提交于
      pc,pci,virtio,hotplug fixes, enhancements
      
      numa work by Hu Tao and others
      memory hotplug by Igor
      vhost-user by Nikolay, Antonios and others
      guest virtio announcements by Jason
      qtest fixes by Sergey
      qdev hotplug fixes by Paolo
      misc other fixes mostly by myself
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      * remotes/mst/tags/for_upstream: (109 commits)
        numa: use RAM_ADDR_FMT with ram_addr_t
        qapi/string-output-visitor: fix bugs
        tests: simplify code
        qapi: fix input visitor bugs
        acpi: rephrase comment
        qmp: add ACPI_DEVICE_OST event handling
        qmp: add query-acpi-ospm-status command
        acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices
        acpi: introduce TYPE_ACPI_DEVICE_IF interface
        qmp: add query-memory-devices command
        numa: handle mmaped memory allocation failure correctly
        pc: acpi: do not hardcode preprocessor
        qmp: clean out whitespace
        qdev: recursively unrealize devices when unrealizing bus
        qdev: reorganize error reporting in bus_set_realized
        qapi: fix build on glib < 2.28
        qapi: make string output visitor parse int list
        qapi: make string input visitor parse int list
        tests: fix memory leak in test of string input visitor
        hmp: add info memdev
        ...
      
      Conflicts:
      	include/hw/i386/pc.h
      [PMM: fixed minor conflict in pc.h]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      0a99aae5
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140619' into staging · 53001c14
      Peter Maydell 提交于
      target-arm:
       * Support PSCI 0.2 when using KVM
       * fix AIRCR reset value for v7M CPUs
       * report correct size information for pflash_cfi01
       * minor coverity fixes
       * avoid warnings on Windows builds due to #define clash
       * implement TTBCR PD0/PD1 bits
      
      # gpg: Signature made Thu 19 Jun 2014 18:35:06 BST using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      
      * remotes/pmaydell/tags/pull-target-arm-20140619:
        armv7m_nvic: fix AIRCR implementation
        Use PSCI v0.2 compatible string when KVM or TCG provides it
        target-arm: Introduce per-CPU field for PSCI version
        target-arm: Implement kvm_arch_reset_vcpu() for KVM ARM64
        target-arm: Enable KVM_ARM_VCPU_PSCI_0_2 feature when possible
        target-arm: Common kvm_arm_vcpu_init() for KVM ARM and KVM ARM64
        kvm: Handle exit reason KVM_EXIT_SYSTEM_EVENT
        hw/block/pflash_cfi01: Report correct size info for parallel configs
        hw/arm/vexpress: Forbid specifying flash contents in two ways at once
        target-arm/translate-a64.c: Fix dead ?: in handle_simd_shift_fpint_conv()
        target-arm/translate-a64.c: Remove dead ?: in disas_simd_3same_int()
        target-arm: Add ULL suffix to calculation of page size
        hw/arm/spitz: Avoid clash with Windows header symbol MOD_SHIFT
        target-arm: implement PD0/PD1 bits for TTBCR
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      53001c14
  3. 20 6月, 2014 18 次提交
  4. 19 6月, 2014 12 次提交