1. 29 1月, 2016 1 次提交
  2. 07 12月, 2015 1 次提交
    • D
      e1000: fix hang of win2k12 shutdown with flood ping · 9596ef7c
      Denis V. Lunev 提交于
      e1000 driver in Win2k12 is really well rotten. It 100% hangs on shutdown
      of UP VM under flood ping. The guest checks card state and reinjects
      itself interrupt in a loop. This is fatal for UP machine.
      
      There is no good way to fix this misbehavior but to kludge it. The
      emulation has interrupt throttling register aka ITR which limits
      interrupt rate and allows the guest to proceed this phase.
      There is no problem with this kludge for Linux guests - it adjust the
      value of it itself.
      
      On the other hand according to the initial research in
          commit e9845f09
          Author: Vincenzo Maffione <v.maffione@gmail.com>
          Date:   Fri Aug 2 18:30:52 2013 +0200
      
          e1000: add interrupt mitigation support
      
          ...
      
          Interrupt mitigation boosts performance when the guest suffers from
          an high interrupt rate (i.e. receiving short UDP packets at high packet
          rate). For some numerical results see the following link
          http://info.iet.unipi.it/~luigi/papers/20130520-rizzo-vm.pdf
      
      this should also boost performance a bit.
      
      See https://bugzilla.redhat.com/show_bug.cgi?id=874406 for additional
      details.
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      CC: Vincenzo Maffione <v.maffione@gmail.com>
      CC: Stefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      9596ef7c
  3. 12 11月, 2015 9 次提交
  4. 12 10月, 2015 1 次提交
  5. 15 9月, 2015 1 次提交
  6. 07 7月, 2015 1 次提交
    • S
      e1000: flush packets when link comes up · 5df6a185
      Stefan Hajnoczi 提交于
      e1000_can_receive() checks the link up status register bit.  If the bit
      is clear, packets will be queued and the peer may disable receive to
      avoid wasting CPU reading packets that cannot be delivered.  The queue
      must be flushed once the link comes back up again.
      
      This patch fixes broken e1000 receive with Mac OS X Snow Leopard guests
      and tap networking.  Flushing the queue invokes the async send callback,
      which re-enables tap fd read.
      Reported-by: NJonathan Liu <net147@gmail.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Message-id: 1435223885-12745-1-git-send-email-stefanha@redhat.com
      5df6a185
  7. 12 6月, 2015 1 次提交
    • J
      migration: Use normal VMStateDescriptions for Subsections · 5cd8cada
      Juan Quintela 提交于
      We create optional sections with this patch.  But we already have
      optional subsections.  Instead of having two mechanism that do the
      same, we can just generalize it.
      
      For subsections we just change:
      
      - Add a needed function to VMStateDescription
      - Remove VMStateSubsection (after removal of the needed function
        it is just a VMStateDescription)
      - Adjust the whole tree, moving the needed function to the corresponding
        VMStateDescription
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      5cd8cada
  8. 27 3月, 2015 1 次提交
  9. 26 2月, 2015 1 次提交
  10. 12 1月, 2015 1 次提交
    • P
      net: remove all cleanup methods from NIC NetClientInfos · 57407ea4
      Paolo Bonzini 提交于
      All NICs have a cleanup function that, in most cases, zeroes the pointer
      to the NICState.  In some cases, it frees data belonging to the NIC.
      
      However, this function is never called except when exiting from QEMU.
      It is not necessary to NULL pointers and free data here; the right place
      to do that would be in the device's unrealize function, after calling
      qemu_del_nic.  Zeroing the NIC multiple times is also wrong for multiqueue
      devices.
      
      This cleanup function gets in the way of making the NetClientStates for
      the NIC hold an object_ref reference to the object, so get rid of it.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      57407ea4
  11. 19 12月, 2014 1 次提交
  12. 15 10月, 2014 2 次提交
  13. 18 8月, 2014 1 次提交
  14. 14 8月, 2014 2 次提交
  15. 23 6月, 2014 5 次提交
  16. 16 6月, 2014 1 次提交
  17. 09 6月, 2014 2 次提交
  18. 21 11月, 2013 1 次提交
    • M
      Revert "e1000/rtl8139: update HMP NIC when every bit is written" · 90d131fb
      Michael S. Tsirkin 提交于
      This reverts commit cd5be582.
      Digging into hardware specs shows this does not
      actually make QEMU behave more like hardware:
      
      There are valid arguments backed by the spec to indicate why the version
      of e1000 prior to cd5be582 was more correct: the high byte actually
      includes a valid bit, this is why all guests write it last.
      
      For rtl8139 there's actually a separate undocumented valid bit, but we
      don't implement it yet.
      
      To summarize all the drivers we know about behave in one way
      that allows us to make an assumption about write order and avoid
      spurious, incorrect mac address updates to the monitor.
      
      Let's stick to the tried heuristic for 1.7 and
      possibly revisit for 1.8.
      Reported-by: NVlad Yasevich <vyasevic@redhat.com>
      Reviewed-by: NVlad Yasevich <vyasevic@redhat.com>
      Cc: Amos Kong <akong@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      90d131fb
  19. 07 11月, 2013 1 次提交
  20. 06 11月, 2013 3 次提交
  21. 18 10月, 2013 2 次提交
  22. 14 10月, 2013 1 次提交