1. 05 10月, 2015 7 次提交
  2. 02 10月, 2015 16 次提交
  3. 29 9月, 2015 4 次提交
  4. 26 9月, 2015 3 次提交
    • J
      conf: Fix virtType check · 5e06a4f0
      John Ferlan 提交于
      Commit id '7383b8cc' changed virDomainDef 'virtType' to an enum, that
      caused a build failure on some archs due to comparing an unsigned value
      to < 0.  Adjust the fetch of 'type' to be into temporary 'int virtType'
      and then assign that virtType to the def->virtType
      5e06a4f0
    • S
      qemu: Make virtType of type virDomainVirtType · 7383b8cc
      Shivangi Dhir 提交于
      Earlier virtType was of type int. After, introducing the enum VIR_DOMAIN_VIRT_NONE,
      the type of virtType is modified to virDomainVirtType.
      7383b8cc
    • S
      conf: Add new VIR_DOMAIN_VIRT_NONE enum · 62569e45
      Shivangi Dhir 提交于
      Introduce VIR_DOMAIN_VIRT_NONE to give domaintype the default value of zero.
      This is specially helpful in constructing better error messages
      when we don't want to look up the default emulator by virtType.
      
      The test data in vircapstest.c is also modified to reflect this change.
      62569e45
  5. 25 9月, 2015 3 次提交
  6. 24 9月, 2015 7 次提交
    • J
      domain: Fix migratable XML with graphics/@listen · c0806dc3
      Jiri Denemark 提交于
      As of commit 69929941, we set graphics/@listen attribute according to the
      first listen child element even if that element is of type='network'.
      This was done for backward compatibility with applications which only
      support the original listen attribute. However, by doing so we broke
      migration to older libvirt which tried to check that the listen
      attribute matches one of the listen child elements but which did not
      take type='network' elements into account.
      
      We are not concerned about compatibility with old applications when
      formatting domain XML for migration for two reasons. The XML is consumed
      only by libvirtd and the IP address associated with type='network'
      listen address on the source host is just useless on the destination
      host. Thus, we can safely avoid propagating the type='network' IP
      address to graphics/@listen attribute when creating migratable XML.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1265111Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      c0806dc3
    • E
      vsh: create a noinstall libvirt_shell library · 2d9fcb31
      Erik Skultety 提交于
      Instead of referencing vsh sources in all relevant client targets,
      create a library that the client can link against.
      2d9fcb31
    • J
      qemu: Resolve Coverity RESOURCE_LEAK · a73c67b6
      John Ferlan 提交于
      This seemed to be more of a false positive as for some reason Coverity
      was missing the "ret < 0" goto error condition and somehow believing that
      event could be overwritten.  At first I thought it was just the ret != 0
      condition difference, but it wasn't.
      
      In any case, make use of the recent change to qemuDomainEventQueue to
      check event == NULL and just pass it as a parameter directly in the
      error path. That avoids the error.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      a73c67b6
    • J
      qemu: Clean up ret in qemuDomainSaveMemory and qemuDomainSaveInternal · 83cbbbef
      John Ferlan 提交于
      As it turns out, ret can only be 0 or -1, so rather than have some comparisons
      be "ret < 0" and others be "ret != 0", make them all "ret < 0".
      83cbbbef
    • J
      qemu: Resolve Coverity CHECKED_RETURN · ace8e227
      John Ferlan 提交于
      Coverity complains that return from virHookCall is not checked in
      one place in qemuProcessStop.  Since the comment notes that we cannot
      stop the operation even it if fails, just added the ignore_value.
      ace8e227
    • J
      virsh: Resolve Coverity DEADCODE · 35369a7d
      John Ferlan 提交于
      Use 'dead_error_condition' instead of 'dead_error_begin'
      35369a7d
    • J
      tests: Resolve Coverity RESOURCE_LEAK · a36b0ad2
      John Ferlan 提交于
      The cleanup path did not clear the reference for sk1 and sk2
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      a36b0ad2