1. 07 9月, 2017 5 次提交
  2. 05 9月, 2017 4 次提交
  3. 01 9月, 2017 1 次提交
    • N
      qemu: handle -1 for pid in qemuDomainGetMachineName · 9820756c
      Nikolay Shirokovskiy 提交于
      We call qemuDomainGetMachineName on domain start. On first
      start (after daemon start) pid is 0 and virSystemdGetMachineNameByPID
      don't get called. But after domain shutting down pid became -1 so
      on next start virSystemdGetMachineNameByPID is called and returned an error.
      Error is ignored so it is not critical. But at least on my system
      (systemd-219 with extra patches) systemd-machined is crashed on
      this request.
      
      This behaviour is triggered by eaf2c9f8.
      Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
      9820756c
  4. 30 8月, 2017 1 次提交
    • P
      qemu: set bind mode for chardev while parsing XML · be6a415e
      Pavel Hrdina 提交于
      Currently while parsing domain XML we clear the UNIX path if it matches
      one of the auto-generated paths by libvirt.  After that when the guest
      is started new path is generated but the mode is also changed to "bind".
      
      In the real-world use-case the mode should not change, it only happens
      if a user provides a mode='connect' and path that matches one of the
      auto-generated path or not provides a path at all.
      
      Before *reconnect* feature was introduced there was no issue, but with
      the new feature we need to make sure that it's used only with "connect"
      mode, therefore we need to move the mode change into parsing in order
      to have a proper error reported by validation code.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      be6a415e
  5. 29 8月, 2017 4 次提交
  6. 27 8月, 2017 1 次提交
  7. 18 8月, 2017 5 次提交
  8. 07 8月, 2017 1 次提交
  9. 02 8月, 2017 1 次提交
  10. 26 7月, 2017 3 次提交
  11. 25 7月, 2017 4 次提交
  12. 21 7月, 2017 1 次提交
    • S
      qemu: Enable NUMA node tag in pci-root for PPC64 · e5a05799
      Shivaprasad G Bhat 提交于
      This patch addresses the same aspects on PPC the bug 1103314 addressed
      on x86.
      
      PCI expander bus creates multiple primary PCI busses, where each of these
      busses can be assigned a specific NUMA affinity, which, on x86 is
      advertised through ACPI on a per-bus basis.
      
      For SPAPR, a PHB's NUMA affinities are assigned on a per-PHB basis, and
      there is no mechanism for advertising NUMA affinities to a guest on a
      per-bus basis. So, even if qemu-ppc manages to get some sort of multi-bus
      topology working using PXB, there is no way to expose the affinities
      of these busses to the guest. It can only be exposed on a per-PHB/per-domain
      basis.
      
      So patch enables NUMA node tag in pci-root controller on PPC.
      
      The way to set the NUMA node is through the numa_node option of
      spapr-pci-host-bridge device. However for the implicit PHB, the only way
      to set the numa_node is from the -global option. The -global option applies
      to all the PHBs unless explicitly specified with the option on the
      respective PHB of CLI. The default PHB has the emulated devices only, so
      the patch prevents setting the NUMA node for the default PHB.
      Signed-off-by: NShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      e5a05799
  13. 20 7月, 2017 2 次提交
  14. 15 7月, 2017 3 次提交
  15. 13 7月, 2017 1 次提交
    • J
      qemu: Don't update CPU when checking ABI stability · ee68bb39
      Jiri Denemark 提交于
      When checking ABI stability between two domain definitions, we first
      make migratable copies of them. However, we also asked for the guest CPU
      to be updated, even though the updated CPU is supposed to be already
      included in the original definitions. Moreover, if we do this on the
      destination host during migration, we're potentially updating the
      definition with according to an incompatible host CPU.
      
      While updating the CPU when checking ABI stability doesn't make any
      sense, it actually just worked because updating the CPU doesn't do
      anything for custom CPUs (only host-model CPUs are affected) and we
      updated both definitions in the same way.
      
      Less then a year ago commit v2.3.0-rc1~42 stopped updating the CPU in
      the definition we got internally and only the user supplied definition
      was updated. However, the same commit started updating host-model CPUs
      to custom CPUs which are not affected by the request to update the CPU.
      So it still seemed to work right, unless a user upgraded libvirt 2.2.0
      to a newer version while there were some domains with host-model CPUs
      running on the host. Such domains couldn't be migrated with a user
      supplied XML since libvirt would complain:
      
          Target CPU mode custom does not match source host-model
      
      The fix is pretty straightforward, we just need to stop updating the CPU
      when checking ABI stability.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1463957Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      ee68bb39
  16. 12 7月, 2017 2 次提交
  17. 11 7月, 2017 1 次提交