Skip to content
Snippets Groups Projects
  1. Jan 08, 2022
  2. Jan 05, 2022
  3. Dec 21, 2021
  4. Dec 18, 2021
  5. Dec 17, 2021
  6. Dec 15, 2021
  7. Dec 10, 2021
  8. Nov 22, 2021
  9. Nov 19, 2021
  10. Nov 17, 2021
  11. Nov 16, 2021
    • Cleber Rosa's avatar
      Jobs based on custom runners: add CentOS Stream 8 · d7c2e2b3
      Cleber Rosa authored
      
      This introduces three different parts of a job designed to run
      on a custom runner managed by Red Hat.  The goals include:
      
        a) propose a model for other organizations that want to onboard
           their own runners, with their specific platforms, build
           configuration and tests.
      
        b) bring awareness to the differences between upstream QEMU and the
           version available under CentOS Stream, which is "A preview of
           upcoming Red Hat Enterprise Linux minor and major releases".
      
        c) because of b), it should be easier to identify and reduce the gap
           between Red Hat's downstream and upstream QEMU.
      
      The components of this custom job are:
      
        I) OS build environment setup code:
      
           - additions to the existing "build-environment.yml" playbook
             that can be used to set up CentOS/EL 8 systems.
      
           - a CentOS Stream 8 specific "build-environment.yml" playbook
             that adds to the generic one.
      
       II) QEMU build configuration: a script that will produce binaries with
           features as similar as possible to the ones built and packaged on
           CentOS stream 8.
      
      III) Scripts that define the minimum amount of testing that the
           binaries built with the given configuration (point II) under the
           given OS build environment (point I) should be subjected to.
      
       IV) Job definition: GitLab CI jobs that will dispatch the build/test
           jobs (see points #II and #III) to the machine specifically
           configured according to #I.
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarWillian Rampazzo <willianr@redhat.com>
      Tested-by: default avatarWillian Rampazzo <willianr@redhat.com>
      Message-Id: <20211111160501.862396-2-crosa@redhat.com>
      Message-Id: <20211115142915.3797652-6-alex.bennee@linaro.org>
      d7c2e2b3
    • Kevin Wolf's avatar
      docs: Deprecate incorrectly typed device_add arguments · 4d8b0f0a
      Kevin Wolf authored
      
      While introducing a non-QemuOpts code path for device creation for JSON
      -device, we noticed that QMP device_add doesn't check its input
      correctly (accepting arguments that should have been rejected), and that
      users may be relying on this behaviour (libvirt did until it was fixed
      recently).
      
      Let's use a deprecation period before we fix this bug in QEMU to avoid
      nasty surprises for users.
      
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Message-Id: <20211111143530.18985-1-kwolf@redhat.com>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Message-Id: <20211115145409.176785-12-kwolf@redhat.com>
      Signed-off-by: default avatarHanna Reitz <hreitz@redhat.com>
      4d8b0f0a
  12. Nov 11, 2021
  13. Nov 10, 2021
  14. Nov 09, 2021
    • Vladimir Sementsov-Ogievskiy's avatar
      qapi: deprecate drive-backup · 1084159b
      Vladimir Sementsov-Ogievskiy authored
      
      Modern way is using blockdev-add + blockdev-backup, which provides a
      lot more control on how target is opened.
      
      As example of drive-backup problems consider the following:
      
      User of drive-backup expects that target will be opened in the same
      cache and aio mode as source. Corresponding logic is in
      drive_backup_prepare(), where we take bs->open_flags of source.
      
      It works rather bad if source was added by blockdev-add. Assume source
      is qcow2 image. On blockdev-add we should specify aio and cache options
      for file child of qcow2 node. What happens next:
      
      drive_backup_prepare() looks at bs->open_flags of qcow2 source node.
      But there no BDRV_O_NOCAHE neither BDRV_O_NATIVE_AIO: BDRV_O_NOCAHE is
      places in bs->file->bs->open_flags, and BDRV_O_NATIVE_AIO is nowhere,
      as file-posix parse options and simply set s->use_linux_aio.
      
      The documentation is updated in a minimal way, so that drive-backup is
      noted only as a deprecated command, and blockdev-backup used in most of
      places.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      1084159b
    • Vladimir Sementsov-Ogievskiy's avatar
      docs/interop/bitmaps: use blockdev-backup · 24d6cc1f
      Vladimir Sementsov-Ogievskiy authored
      
      We are going to deprecate drive-backup, so use modern interface here.
      In examples where target image creation is shown, show blockdev-add as
      well. If target creation omitted, omit blockdev-add as well.
      
      Reviewed-by: default avatarKashyap Chamarthy <kchamart@redhat.com>
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      24d6cc1f
Loading