1. 07 6月, 2017 17 次提交
  2. 06 6月, 2017 1 次提交
  3. 05 6月, 2017 2 次提交
  4. 02 6月, 2017 1 次提交
  5. 31 5月, 2017 1 次提交
    • M
      qemu: mkdir memory_backing_dir on startup · 3bab51e0
      Michal Privoznik 提交于
      In 48d9e6cd and friends we've allowed users to back guest
      memory by a file inside the host. And in order to keep things
      manageable the memory_backing_dir variable was introduced to
      qemu.conf to specify the directory where the files are kept.
      However, libvirt's policy is that directories are created on
      domain startup if they don't exist. We've missed this one.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      3bab51e0
  6. 30 5月, 2017 1 次提交
    • E
      qemu: json: Fix daemon crash on handling domain shutdown event · f9b69c82
      Erik Skultety 提交于
      commit a8eba503 added further checking of the guest shutdown cause, but
      this enhancement is available since qemu 2.10, causing a crash because
      of a NULL pointer dereference on older qemus.
      
      Thread 1 "libvirtd" received signal SIGSEGV, Segmentation fault.
      0x00007ffff72441af in virJSONValueObjectGet (object=0x0,
                                                   key=0x7fffd5ef11bf "guest")
          at util/virjson.c:769
      769	    if (object->type != VIR_JSON_TYPE_OBJECT)
      (gdb) bt
      0  in virJSONValueObjectGet
      1  in virJSONValueObjectGetBoolean
      2  in qemuMonitorJSONHandleShutdown
      3  in qemuMonitorJSONIOProcessEvent
      4  in qemuMonitorJSONIOProcessLine
      5  in qemuMonitorJSONIOProcess
      6  in qemuMonitorIOProcess
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      f9b69c82
  7. 26 5月, 2017 2 次提交
  8. 25 5月, 2017 1 次提交
  9. 24 5月, 2017 2 次提交
  10. 23 5月, 2017 4 次提交
  11. 22 5月, 2017 2 次提交
  12. 19 5月, 2017 1 次提交
    • P
      qemu: monitor: Don't bother extracting vCPU halted state in text monitor · 6ff99e95
      Peter Krempa 提交于
      The code causes the 'offset' variable to be overwritten (possibly with
      NULL if neither of the vCPUs is halted) which causes a crash since the
      variable is still used after that part.
      
      Additionally there's a bug, since strstr() would look up the '(halted)'
      string in the whole string rather than just the currently processed line
      the returned data is completely bogus.
      
      Rather than switching to single line parsing let's remove the code
      altogether since it has a commonly used JSON monitor alternative and
      the data itself is not very useful to report.
      
      The code was introduced in commit cc5e695b
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1452106
      6ff99e95
  13. 18 5月, 2017 1 次提交
  14. 17 5月, 2017 1 次提交
  15. 16 5月, 2017 3 次提交