1. 17 5月, 2016 3 次提交
    • J
      libxl: Free migration cookie · 1222a303
      John Ferlan 提交于
      Commit id 'f9edcfa4' added cookie manipulation for libxl; however, some
      cookie crumb cleanup was missed. Found by Coverity.
      
      In libxlDomainMigrationBegin, the cookie is allocated and baked; however,
      the mig ingredients weren't cleaned up.
      
      In libxlDomainMigrationPrepare, when the 'mig' cookie is added to the
      args, set the 'mig = NULL'; otherwise, other failure paths between when
      the code ate the cookie data and when it was added to args would fail
      to clean up the crumbs.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      1222a303
    • J
      qemu: More qemu_monitor_json cleanups · 52760707
      John Ferlan 提交于
      Recent adjustments to the code produced a litany of coverity false
      positives, but only because the "standard" procedure of setting a
      variable to NULL after it was assigned to something else and keeping
      the *Free/*FREE call in the cleanup path wasn't kept. So this patch
      makes those adjustments (assign variable to NULL and remove the if
      'ret < 0' condition to clean it up).
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      52760707
    • F
      bhyve: implement virConnectIsAlive · a1efc942
      Fabian Freyer 提交于
      bhyve connections are local, and a "connection will be classed as alive
      if it is [...] local".
      a1efc942
  2. 16 5月, 2016 34 次提交
  3. 14 5月, 2016 3 次提交
    • F
      qemu: remove ATTRIBUTE_UNUSED in connectGetType · 9055faeb
      Fabian Freyer 提交于
      This is not needed here, since the conn parameter is used in the ACL
      checking calls, which were introduced in abf75aea.
      9055faeb
    • F
      bhyve: implement virConnectGetType · 126e630e
      Fabian Freyer 提交于
      This implements virConnectGetType for the bhyve driver.
      126e630e
    • J
      libxl: don't attempt to probe a non-existent emulator · 400e716d
      Jim Fehlig 提交于
      When probing the <emulator> with '-help' to determine if
      it is the old qemu, errors are reported if the emulator
      doesn't exist
      
      libvirt:  error : internal error: Child process
      (/usr/lib/xen/bin/qemu-dm -help) unexpected exit status 127:
      libvirt:  error : cannot execute binary /usr/lib/xen/bin/qemu-dm:
      No such file or directory
      
      Avoid the probe if the specified emulator doesn't exist,
      squelching the error. There is no behavior change since
      libxlDomainGetEmulatorType() would return
      LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN if the probe failed
      via virCommandRun().
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      400e716d