1. 23 6月, 2018 1 次提交
  2. 22 6月, 2018 5 次提交
  3. 16 6月, 2018 2 次提交
  4. 13 6月, 2018 1 次提交
  5. 11 6月, 2018 1 次提交
  6. 09 6月, 2018 10 次提交
  7. 05 6月, 2018 1 次提交
  8. 01 6月, 2018 2 次提交
  9. 31 5月, 2018 1 次提交
    • I
      qapi: introduce new cmd option "allow-preconfig" · d6fe3d02
      Igor Mammedov 提交于
      New option will be used to allow commands, which are prepared/need
      to run, during preconfig state. Other commands that should be able
      to run in preconfig state, should be amended to not expect machine
      in initialized state or deal with it.
      
      For compatibility reasons, commands that don't use new flag
      'allow-preconfig' explicitly are not permitted to run in
      preconfig state but allowed in all other states like they used
      to be.
      
      Within this patch allow following commands in preconfig state:
         qmp_capabilities
         query-qmp-schema
         query-commands
         query-command-line-options
         query-status
         exit-preconfig
      to allow qmp connection, basic introspection and moving to the next
      state.
      
      PS:
      set-numa-node and query-hotpluggable-cpus will be enabled later in
      a separate patches.
      Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
      Message-Id: <1526057503-39287-1-git-send-email-imammedo@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      [ehabkost: Changed "since 2.13" to "since 3.0"]
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      d6fe3d02
  10. 23 5月, 2018 3 次提交
  11. 10 5月, 2018 5 次提交
  12. 09 5月, 2018 2 次提交
  13. 07 5月, 2018 1 次提交
  14. 04 5月, 2018 2 次提交
    • L
      qapi: add SysEmuTarget to "common.json" · 9a801c7d
      Laszlo Ersek 提交于
      We'll soon need an enumeration type that lists all the softmmu targets
      that QEMU (the project) supports. Introduce @SysEmuTarget to
      "common.json".
      
      The enum constant @x86_64 doesn't match the QAPI convention of preferring
      hyphen ("-") over underscore ("_"). This is intentional; the @SysEmuTarget
      constants are supposed to produce QEMU executable names when stringified
      and appended to the "qemu-system-" prefix. Put differently, the
      replacement text of the TARGET_NAME preprocessor macro must be possible to
      look up in the list of (stringified) enum constants.
      
      Like other enum types, @SysEmuTarget too can be used for discriminator
      fields in unions. For the @i386 constant, a C-language union member called
      "i386" would be generated. On mingw build hosts, "i386" is a macro
      however. Add "i386" to "polluted_words" at once.
      
      Cc: "Daniel P. Berrange" <berrange@redhat.com>
      Cc: Eric Blake <eblake@redhat.com>
      Cc: Markus Armbruster <armbru@redhat.com>
      Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
      Message-Id: <20180427192852.15013-3-lersek@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      9a801c7d
    • M
      qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF · cb3e7f08
      Marc-André Lureau 提交于
      Now that we can safely call QOBJECT() on QObject * as well as its
      subtypes, we can have macros qobject_ref() / qobject_unref() that work
      everywhere instead of having to use QINCREF() / QDECREF() for QObject
      and qobject_incref() / qobject_decref() for its subtypes.
      
      The replacement is mechanical, except I broke a long line, and added a
      cast in monitor_qmp_cleanup_req_queue_locked().  Unlike
      qobject_decref(), qobject_unref() doesn't accept void *.
      
      Note that the new macros evaluate their argument exactly once, thus no
      need to shout them.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-Id: <20180419150145.24795-4-marcandre.lureau@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      [Rebased, semantic conflict resolved, commit message improved]
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      cb3e7f08
  15. 26 4月, 2018 1 次提交
    • I
      checkpatch: Add xendevicemodel_handle to the list of types · 5ac067a2
      Ian Jackson 提交于
      This avoids checkpatch misparsing (as statements) long function
      definitions or declarations, which sometimes start with constructs
      like this:
      
        static inline int xendevicemodel_relocate_memory(
            xendevicemodel_handle *dmod, domid_t domid, ...
      
      The type xendevicemodel_handle does not conform to Qemu CODING_STYLE,
      which would suggest CamelCase.  However, it is a type defined by the
      Xen Project in xen.git.  It would be possible to introduce a typedef
      to allow the qemu code to refer to it by a differently-spelled name,
      but that would obfuscate more than it would clarify.
      
      CC: Eric Blake <eblake@redhat.com>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      CC: Daniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NIan Jackson <Ian.Jackson@eu.citrix.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      5ac067a2
  16. 10 4月, 2018 1 次提交
  17. 09 4月, 2018 1 次提交