1. 14 9月, 2012 1 次提交
  2. 01 8月, 2012 2 次提交
  3. 23 7月, 2012 1 次提交
  4. 04 7月, 2012 1 次提交
  5. 25 4月, 2012 7 次提交
  6. 20 4月, 2012 1 次提交
  7. 15 2月, 2012 1 次提交
  8. 04 2月, 2012 1 次提交
    • A
      qdev: register all types natively through QEMU Object Model · 39bffca2
      Anthony Liguori 提交于
      This was done in a mostly automated fashion.  I did it in three steps and then
      rebased it into a single step which avoids repeatedly touching every file in
      the tree.
      
      The first step was a sed-based addition of the parent type to the subclass
      registration functions.
      
      The second step was another sed-based removal of subclass registration functions
      while also adding virtual functions from the base class into a class_init
      function as appropriate.
      
      Finally, a python script was used to convert the DeviceInfo structures and
      qdev_register_subclass functions to TypeInfo structures, class_init functions,
      and type_register_static calls.
      
      We are almost fully converted to QOM after this commit.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      39bffca2
  9. 28 1月, 2012 3 次提交
  10. 27 1月, 2012 1 次提交
  11. 23 1月, 2012 1 次提交
  12. 13 12月, 2011 1 次提交
  13. 02 11月, 2011 1 次提交
  14. 23 9月, 2011 1 次提交
    • D
      e1000: Don't set the Capabilities List bit · dd8e9379
      dann frazier 提交于
      [Originally sent to qemu-kvm list, but I was redirected here]
      
      The Capabilities Pointer is NULL, so this bit shouldn't be set. The state of
      this bit doesn't appear to change any behavior on Linux/Windows versions we've
      tested, but it does cause Windows' PCI/PCI Express Compliance Test to balk.
      
      I happen to have a physical 82540EM controller, and it also sets the
      Capabilities Bit, but it actually has items on the capabilities list to go
      with it :)
      Signed-off-by: Ndann frazier <dann.frazier@canonical.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      dd8e9379
  15. 20 9月, 2011 1 次提交
  16. 22 8月, 2011 1 次提交
    • B
      e1000: use MII status register for link up/down · d4044c2a
      Bjørn Mork 提交于
      Some guests will use the standard MII status register
      to verify link state.  They will not notice link changes
      unless this register is updated.
      
      Verified with Linux 3.0 and Windows XP guests.
      
      Without this patch, ethtool will report speed and duplex as
      unknown when the link is down, but still report the link as
      up.  This is because the Linux e1000 driver checks the
      mac_reg[STATUS] register link state before it checks speed
      and duplex, but uses the phy_reg[PHY_STATUS] register for
      the actual link state check.  Fix by updating both registers
      on link state changes.
      
      Linux guest before:
      
       (qemu) set_link e1000.0 off
      
       kvm-sid:~# ethtool eth0
       Settings for eth0:
              Supported ports: [ TP ]
              Supported link modes:   10baseT/Half 10baseT/Full
                                      100baseT/Half 100baseT/Full
                                      1000baseT/Full
              Supports auto-negotiation: Yes
              Advertised link modes:  10baseT/Half 10baseT/Full
                                      100baseT/Half 100baseT/Full
                                      1000baseT/Full
              Advertised pause frame use: No
              Advertised auto-negotiation: Yes
              Speed: Unknown!
              Duplex: Unknown! (255)
              Port: Twisted Pair
              PHYAD: 0
              Transceiver: internal
              Auto-negotiation: on
              MDI-X: Unknown
              Supports Wake-on: umbg
              Wake-on: d
              Current message level: 0x00000007 (7)
                                     drv probe link
              Link detected: yes
      
       (qemu) set_link e1000.0 on
      
      Linux guest after:
      
       (qemu) set_link e1000.0 off
       [   63.384221] e1000: eth0 NIC Link is Down
      
       kvm-sid:~# ethtool eth0
       Settings for eth0:
              Supported ports: [ TP ]
              Supported link modes:   10baseT/Half 10baseT/Full
                                      100baseT/Half 100baseT/Full
                                      1000baseT/Full
              Supports auto-negotiation: Yes
              Advertised link modes:  10baseT/Half 10baseT/Full
                                      100baseT/Half 100baseT/Full
                                      1000baseT/Full
              Advertised pause frame use: No
              Advertised auto-negotiation: Yes
              Speed: Unknown!
              Duplex: Unknown! (255)
              Port: Twisted Pair
              PHYAD: 0
              Transceiver: internal
              Auto-negotiation: on
              MDI-X: Unknown
              Supports Wake-on: umbg
              Wake-on: d
              Current message level: 0x00000007 (7)
                                     drv probe link
              Link detected: no
      
       (qemu) set_link e1000.0 on
       [   84.304582] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d4044c2a
  17. 08 8月, 2011 2 次提交
  18. 12 6月, 2011 1 次提交
  19. 19 4月, 2011 1 次提交
  20. 04 4月, 2011 1 次提交
  21. 29 3月, 2011 1 次提交
  22. 22 3月, 2011 1 次提交
  23. 20 2月, 2011 3 次提交
  24. 12 12月, 2010 1 次提交
  25. 11 12月, 2010 2 次提交
    • A
      e1000: Make little endian · 32600a30
      Alexander Graf 提交于
      The e1000 has compatibility code to handle big endianness which makes it
      mandatory to be recompiled on different targets.
      
      With the generic mmio endianness solution, there's no need for that anymore.
      We just declare all mmio to be little endian and call it a day.
      
      Because we don't depend on the target endianness anymore, we can also
      move the driver over to Makefile.objs.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      32600a30
    • A
      Add endianness as io mem parameter · 2507c12a
      Alexander Graf 提交于
      As stated before, devices can be little, big or native endian. The
      target endianness is not of their concern, so we need to push things
      down a level.
      
      This patch adds a parameter to cpu_register_io_memory that allows a
      device to choose its endianness. For now, all devices simply choose
      native endian, because that's the same behavior as before.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2507c12a
  26. 22 11月, 2010 1 次提交
  27. 17 11月, 2010 1 次提交