1. 09 5月, 2014 1 次提交
  2. 08 5月, 2014 1 次提交
  3. 06 5月, 2014 1 次提交
  4. 25 4月, 2014 2 次提交
  5. 13 3月, 2014 1 次提交
  6. 02 3月, 2014 1 次提交
  7. 29 1月, 2014 2 次提交
  8. 07 1月, 2014 2 次提交
  9. 16 12月, 2013 1 次提交
  10. 01 5月, 2013 1 次提交
  11. 30 4月, 2013 1 次提交
  12. 16 4月, 2013 1 次提交
  13. 19 12月, 2012 4 次提交
  14. 19 11月, 2012 1 次提交
  15. 03 11月, 2012 1 次提交
  16. 30 10月, 2012 1 次提交
  17. 24 10月, 2012 1 次提交
    • P
      qmp: handle stop/cont in INMIGRATE state · 1e998146
      Paolo Bonzini 提交于
      Right now, stop followed by an incoming migration will let the
      virtual machine start.  cont before an incoming migration instead
      will fail.
      
      This is bad because the actual behavior is not predictable; it is
      racy with respect to the start of the incoming migration.  That's
      because incoming migration is blocking, and thus will delay the
      processing of stop/cont until the end of the migration.
      
      In addition, there's nothing that really prevents the user from
      typing the block device's passwords before incoming migration is
      done, so returning the DeviceEncrypted error is also helpful in
      the QMP case.
      
      Both things can be fixed by just toggling the autostart variable when
      stop/cont are called in INMIGRATE state.
      
      Note that libvirt is currently working around the race by looping
      if the MigrationExpected answer is returned.  After this patch, the
      command will return right away without ever raising an error.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      1e998146
  18. 23 10月, 2012 1 次提交
  19. 26 9月, 2012 1 次提交
    • L
      qapi: convert add_client · b224e5e2
      Luiz Capitulino 提交于
      Also fixes a few issues while there:
      
       1. The fd returned by monitor_get_fd() leaks in most error conditions
       2. monitor_get_fd() return value is not checked. Best case we get
          an error that is not correctly reported, worse case one of the
          functions using the fd (with value of -1) will explode
       3. A few error conditions aren't reported
       4. We now "use up" @fdname always.  Before, it was left alone for
          invalid @protocol
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      b224e5e2
  20. 16 8月, 2012 1 次提交
  21. 14 8月, 2012 2 次提交
  22. 09 5月, 2012 1 次提交
    • L
      runstate: introduce suspended state · ad02b96a
      Luiz Capitulino 提交于
      QEMU enters in this state when the guest suspends to ram (S3).
      
      This is important so that HMP users and QMP clients can know that
      the guest is suspended. QMP also has an event for this, but events
      are not reliable and are limited (ie. a client can connect to QEMU
      after the event has been emitted).
      
      Having a different state for S3 brings a new issue, though. Every
      device that doesn't run when the VM is stopped but wants to run
      when the VM is suspended has to check for RUN_STATE_SUSPENDED
      explicitly. This is the case for the keyboard and mouse devices,
      for example.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Acked-by: NGerd Hoffmann <kraxel@redhat.com>
      ad02b96a
  23. 25 2月, 2012 1 次提交
  24. 07 2月, 2012 1 次提交
  25. 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
  26. 18 1月, 2012 5 次提交
  27. 14 1月, 2012 1 次提交
  28. 15 12月, 2011 1 次提交