1. 26 11月, 2016 2 次提交
    • J
      qemu: Use -machine when probing capabilities via QMP · e73447f6
      Jiri Denemark 提交于
      Using -machine instead of -M for QMP probing is safe because any QEMU
      binary which is capable of QMP probing supports -machine.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      e73447f6
    • J
      qemu: Make QMP probing process reusable · 4c5d05ea
      Jiri Denemark 提交于
      The code that runs a new QEMU process to be used for probing
      capabilities is separated into four reusable functions so that any code
      that wants to probe a QEMU process may just follow a few simple steps:
      
          cmd = virQEMUCapsInitQMPCommandNew(...);
          virQEMUCapsInitQMPCommandRun(cmd);
      
          /* talk to the running QEMU process using its QMP monitor */
      
          if (reprobeIsRequired) {
              virQEMUCapsInitQMPCommandAbort(cmd, ...);
              virQEMUCapsInitQMPCommandRun(cmd);
      
              /* talk to the running QEMU process again */
          }
      
          virQEMUCapsInitQMPCommandFree(cmd);
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      4c5d05ea
  2. 25 11月, 2016 13 次提交
  3. 24 11月, 2016 9 次提交
  4. 23 11月, 2016 13 次提交
  5. 22 11月, 2016 3 次提交