1. 23 8月, 2010 1 次提交
  2. 06 7月, 2010 2 次提交
  3. 11 6月, 2010 1 次提交
  4. 04 6月, 2010 1 次提交
  5. 02 6月, 2010 1 次提交
  6. 15 5月, 2010 1 次提交
    • J
      vmstate: Add support for alias ID · 4d2ffa08
      Jan Kiszka 提交于
      Some legacy users (mostly PC devices) of vmstate_register manage
      instance IDs on their own, and that unfortunately in a way that is
      incompatible with automatically generated ones. This so far prevents
      switching those users to vmstates that are registered by qdev.
      
      To establish a migration path, this patch introduces the concept of
      alias IDs. They can be passed to an extended vmstate registration
      service, and qdev provides a set service to be used during device init.
      find_se will consider the alias in addition to the default ID. We can
      then start generating the default ID automatically and writing it on
      vmsave, thus converting that format without breaking support for upward
      migration.
      
      The user is required specify the highest vmstate version for which the
      alias is required. Once this version falls behind the minimum required
      for a specific vmstate, an assertion triggers to motivate cleaning up
      the obsolete alias.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      4d2ffa08
  7. 19 4月, 2010 3 次提交
  8. 17 3月, 2010 9 次提交
  9. 16 3月, 2010 7 次提交
  10. 09 3月, 2010 1 次提交
  11. 20 2月, 2010 1 次提交
  12. 04 2月, 2010 3 次提交
  13. 20 1月, 2010 1 次提交
    • A
      virtio-console: qdev conversion, new virtio-serial-bus · 98b19252
      Amit Shah 提交于
      This commit converts the virtio-console device to create a new
      virtio-serial bus that can host console and generic serial ports. The
      file hosting this code is now called virtio-serial-bus.c.
      
      The virtio console is now a very simple qdev device that sits on the
      virtio-serial-bus and communicates between the bus and qemu's chardevs.
      
      This commit also includes a few changes to the virtio backing code for
      pci and s390 to spawn the virtio-serial bus.
      
      As a result of the qdev conversion, we get rid of a lot of legacy code.
      The old-style way of instantiating a virtio console using
      
          -virtioconsole ...
      
      is maintained, but the new, preferred way is to use
      
          -device virtio-serial -device virtconsole,chardev=...
      
      With this commit, multiple devices as well as multiple ports with a
      single device can be supported.
      
      For multiple ports support, each port gets an IO vq pair. Since the
      guest needs to know in advance how many vqs a particular device will
      need, we have to set this number as a property of the virtio-serial
      device and also as a config option.
      
      In addition, we also spawn a pair of control IO vqs. This is an internal
      channel meant for guest-host communication for things like port
      open/close, sending port properties over to the guest, etc.
      
      This commit is a part of a series of other commits to get the full
      implementation of multiport support. Future commits will add other
      support as well as ride on the savevm version that we bump up here.
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      98b19252
  14. 12 12月, 2009 1 次提交
  15. 04 12月, 2009 1 次提交
  16. 03 12月, 2009 1 次提交
  17. 13 11月, 2009 1 次提交
  18. 30 10月, 2009 1 次提交
    • G
      usb core: use qdev for -usbdevice · 0958b4cc
      Gerd Hoffmann 提交于
      This patchs adds infrastructure to handle -usbdevice via qdev callbacks.
      USBDeviceInfo gets a name field (for the -usbdevice driver name) and a
      callback for -usbdevice parameter parsing.
      
      The new usbdevice_create() function walks the qdev driver list and looks
      for a usb driver with a matching name.  When a parameter parsing
      callback is present it is called, otherwise the device is created via
      usb_create_simple().
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0958b4cc
  19. 28 10月, 2009 3 次提交