1. 17 1月, 2012 1 次提交
  2. 04 1月, 2012 1 次提交
    • A
      vmstate, memory: decouple vmstate from memory API · c5705a77
      Avi Kivity 提交于
      Currently creating a memory region automatically registers it for
      live migration.  This differs from other state (which is enumerated
      in a VMStateDescription structure) and ties the live migration code
      into the memory core.
      
      Decouple the two by introducing a separate API, vmstate_register_ram(),
      for registering a RAM block for migration.  Currently the same
      implementation is reused, but later it can be moved into a separate list,
      and registrations can be moved to VMStateDescription blocks.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      c5705a77
  3. 28 11月, 2011 1 次提交
  4. 31 10月, 2011 1 次提交
  5. 17 10月, 2011 1 次提交
  6. 10 10月, 2011 1 次提交
  7. 18 8月, 2011 1 次提交
  8. 24 7月, 2011 1 次提交
  9. 23 5月, 2011 1 次提交
  10. 02 4月, 2011 1 次提交
  11. 07 3月, 2011 2 次提交
  12. 11 12月, 2010 1 次提交
    • 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
  13. 24 8月, 2010 1 次提交
    • B
      Rearrange block headers · 2446333c
      Blue Swirl 提交于
      Changing block.h or blockdev.h resulted in recompiling most objects.
      
      Move DriveInfo typedef and BlockInterfaceType enum definitions
      to qemu-common.h and rearrange blockdev.h use to decrease churn.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2446333c
  14. 06 7月, 2010 1 次提交
  15. 05 4月, 2010 1 次提交
  16. 22 3月, 2010 1 次提交
  17. 22 12月, 2009 1 次提交
  18. 05 12月, 2009 1 次提交
  19. 01 12月, 2009 1 次提交
  20. 23 11月, 2009 1 次提交
  21. 20 11月, 2009 1 次提交
  22. 17 11月, 2009 1 次提交
  23. 13 11月, 2009 2 次提交
  24. 12 11月, 2009 1 次提交
  25. 05 10月, 2009 1 次提交
    • M
      Fix pci_add nic not to exit on bad model · 07caea31
      Markus Armbruster 提交于
      Monitor command "pci_add ADDR nic model=MODEL" uses pci_nic_init() to
      create the NIC.  When MODEL is unknown or "?", this prints to stderr
      and terminates the program.
      
      Change pci_nic_init() not to treat "?" specially, and to return NULL
      on failure.  Switch uses during startup to new convenience wrapper
      pci_nic_init_nofail(), which behaves just like pci_nic_init() used to
      do.
      
      Bonus bug fix: we now check for qdev_init() failing there.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      07caea31
  26. 02 10月, 2009 2 次提交
  27. 22 9月, 2009 1 次提交
  28. 10 9月, 2009 1 次提交
    • G
      qdev/usb: convert ohci. · 5b19d9a2
      Gerd Hoffmann 提交于
      Drop num_ports argument for usb_ohci_init_pci(), everybody
      calls it with num_ports == 3, so it is pointless.
      
      Convert ohci pci device into qdev.
      TODO: convert non-pci ohci adapters.
      
      You can add a OHCI USB Controller to your virtual pc now using
      '-device pci-ohci'.  Specifying a id is a good idea, so you can
      attach usb devices to it, like this:
      
        -device pci-ohci,id=ohci
        -device usb-mouse,bus=ohci.0
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5b19d9a2
  29. 22 6月, 2009 1 次提交
    • M
      Support addr=... in option argument of -net nic · 5607c388
      Markus Armbruster 提交于
      Make net_client_init() accept addr=, put the value into struct
      NICinfo.  Use it in pci_nic_init(), and remove arguments bus and
      devfn.
      
      Don't support addr= in third argument of monitor command pci_add,
      because that clashes with its first argument.  Admittedly unelegant.
      
      Machines "malta" and "r2d" have a default NIC with a well-known PCI
      address.  Deal with that the same way as the NIC model: make
      pci_nic_init() take an optional default to be used when the user
      doesn't specify one.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5607c388
  30. 26 5月, 2009 1 次提交
  31. 23 5月, 2009 1 次提交
    • P
      Add common BusState · 02e2da45
      Paul Brook 提交于
      Implement and use a common device bus state.  The main side-effect is
      that creating a bus and attaching it to a parent device are no longer
      separate operations.  For legacy code we allow a NULL parent, but that
      should go away eventually.
      
      Also tweak creation code to veriry theat a device in on the right bus.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      02e2da45
  32. 21 5月, 2009 1 次提交
  33. 15 5月, 2009 5 次提交