An error occurred fetching the project authors.
  1. 01 Aug, 2022 1 commit
  2. 26 Jul, 2022 1 commit
  3. 12 Jul, 2022 2 commits
    • Łukasz Nowak's avatar
      kvm: Implement external-disk · e7b48c0b
      Łukasz Nowak authored
      Support absolute and relative paths. Paths starting with "rbd:" are special,
      and they point to the rbd endpoint, served by Ceph.
      
      cache parameter is optional, in case if present, will be used as-is, even with
      empty cache.
      
      external-disk-number, external-disk-size and external-disk-format has been
      removed from the schema to become hidden, nevertheless it's expected to be
      fully supported, as long tests are kept.
      
      Loudly fail in case if old and new ways are used in the same time.
      e7b48c0b
    • Łukasz Nowak's avatar
      344b12a6
  4. 23 May, 2022 1 commit
  5. 07 Mar, 2022 1 commit
    • Łukasz Nowak's avatar
      kvm: Improve boot image url handling · 5da9c082
      Łukasz Nowak authored
      image-download-controller raises error state during download process, to
      inform other components that download is not ready yet.
      
      template-kvm-run.in asserts presence of all images and otherwise refuses to
      start, so that it gives chance for the image to being downloaded.
      
      Sorting images happen by proper key instead of needless links.
      
      Fix race condition, as the hash parameter shall depend on boot image url
      configuration, and not it's failure state.
      5da9c082
  6. 15 Nov, 2021 1 commit
  7. 28 Oct, 2021 1 commit
  8. 08 Jul, 2021 1 commit
    • Łukasz Nowak's avatar
      kvm: Minimise restart reaction of the KVM wrapper · 6bdc1062
      Łukasz Nowak authored
      Thanks to minimising amount of changing parameters of the wrapper, by setting
      RAM and CPU to "init" values, it's possible to not restart the wrapper in case
      of device hotplugging in for changes of those parameters.
      
      Note that this shows regressiong to enable-device-hotplug which happened
      after upgrade to qemu 5.2.0 in 8dc22418.
      
      slapos.toolbox is added in order to use qemuqmpclient.
      6bdc1062
  9. 21 May, 2021 1 commit
  10. 20 May, 2021 1 commit
  11. 11 May, 2021 3 commits
  12. 07 May, 2021 2 commits
    • Julien Muchembled's avatar
      kvm: always enable discard for drives · bbb4d069
      Julien Muchembled authored
      Given that the default is to use raw for device drives and qcow2 for
      file drives,  and that 'discard' was already enabled for raw, this
      commit is in practice mainly for file drives, for which QEMU processes
      TRIM by punching holes (i.e. the image file becomes sparse).
      
      This reduces disk usage not only by the process running the VM but
      also by backups and replicas (e.g. runner1).
      
      For qcow2 at least, the discarded space can be reused for other blocks
      and qemu compacts the image at dump (for backups) so images on replicas
      are not sparse.
      
      When an image disk format doesn't support it, QEMU ignores the option
      so it's safe.
      
      Guest support of TRIM for virtio-blk is recent: Linux 5.0
      bbb4d069
    • Julien Muchembled's avatar
      kvm: do not try to correct disk-related parameters · 128a37e0
      Julien Muchembled authored
      The user must be aware of any mistake he did. For example, he may lose
      time by not understanding why the VM does not behave as expected or by
      distorting measures in benchmarks.
      
      The only legitimate reason to automatically fix a parameter is backward
      compatibility, if a value is not valid anymore. But such fallback
      should only be temporary. There's no such case recently.
      
      At last, it increased maintenance by having to keep the lists of valid
      values up-to-date.
      
      About:
      
        -  if disk_info['io'] == 'native':
        -    additional_disk_options += ',cache.direct=on'
      
      These lines are redundant when cache is none.
      128a37e0
  13. 27 Apr, 2021 1 commit
  14. 09 Mar, 2021 1 commit
  15. 16 Feb, 2021 1 commit
  16. 04 Nov, 2020 1 commit
  17. 15 Sep, 2020 4 commits
  18. 14 Aug, 2020 1 commit
    • Łukasz Nowak's avatar
      software/kvm: Implement downloadable images · 0d3e8749
      Łukasz Nowak authored
      Downloadable images are enabled when key image-url-list (described in
      instance-kvm-input-schema.json) is present.
      
      Images are downloaded outside of partition processing, as this can take a lot
      of time by template/image-download-controller.py
      
      Configuration is checked and cleaned up by
      template/image-download-config-creator.py
      
      Promises are used for:
      
       * checking if the current configuration from the request has been processed
       * checking status of configuration generation, image download process and
         checksum validity
      
      Details about errors are exposed by using monitor stack provided HTTP server,
      so that user is able to take informed decision about how to fix the problem.
      0d3e8749
  19. 09 Mar, 2020 1 commit
  20. 22 Jan, 2020 1 commit
    • Thomas Gambier's avatar
      software/kvm: disabe IPv6 on ens3 if there is IPv6 on ens4 · 152e4e0c
      Thomas Gambier authored
      If there is IPv6 on both interface, Linux will put a default route on
      ens3 preventing IPv6 to work correctly on ens4.
      Even disabling totally IPv6 from inside the host on ens3 may not work.
      It is safer to disable it from qemu process directly. Also, it will ease
      the configuration of the host.
      152e4e0c
  21. 27 Nov, 2019 1 commit
  22. 25 Nov, 2019 1 commit
  23. 01 Jul, 2019 1 commit
  24. 14 Feb, 2019 1 commit
  25. 10 Jan, 2019 1 commit
  26. 07 Sep, 2018 1 commit
  27. 03 Sep, 2018 1 commit
  28. 29 Aug, 2018 4 commits
  29. 30 Mar, 2018 1 commit
  30. 14 Feb, 2018 1 commit