1. 21 7月, 2015 7 次提交
  2. 20 7月, 2015 4 次提交
    • R
      nodeinfo: fix build on FreeBSD · e46791e0
      Roman Bogorodskiy 提交于
      Currently, build fails on FreeBSD with:
      
        CC       libvirt_driver_la-nodeinfo.lo
      nodeinfo.c:1941:56: error: use of undeclared identifier 'SYSFS_SYSTEM_PATH'
          const char *prefix = sysfs_prefix ? sysfs_prefix : SYSFS_SYSTEM_PATH;
                                                             ^
      1 error generated.
      
      This is caused by commit b97b3048 that added sysfs_prefix to
      nodeCapsInitNUMA and used SYSFS_CPU_PATH.
      
      Fix it by unconditionally defining SYSFS_CPU_PATH instead of defining it
      under #ifdef __linux__.
      e46791e0
    • M
      qemu: Reject updating unsupported disk information · 717c99f3
      Martin Kletzander 提交于
      If one calls update-device with information that is not updatable,
      libvirt reports success even though no data were updated.  The example
      used in the bug linked below uses updating device with <boot order='2'/>
      which, in my opinion, is a valid thing to request from user's
      perspective.  Mainly since we properly error out if user wants to update
      such data on a network device for example.
      
      And since there are many things that might happen (update-device on disk
      basically knows just how to change removable media), check for what's
      changing and moreover, since the function might be usable in other
      drivers (updating only disk path is a valid possibility) let's abstract
      it for any two disks.
      
      We can't possibly check for everything since for many fields our code
      does not properly differentiate between default and unspecified values.
      Even though this could be changed, I don't feel like it's worth the
      complexity so it's not the aim of this patch.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1007228
      717c99f3
    • M
      Escape left brace as new perl suggests · 0aa81bbd
      Martin Kletzander 提交于
      After upgrade to perl-5.22.0, it started complaining about one of our
      scripts.  The thing is that even though it works, it wants all curly
      brackets escaped properly.  The change is not functional, it merely gets
      rid of the following error:
      
        Unescaped left brace in regex is deprecated, passed through in regex;
        marked by <-- HERE in m/^enum { <-- HERE / at -e line 3.
      
      There is one more error like this that I'm getting, but it is because of
      GNU automake bug #21001:
      
        https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      0aa81bbd
    • F
      qemu: Use heads parameter for QXL driver · 7b401c3b
      Frediano Ziglio 提交于
      Allows to specify maximum number of head to QXL driver.
      
      Actually can be a compatiblity problem as heads in the XML configuration
      was set by default to '1'.
      Signed-off-by: NFrediano Ziglio <fziglio@redhat.com>
      7b401c3b
  3. 17 7月, 2015 6 次提交
  4. 16 7月, 2015 1 次提交
  5. 15 7月, 2015 11 次提交
  6. 14 7月, 2015 11 次提交