1. 06 3月, 2019 1 次提交
  2. 05 2月, 2019 7 次提交
  3. 29 1月, 2019 2 次提交
  4. 24 1月, 2019 1 次提交
  5. 14 1月, 2019 2 次提交
  6. 10 1月, 2019 2 次提交
  7. 09 1月, 2019 1 次提交
  8. 07 1月, 2019 15 次提交
  9. 21 12月, 2018 1 次提交
  10. 20 12月, 2018 1 次提交
  11. 14 12月, 2018 1 次提交
  12. 12 12月, 2018 1 次提交
  13. 24 10月, 2018 1 次提交
  14. 19 10月, 2018 1 次提交
    • M
      pc: Fix machine property nvdimm-persistence error handling · d319e05d
      Markus Armbruster 提交于
      Calling error_report() in a function that takes an Error ** argument
      is suspicious.  pc.c's pc_machine_set_nvdimm_persistence() does that,
      and then exit()s.  Wrong.  Attempting to set machine property
      nvdimm-persistence to a bad value instantly kills the VM:
      
          $ qemu-system-x86_64 -nodefaults -S -display none -qmp stdio
          {"QMP": {"version": {"qemu": {"micro": 50, "minor": 0, "major": 3}, "package": "v3.0.0-837-gc5e4e492"}, "capabilities": []}}
          {"execute": "qmp_capabilities"}
          {"return": {}}
          {"execute": "qom-set", "arguments": {"path": "/machine", "property": "nvdimm-persistence", "value": "instadeath"}}
          -machine nvdimm-persistence=instadeath: unsupported option
          $ echo $?
          1
      
      Broken when commit 11c39b5c (v3.0.0) replaced error_propagate();
      return by error_report(); exit() instead of error_setg(); return.  Fix
      that.
      
      Fixes: 11c39b5c
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20181017082702.5581-10-armbru@redhat.com>
      d319e05d
  15. 03 10月, 2018 1 次提交
    • L
      change get_image_size return type to int64_t · f3839fda
      Li Zhijian 提交于
      Previously, if the size of initrd >=2G, qemu exits with error:
      root@haswell-OptiPlex-9020:/home/lizj# /home/lizhijian/lkp/qemu-colo/x86_64-softmmu/qemu-system-x86_64 -kernel ./vmlinuz-4.16.0-rc4 -initrd large.cgz -nographic
      qemu: error reading initrd large.cgz: No such file or directory
      root@haswell-OptiPlex-9020:/home/lizj# du -sh large.cgz
      2.5G	large.cgz
      
      this patch changes the caller side that use this function to calculate
      size of initrd file as well.
      
      v2: update error message and int64_t printing format
      Signed-off-by: NLi Zhijian <lizhijian@cn.fujitsu.com>
      Message-Id: <1536833233-14121-1-git-send-email-lizhijian@cn.fujitsu.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      f3839fda
  16. 24 8月, 2018 2 次提交