1. 09 9月, 2016 2 次提交
  2. 08 9月, 2016 5 次提交
  3. 07 9月, 2016 7 次提交
    • Y
      storage: Delete extra wrap after vol-resize error · ed8ba91e
      Yanqiu Zhang 提交于
      This patch is to delete the extra wrap "\n" after failed vol-resize
      error for both "Failed to change size of volume to" and "Failed to change
      size of volume by". For error with wrap, there will be an extra wrap
      between two errors, such as:
      
         (1)# virsh vol-resize --pool default --vol vol-test 5M
              error: Failed to change size of volume 'vol-test' to 5M
      
              error: invalid argument: Can't shrink capacity below current capacity unless shrink flag explicitly specified
      
         (2)# virsh vol-resize /var/lib/libvirt/images/volds --shrink --delta 10M
              error: Failed to change size of volume 'volds' by 10M
      
              error: invalid argument: can't shrink capacity below existing allocation
      ed8ba91e
    • P
      qemu: driver: Remove unnecessary condition · b871b789
      Peter Krempa 提交于
      At this point it's guaranteed that 'persistentDef' is non-NULL so we
      don't need to check it again.
      b871b789
    • P
      qemu: process: Fix start with unpluggable vcpus with NUMA pinning · 68115fe0
      Peter Krempa 提交于
      Similarly to vcpu hotplug the emulator thread cgroup numa mapping needs
      to be relaxed while hot-adding vcpus so that the threads can allocate
      data in the DMA zone.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1370084
      68115fe0
    • P
      qemu: cgroup: Extract temporary relaxing of cgroup setting for vcpu hotplug · eb5dee35
      Peter Krempa 提交于
      When hot-adding vcpus qemu needs to allocate some structures in the DMA
      zone which may be outside of the numa pinning. Extract the code doing
      this in a set of helpers so that it can be reused.
      eb5dee35
    • E
      virt-admin: Output srv-clients-set data as unsigned int rather than signed · e2c63714
      Erik Skultety 提交于
      Unfortunately, commit a8962f70 only fixed first half of the reported issue of
      virt-admin outputting negative values where unsigned int is expected by
      BZ below, so this commit represents the other missing half of the fix.
      
      resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1356769Signed-off-by: NErik Skultety <eskultet@redhat.com>
      e2c63714
    • M
      util: fix crash in virClassIsDerivedFrom for CloseCallbacks objects · f47b9114
      Maxim Nestratov 提交于
      There is a possibility that qemu driver frees by unreferencing its
      closeCallbacks pointer as it has the only reference to the object,
      while in fact not all users of CloseCallbacks called thier
      virCloseCallbacksUnset.
      
      Backtrace is the following:
      Thread #1:
      0  in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      1  in virCondWait (c=<optimized out>, m=<optimized out>)
          at util/virthread.c:154
      2  in virThreadPoolFree (pool=0x7f0810110b50)
          at util/virthreadpool.c:266
      3  in qemuStateCleanup () at qemu/qemu_driver.c:1116
      4  in virStateCleanup () at libvirt.c:808
      5  in main (argc=<optimized out>, argv=<optimized out>)
          at libvirtd.c:1660
      
      Thread #2:
      0  in virClassIsDerivedFrom (klass=0xdeadbeef, parent=0x7f0837c694d0) at util/virobject.c:169
      1  in virObjectIsClass (anyobj=anyobj@entry=0x7f08101d4760, klass=<optimized out>) at util/virobject.c:365
      2  in virObjectLock (anyobj=0x7f08101d4760) at util/virobject.c:317
      3  in virCloseCallbacksUnset (closeCallbacks=0x7f08101d4760, vm=vm@entry=0x7f08101d47b0, cb=cb@entry=0x7f081d078fc0 <qemuProcessAutoDestroy>) at util/virclosecallbacks.c:163
      4  in qemuProcessAutoDestroyRemove (driver=driver@entry=0x7f081018be50, vm=vm@entry=0x7f08101d47b0) at qemu/qemu_process.c:6368
      5  in qemuProcessStop (driver=driver@entry=0x7f081018be50, vm=vm@entry=0x7f08101d47b0, reason=reason@entry=VIR_DOMAIN_SHUTOFF_SHUTDOWN, asyncJob=asyncJob@entry=QEMU_ASYNC_JOB_NONE, flags=flags@entry=0) at qemu/qemu_process.c:5854
      6  in processMonitorEOFEvent (vm=0x7f08101d47b0, driver=0x7f081018be50) at qemu/qemu_driver.c:4585
      7  qemuProcessEventHandler (data=<optimized out>, opaque=0x7f081018be50) at qemu/qemu_driver.c:4629
      8  in virThreadPoolWorker (opaque=opaque@entry=0x7f0837c4f820) at util/virthreadpool.c:145
      9  in virThreadHelper (data=<optimized out>) at util/virthread.c:206
      10 in start_thread () from /lib64/libpthread.so.0
      
      Let's reference CloseCallbacks object in virCloseCallbacksSet and
      unreference in virCloseCallbacksUnset.
      Signed-off-by: NMaxim Nestratov <mnestratov@virtuozzo.com>
      f47b9114
    • Y
      qemu: guest agent: introduce new error code VIR_ERR_AGENT_UNSYNCED · 914d5e1c
      Yuri Pudgorodskiy 提交于
      A separate error code will help recognize real failures from
      necessity to try again
      Signed-off-by: NMaxim Nestratov <mnestratov@virtuozzo.com>
      914d5e1c
  4. 06 9月, 2016 14 次提交
  5. 05 9月, 2016 3 次提交
  6. 03 9月, 2016 9 次提交