1. 06 11月, 2015 24 次提交
  2. 05 11月, 2015 14 次提交
  3. 04 11月, 2015 2 次提交
    • P
      backends/hostmem-file: Allow to specify full pathname for backing file · 8d31d6b6
      Pavel Fedin 提交于
      This allows to explicitly specify file name to use with the backend. This
      is important when using it together with ivshmem in order to make it backed
      by hugetlbfs. By default filename is autogenerated using mkstemp(), and the
      file is unlink()ed after creation, effectively making it anonymous. This is
      not very useful with ivshmem because it ends up in a memory which cannot be
      accessed by something else.
      
      Distinction between directory and file name is done by stat() check. If an
      existing directory is given, the code keeps old behavior. Otherwise it
      creates or opens a file with the given pathname.
      Signed-off-by: NPavel Fedin <p.fedin@samsung.com>
      Tested-by: NIgor Skalkin <i.skalkin@samsung.com>
      Message-Id: <004301d11166$9672fe30$c358fa90$@samsung.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      8d31d6b6
    • J
      configure: disallow ccache during compile tests · 5e4dfd3d
      John Snow 提交于
      If the user is using ccache during the configuration step,
      it may interfere with some of the configuration tests,
      particularly the "Is ccache interfering with macro analysis" step,
      which is a bit of a poetic problem.
      
      1) Disallow ccache from reading from the cache during configure,
         but don't disable it entirely to allow us to see if it causes other
         problems.
      
      2) Force off CCACHE_CPP2 during the ccache test to get a deterministic
         answer over whether or not we need to enable that feature later.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-Id: <1446055000-29150-1-git-send-email-jsnow@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      5e4dfd3d