1. 01 7月, 2014 6 次提交
    • J
      Only detect PCI Express devices as root in udev nodedev driver · 5de9b502
      Ján Tomko 提交于
      This stops the error message spam when running unprivileged
      libvirtd:
      2014-06-30 12:38:47.990+0000: 631: error : virPCIDeviceConfigOpen:300 :
      Failed to open config space file
      '/sys/bus/pci/devices/0000:00:00.0/config': Permission denied
      
      Reported by Daniel Berrange:
      https://www.redhat.com/archives/libvir-list/2014-June/msg01082.html
      5de9b502
    • J
      Track privileged state in udev nodedev driver · 1229ef49
      Ján Tomko 提交于
      Remember if libvirtd is running as root or not.
      1229ef49
    • J
      libxl: add PV console if not explicitly specified · ec7b9225
      Jim Fehlig 提交于
      Xen PV domains always have a PV console, so add one to the domain
      config via post-parse callback if not explicitly specified in
      the XML.  The legacy Xen driver behaves similarly, causing a
      regression when switching to the new Xen toolstack.  I.e.
      
        virsh console pv-domain
      
      will no longer work after upgrading a xm/xend stack to xl/libxl.
      ec7b9225
    • J
      build: fix 'make syntax-check' after commit c6cf5df3 · dc165342
      Jim Fehlig 提交于
      The commit caused prohibit_long_lines to fail in src/Makefile.am.
      dc165342
    • J
      vbox: fix linker error · c6cf5df3
      Jim Fehlig 提交于
      Noticed the following error when building the vbox driver
      in the openSUSE build service
      
      CCLD     vboxsnapshotxmltest
      /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
      ../src/.libs/libvirt_driver_vbox_impl.a
      (libvirt_driver_vbox_impl_la-vbox_snapshot_conf.o):
      undefined reference to symbol 'xmlXPathRegisterNs@@LIBXML2_2.4.30'
      /usr/lib64/libxml2.so: error adding symbols: DSO missing from command line
      collect2: error: ld returned 1 exit status
      
      Fixed by adding LIBXML_LIBS to libvirt_driver_vbox_impl_la_LIBADD
      c6cf5df3
    • D
      libxl: don't break the build on Xen>=4.5 because of libxl_vcpu_setaffinity() · bfc72e99
      Dario Faggioli 提交于
      libxl interface for vcpu pinning is changing in Xen 4.5. Basically,
      libxl_set_vcpuaffinity() now wants one more parameter. That is
      representative of 'VCPU soft affinity', which libvirt does not use.
      
      To mark such change, the macro LIBXL_HAVE_VCPUINFO_SOFT_AFFINITY is
      defined. Use it as a gate and, if present, re-#define the calls from
      the old to the new interface, to avoid breaking the build.
      Signed-off-by: NDario Faggioli <dario.faggioli@citrix.com>
      Cc: Jim Fehlig <jfehlig@suse.com>
      Cc: Ian Campbell <Ian.Campbell@citrix.com>
      Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
      bfc72e99
  2. 30 6月, 2014 2 次提交
  3. 27 6月, 2014 4 次提交
  4. 26 6月, 2014 16 次提交
  5. 25 6月, 2014 8 次提交
  6. 24 6月, 2014 4 次提交