1. 10 12月, 2013 2 次提交
  2. 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
  3. 19 11月, 2013 1 次提交
  4. 15 11月, 2013 1 次提交
  5. 10 11月, 2013 1 次提交
  6. 09 11月, 2013 1 次提交
  7. 08 11月, 2013 1 次提交
  8. 07 11月, 2013 2 次提交
  9. 06 11月, 2013 5 次提交
  10. 18 10月, 2013 3 次提交
  11. 14 10月, 2013 2 次提交
  12. 22 9月, 2013 1 次提交
  13. 21 9月, 2013 2 次提交
  14. 06 9月, 2013 3 次提交
    • A
      ne2000: mark I/O as LITTLE_ENDIAN · 45d883dc
      Aurelien Jarno 提交于
      Now that the memory subsystem is propagating the endianness correctly,
      the ne2000 device should have its I/O ports marked as LITTLE_ENDIAN, as
      PCI devices are little endian.
      
      This makes the ne2000 NIC to work again on PowerPC.
      
      Cc: qemu-stable@nongnu.org
      Cc: Stefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      45d883dc
    • B
      vmxnet3: Eliminate __packed redefined warning · 3dbb9786
      Brad Smith 提交于
      This eliminates a warning about __packed being redefined as exposed by the
      vmxnet3 code. __packed is not used anywhere in the vmxnet3 code.
      
        CC    hw/net/vmxnet3.o
      In file included from hw/net/vmxnet3.c:29:
      hw/net/vmxnet3.h:37:1: warning: "__packed" redefined
      In file included from /usr/include/stdlib.h:38,
                       from /buildbot-qemu/default_openbsd_current/build/include/qemu-common.h:26,
                       from /buildbot-qemu/default_openbsd_current/build/include/hw/hw.h:5,
                       from hw/net/vmxnet3.c:18:
      /usr/include/sys/cdefs.h:209:1: warning: this is the location of the previous definition
      Signed-off-by: NBrad Smith <brad@comstyle.com>
      Reviewed-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      3dbb9786
    • V
      e1000: add interrupt mitigation support · e9845f09
      Vincenzo Maffione 提交于
      This patch partially implements the e1000 interrupt mitigation mechanisms.
      Using a single QEMUTimer, it emulates the ITR register (which is the newer
      mitigation register, recommended by Intel) and approximately emulates
      RADV and TADV registers. TIDV and RDTR register functionalities are not
      emulated (RDTR is only used to validate RADV, according to the e1000 specs).
      
      RADV, TADV, TIDV and RDTR registers make up the older e1000 mitigation
      mechanism and would need a timer each to be completely emulated. However,
      a single timer has been used in order to reach a good compromise between
      emulation accuracy and simplicity/efficiency.
      
      The implemented mechanism can be enabled/disabled specifying the command
      line e1000-specific boolean parameter "mitigation", e.g.
      
          qemu-system-x86_64 -device e1000,mitigation=on,... ...
      
      For more information, see the Software developer's manual at
      http://download.intel.com/design/network/manuals/8254x_GBe_SDM.pdf.
      
      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.pdfSigned-off-by: NVincenzo Maffione <v.maffione@gmail.com>
      Reviewed-by: Andreas Färber <afaerber@suse.de> (for pc-* machines)
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      e9845f09
  15. 31 8月, 2013 1 次提交
  16. 23 8月, 2013 1 次提交
  17. 05 8月, 2013 1 次提交
  18. 30 7月, 2013 11 次提交