1. 14 10月, 2015 6 次提交
  2. 13 10月, 2015 1 次提交
    • D
      virt-host-validate: check for IOMMU support · 9139b46a
      Daniel P. Berrange 提交于
      This looks for existance of DMAR (Intel) and IVRS (AMD)
      files under /sys/firmware/acpi/tables/, as a sign that
      the platform has IOMMU present & enabled in the BIOS.
      
      If these are present and /sys/kernel/iommu_groups does
      not contain any entries this is taken as a sign that
      the kernel has not enabled the IOMMU currently.
      
      If no ACPI tables are found we can't distinguish between
      disabled in BIOS and not present in the hardware, so we
      have to give the user a generic hint.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      9139b46a
  3. 12 10月, 2015 18 次提交
  4. 09 10月, 2015 3 次提交
    • M
      virJSONValueArraySize: return ssize_t · 4f77c48c
      Michal Privoznik 提交于
      The internal representation of a JSON array counts the items in
      size_t. However, for some reason, when asking for the count it's
      reported as int. Firstly, we need the function to return a signed
      type as it's returning -1 on an error. But, not every system has
      integer the same size as size_t. Therefore, lets return ssize_t.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      4f77c48c
    • A
      src: Remove $(builddir) usage · 6c928996
      Andrea Bolognani 提交于
      Commit 4e803227 used $(builddir) in the header search
      path to fix a build issue; however, $(builddir) is not defined
      by old autoconf versions such as the one available in CentOS 5,
      resulting in the following error:
      
        cc1: error: /util: No such file or directory
        make[3]: *** [libvirt_driver_la-fdstream.lo] Error 1
      
      Since $(builddir) is defined to always be '.', just use that
      value directly instead.
      6c928996
    • A
      src: Include $(builddir)/util in the header search path · 4e803227
      Andrea Bolognani 提交于
      Since a9fe6203, we are generating virkeymaps.h at build
      time; however, we are not including $(builddir)/util in the
      header search path, so when doing a VPATH build the compiler
      is unable to locate the file.
      
      make[2]: Entering directory
      `/home/jenkins/libvirt/systems/libvirt-fedora-20/build/src'
        GEN      util/virkeymaps.h
        ...
        CC       util/libvirt_util_la-virkeycode.lo
        CC       util/libvirt_util_la-virkeyfile.lo
        CC       util/libvirt_util_la-virlockspace.lo
        CC       util/libvirt_util_la-virlog.lo
      ../../src/util/virkeycode.c:27:24: fatal error: virkeymaps.h: No such file or directory
       #include "virkeymaps.h"
                              ^
      compilation terminated.
      4e803227
  5. 08 10月, 2015 5 次提交
  6. 07 10月, 2015 7 次提交