1. 01 6月, 2013 3 次提交
    • A
      Merge remote-tracking branch 'mdroth/qga-pull-2013-05-30' into staging · 0a1f348c
      Anthony Liguori 提交于
      # By Laszlo Ersek
      # Via Michael Roth
      * mdroth/qga-pull-2013-05-30:
        Makefile: create ".../var/run" when installing the POSIX guest agent
        qga: save state directory in ga_install_service()
        qga: remove undefined behavior in ga_install_service()
        qga: create state directory on win32
        configure: don't save any fixed local_statedir for win32
        qga: determine default state dir and pidfile dynamically
        osdep: add qemu_get_local_state_pathname()
      
      Message-id: 1369940341-9043-1-git-send-email-mdroth@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0a1f348c
    • A
      Merge remote-tracking branch 'luiz/queue/qmp' into staging · 6c8df7a3
      Anthony Liguori 提交于
      # By Luiz Capitulino (1) and others
      # Via Luiz Capitulino
      * luiz/queue/qmp:
        target-i386: Fix mask of pte index in memory mapping
        target-i386: fix abort on bad PML4E/PDPTE/PDE/PTE addresses
        qapi: pad GenericList value fields to 64 bits
      
      Message-id: 1370009905-4255-1-git-send-email-lcapitulino@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6c8df7a3
    • A
      Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging · cdf79b64
      Anthony Liguori 提交于
      # By Paolo Bonzini
      # Via Paolo Bonzini
      * bonzini/iommu-for-anthony: (22 commits)
        memory: add return value to address_space_rw/read/write
        memory: propagate errors on I/O dispatch
        exec: just use io_mem_read/io_mem_write for 8-byte I/O accesses
        memory: correctly handle endian-swapped 64-bit accesses
        memory: split accesses even when the old MMIO callbacks are used
        memory: add big endian support to access_with_adjusted_size
        memory: accept mismatching sizes in memory_region_access_valid
        memory: add address_space_access_valid
        exec: implement .valid.accepts for subpages
        memory: export memory_region_access_valid to exec.c
        exec: introduce memory_access_size
        exec: introduce memory_access_is_direct
        exec: expect mr->ops to be initialized for ROM
        memory: assign MemoryRegionOps to all regions
        memory: move unassigned_mem_ops to memory.c
        memory: add address_space_translate
        memory: dispatch unassigned accesses based on .valid.accepts
        exec: do not use error_mem_read
        exec: make io_mem_unassigned private
        cputlb: simplify tlb_set_page
        ...
      
      Message-id: 1369947836-2638-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      cdf79b64
  2. 31 5月, 2013 12 次提交
  3. 30 5月, 2013 1 次提交
    • M
      qapi: pad GenericList value fields to 64 bits · a678e26c
      Michael Roth 提交于
      With the introduction of native list types, we now have types such as
      int64List where the 'value' field is not a pointer, but the actual
      64-bit value.
      
      On 32-bit architectures, this can lead to situations where 'next' field
      offset in GenericList does not correspond to the 'next' field in the
      types that we cast to GenericList when using the visit_next_list()
      interface, causing issues when we attempt to traverse linked list
      structures of these types.
      
      To fix this, pad the 'value' field of GenericList and other
      schema-defined/native *List types out to 64-bits.
      
      This is less memory-efficient for 32-bit architectures, but allows us to
      continue to rely on list-handling interfaces that target GenericList to
      simply visitor implementations.
      
      In the future we can improve efficiency by defaulting to using native C
      array backends to handle list of non-pointer types, which would be more
      memory efficient in itself and allow us to roll back this change.
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      a678e26c
  4. 29 5月, 2013 24 次提交