1. 14 10月, 2013 7 次提交
  2. 29 9月, 2013 5 次提交
  3. 22 9月, 2013 1 次提交
  4. 15 9月, 2013 6 次提交
  5. 11 9月, 2013 1 次提交
  6. 10 9月, 2013 10 次提交
  7. 06 9月, 2013 6 次提交
    • 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
    • C
      dataplane: Fix startup race. · 8caf907f
      Cornelia Huck 提交于
      Avoid trying to setup dataplane again if dataplane setup is already in
      progress. This may happen if an eventfd is triggered during setup.
      
      I saw this occasionally with an experimental s390 irqfd implementation:
      
      virtio_blk_handle_output
      -> virtio_blk_data_plane_start
      -> virtio_ccw_set_host_notifier
      ...
      -> virtio_queue_set_host_notifier_fd_handler
      -> virtio_queue_host_notifier_read
      -> virtio_queue_notify_vq
      -> virtio_blk_handle_output
      -> virtio_blk_data_plane_start
      -> vring_setup
      -> hostmem_init
      -> memory_listener_register
      -> BOOM
      
      As virtio-ccw tries to follow what virtio-pci does, it might be triggerable
      for other platforms as well.
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      8caf907f
    • F
      xen_disk: simplify blk_disconnect with refcnt · c0777fe1
      Fam Zheng 提交于
      We call bdrv_attach_dev when initializing whether or not bs is created
      locally, so call bdrv_detach_dev and let the refcnt handle the
      lifecycle.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      c0777fe1
    • F
      block: make bdrv_delete() static · 4f6fd349
      Fam Zheng 提交于
      Manage BlockDriverState lifecycle with refcnt, so bdrv_delete() is no
      longer public and should be called by bdrv_unref() if refcnt is
      decreased to 0.
      
      This is an identical change because effectively, there's no multiple
      reference of BDS now: no caller of bdrv_ref() yet, only bdrv_new() sets
      bs->refcnt to 1, so all bdrv_unref() now actually delete the BDS.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4f6fd349
  8. 03 9月, 2013 3 次提交
  9. 02 9月, 2013 1 次提交
新手
引导
客服 返回
顶部