1. 04 7月, 2018 3 次提交
    • M
      esx: Report error in esxVI_LookupVirtualMachineByName · 5feb9f94
      Michal Privoznik 提交于
      When reviewing 00d9edfe I've changed proposed patch and
      made it to not report error if no domain is found. This is wrong
      and the original patch was okay. Thing is, both callers pass
      occurrence = OptionalItem so no error message overwriting is done
      as I thought initially.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      5feb9f94
    • A
      qemu: move qemuDomainCCWAddrSetCreateFromDomain · 7bdd06b4
      Anya Harter 提交于
      from src/qemu/qemu_domain_address.c to src/conf/domain_addr.c
      and rename to virDomainCCWAddressSetCreateFromDomain
      
      (rename to have Address in full instead of Addr to follow
      the naming convention of other virDomainCCWAddress functions)
      Signed-off-by: NAnya Harter <aharter@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      7bdd06b4
    • D
      cpu: add 'amd-ssbd' and 'amd-no-ssb' CPU features (CVE-2018-3639) · 2625722c
      Daniel P. Berrangé 提交于
      AMD x86 CPUs have two separate ways to mitigate the Speculative Store
      Bypass hardware flaw. In current processors only non-architectural MSRs
      are available, and so hypervisors must expose a virtualized MSR and CPU
      flag "virt-ssbd" (CPUID Function 8000_0008, EBX[25]=1).
      
      In future processors AMD will provide an architectural MSR, indicated by
      existance of the CPUID Function 8000_0008, EBX[24]=1, to which QEMU has
      given the name "amd-ssbd".
      
      The "amd-ssbd" flag should be used in preference to "virt-ssbd", if it
      is available, since it provides improved performance. For virtual
      machine configuration, both should be exposed when available, to allow
      for maximal guest OS compatibility as not all guests yet support both.
      
      If future processes are not vulnerable to the flaw, this will be
      indicated by the existance of CPUID Function 8000_0008, EBX[26]=1,
      to which QEMU has given the name "amd-no-ssb".
      
      See also 124441_AMD64_SpeculativeStoreBypassDisable_Whitepaper_final.pdf
      from:
      
        https://bugzilla.kernel.org/show_bug.cgi?id=199889
      
      Note that neither amd-ssbd or amd-no-ssb will be reported by the kernel
      in /proc/cpuinfo. It knows about these CPUID bits and does the right thing,
      but doesn't report their existance as distinct flags in /proc/cpuinfo.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      2625722c
  2. 03 7月, 2018 28 次提交
  3. 02 7月, 2018 3 次提交
  4. 28 6月, 2018 4 次提交
  5. 27 6月, 2018 2 次提交