1. 18 12月, 2015 2 次提交
  2. 15 12月, 2015 3 次提交
    • G
      fw_cfg: add generic non-DMA read method · 38bf2093
      Gabriel L. Somlo 提交于
      Introduce fw_cfg_data_read(), a generic read method which works
      on all access widths (1 through 8 bytes, inclusive), and can be
      used during both IOPort and MMIO read accesses.
      
      To maintain legibility, only fw_cfg_data_mem_read() (the MMIO
      data read method) is replaced by this patch. The new method
      essentially unwinds the fw_cfg_data_mem_read() + fw_cfg_read()
      combo, but without unnecessarily repeating all the validity
      checks performed by the latter on each byte being read.
      
      This patch also modifies the trace_fw_cfg_read prototype to
      accept a 64-bit value argument, allowing it to work properly
      with the new read method, but also remain backward compatible
      with existing call sites.
      
      Cc: Laszlo Ersek <lersek@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Marc Marí <markmb@redhat.com>
      Signed-off-by: NGabriel Somlo <somlo@cmu.edu>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Message-id: 1446733972-1602-6-git-send-email-somlo@cmu.edu
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      38bf2093
    • B
      usb-mtp: Add support for inotify based file monitoring · 8e3e3897
      Bandan Das 提交于
      For now, we use inotify watches to track only a small number of
      events, namely, add, delete and modify. Note that for delete, the kernel
      already deactivates the watch for us and we just need to
      take care of modifying our internal state.
      
      inotify is a linux only mechanism.
      Suggested-by: NGerd Hoffman <kraxel@redhat.com>
      Signed-off-by: NBandan Das <bsd@redhat.com>
      Message-id: 1448314625-3855-4-git-send-email-bsd@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      8e3e3897
    • B
      usb-mtp: use a list for keeping track of children · 4c7a67f5
      Bandan Das 提交于
      To support adding/removal of objects, we will need to update
      the object cache hierarchy we have built internally. Convert
      to using a Qlist for easier management.
      Signed-off-by: NBandan Das <bsd@redhat.com>
      Message-id: 1448314625-3855-2-git-send-email-bsd@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4c7a67f5
  3. 03 12月, 2015 1 次提交
  4. 10 11月, 2015 24 次提交
  5. 05 11月, 2015 1 次提交
  6. 04 11月, 2015 2 次提交
    • P
      ioport: do not use CPU_LOG_IOPORT · 6f94b7d9
      Paolo Bonzini 提交于
      These messages are disabled by default; a perfect usecase for tracepoints,
      which in fact already exist.  Add the missing information to them and
      stop using qemu_log_mask.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      6f94b7d9
    • L
      migration: rename qemu_savevm_state_cancel · ea7415fa
      Liang Li 提交于
      The function qemu_savevm_state_cancel is called after the migration
      in migration_thread, it seems strange to 'cancel' it after completion,
      rename it to qemu_savevm_state_cleanup looks better.
      Signed-off-by: NLiang Li <liang.z.li@intel.com>
      Reviewed-by: Juan Quintela <quintela@redhat.com>al3
      Reviewed-by: Amit Shah <amit.shah@redhat.com>al3
      Signed-off-by: Juan Quintela <quintela@redhat.com>al3
      ea7415fa
  7. 29 10月, 2015 1 次提交
    • M
      monitor: Simplify event throttling · 93f8f982
      Markus Armbruster 提交于
      The event throttling state machine is hard to understand.  I'm not
      sure it's entirely correct.  Rewrite it in a more straightforward
      manner:
      
      State 1: No event sent recently (less than evconf->rate ns ago)
      
          Invariant: evstate->timer is not pending, evstate->qdict is null
      
          On event: send event, arm timer, goto state 2
      
      State 2: Event sent recently, no additional event being delayed
      
          Invariant: evstate->timer is pending, evstate->qdict is null
      
          On event: store it in evstate->qdict, goto state 3
      
          On timer: goto state 1
      
      State 3: Event sent recently, additional event being delayed
      
          Invariant: evstate->timer is pending, evstate->qdict is non-null
      
          On event: store it in evstate->qdict, goto state 3
      
          On timer: send evstate->qdict, clear evstate->qdict,
                    arm timer, goto state 2
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <1444921716-9511-3-git-send-email-armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      93f8f982
  8. 23 10月, 2015 1 次提交
  9. 22 10月, 2015 1 次提交
  10. 09 10月, 2015 1 次提交
  11. 08 10月, 2015 2 次提交
  12. 06 10月, 2015 1 次提交