1. 17 4月, 2013 1 次提交
  2. 16 4月, 2013 1 次提交
  3. 15 4月, 2013 2 次提交
  4. 09 4月, 2013 3 次提交
  5. 29 3月, 2013 1 次提交
  6. 27 3月, 2013 1 次提交
  7. 26 3月, 2013 2 次提交
  8. 19 3月, 2013 4 次提交
  9. 18 3月, 2013 1 次提交
    • G
      Switch to efi-enabled nic roms by default · c45e5b5b
      Gerd Hoffmann 提交于
      All PCI nics are switched to EFI-enabled roms by default.  They are
      composed from three images (legacy, efi ia32 & efi x86), so classic
      pxe booting will continue to work.
      
      Exception: eepro100 is not switched, it uses a single rom for all
      emulated eepro100 variants, then goes patch the rom header on the
      fly with the correct PCI IDs.  I doubt that will work as-is with
      the efi roms.
      
      Keep old roms for 1.4+older machine types via compat properties,
      needed because the efi-enabled roms are larger so the pci rom bar
      size would change.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      c45e5b5b
  10. 01 3月, 2013 2 次提交
  11. 27 2月, 2013 1 次提交
  12. 08 2月, 2013 1 次提交
  13. 22 1月, 2013 2 次提交
  14. 17 1月, 2013 1 次提交
  15. 15 1月, 2013 1 次提交
  16. 11 1月, 2013 1 次提交
    • A
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber 提交于
      Since 39bffca2 (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  17. 08 1月, 2013 3 次提交
  18. 07 1月, 2013 1 次提交
  19. 06 1月, 2013 1 次提交
  20. 02 1月, 2013 2 次提交
    • S
      virtio-blk: add x-data-plane=on|off performance feature · 392808b4
      Stefan Hajnoczi 提交于
      The virtio-blk-data-plane feature is easy to integrate into
      hw/virtio-blk.c.  The data plane can be started and stopped similar to
      vhost-net.
      
      Users can take advantage of the virtio-blk-data-plane feature using the
      new -device virtio-blk-pci,x-data-plane=on property.
      
      The x-data-plane name was chosen because at this stage the feature is
      experimental and likely to see changes in the future.
      
      If the VM configuration does not support virtio-blk-data-plane an error
      message is printed.  Although we could fall back to regular virtio-blk,
      I prefer the explicit approach since it prompts the user to fix their
      configuration if they want the performance benefit of
      virtio-blk-data-plane.
      
      Limitations:
       * Only format=raw is supported
       * Live migration is not supported
       * Block jobs, hot unplug, and other operations fail with -EBUSY
       * I/O throttling limits are ignored
       * Only Linux hosts are supported due to Linux AIO usage
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      392808b4
    • S
      virtio-blk: restore VirtIOBlkConf->config_wce flag · 8a873ba7
      Stefan Hajnoczi 提交于
      Two slightly different versions of a patch to conditionally set
      VIRTIO_BLK_F_CONFIG_WCE through the "config-wce" qdev property have been
      applied (ea776abc and eec7f96c).  David Gibson
      <david@gibson.dropbear.id.au> noticed that the "config-wce"
      property is broken as a result and fixed it recently.
      
      The fix sets the host_features VIRTIO_BLK_F_CONFIG_WCE bit from a qdev
      property.  Unfortunately, the virtio device then has no chance to test
      for the presence of the feature bit during virtio_blk_init().
      
      Therefore, reinstate the VirtIOBlkConf->config_wce flag.  Drop the
      duplicate qdev property to set the host_features bit.  The
      VirtIOBlkConf->config_wce flag will be used by virtio-blk-data-plane in
      a later patch.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      8a873ba7
  21. 26 12月, 2012 2 次提交
  22. 20 12月, 2012 1 次提交
  23. 19 12月, 2012 3 次提交
  24. 17 12月, 2012 1 次提交
  25. 11 12月, 2012 1 次提交
    • D
      virtio-blk: Remove duplicate property definition · d567e62f
      David Gibson 提交于
      For the virtio-blk device (via virtio-pci) the property "config-wce" is
      defined in two places.  First, it's defined from the
      DEFINE_VIRTIO_BLK_FEATURES macro, second it's defined directly in
      virtio-pci, just two lines above the call to that macro.
      
      The direct definition in virtio-pci.c is broken, since it operates on the
      'config_wce' field of VirtIOBlkConf, which is never used anywhere else.
      Therefore, this patch removes both the extra property definition and the
      redundant field it works on.
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Anthony Liguori <aliguori@us.ibm.com>
      Cc: Paul 'Rusty' Russell <rusty@rustcorp.com.au>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      d567e62f