1. 10 3月, 2012 1 次提交
  2. 29 2月, 2012 1 次提交
    • J
      qapi: Introduce blockdev-group-snapshot-sync command · 8802d1fd
      Jeff Cody 提交于
      This is a QAPI/QMP only command to take a snapshot of a group of
      devices. This is similar to the blockdev-snapshot-sync command, except
      blockdev-group-snapshot-sync accepts a list devices, filenames, and
      formats.
      
      It is attempted to keep the snapshot of the group atomic; if the
      creation or open of any of the new snapshots fails, then all of
      the new snapshots are abandoned, and the name of the snapshot image
      that failed is returned.  The failure case should not interrupt
      any operations.
      
      Rather than use bdrv_close() along with a subsequent bdrv_open() to
      perform the pivot, the original image is never closed and the new
      image is placed 'in front' of the original image via manipulation
      of the BlockDriverState fields.  Thus, once the new snapshot image
      has been successfully created, there are no more failure points
      before pivoting to the new snapshot.
      
      This allows the group of disks to remain consistent with each other,
      even across snapshot failures.
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      Acked-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      8802d1fd
  3. 25 2月, 2012 1 次提交
  4. 04 2月, 2012 2 次提交
    • A
      qom: move properties from qdev to object · 57c9fafe
      Anthony Liguori 提交于
      This is mostly code movement although not entirely.  This makes properties part
      of the Object base class which means that we can now start using Object in a
      meaningful way outside of qdev.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      57c9fafe
    • A
      qom: add new command to search for types · 5eeee3fa
      Anthony Liguori 提交于
      This adds a command that allows searching for types that implement a property.
      This allows you to do things like search for all available PCIDevices.  In the
      future, we'll also have a standard interface for things with a BlockDriverState
      property that a PCIDevice could implement.
      
      This will enable search queries like, "any type that implements the BlockDevice
      interface" which would allow management tools to present available block devices
      without having to hard code device names.  Since an object can implement
      multiple interfaces, one device could act both as a BlockDevice and a
      NetworkDevice.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5eeee3fa
  5. 26 1月, 2012 5 次提交
  6. 18 1月, 2012 7 次提交
  7. 15 12月, 2011 2 次提交
  8. 06 12月, 2011 13 次提交
  9. 05 12月, 2011 1 次提交
  10. 27 10月, 2011 7 次提交