1. 12 4月, 2018 11 次提交
  2. 11 4月, 2018 1 次提交
    • A
      qemu: Format gic-version=2 on the command line · 550950e5
      Andrea Bolognani 提交于
      Up until now we have only formatted non-default GIC versions on
      the command line, in order to maintain compatibility with older
      QEMU versions that didn't implement the gic-version option to
      begin with; however, doing so is entirely unnecessary for newer
      QEMU versions, where the option is available. Moreover, having
      the GIC version formatted on the command line at all times
      ensures that QEMU changing its own defaults doesn't affect the
      ABI of libvirt guests.
      
      A few test cases are removed to avoid extra churn. It doesn't
      matter for coverage, as those scenarios are already covered by
      other parts of the test suite.
      
      This patch is better viewed with 'git show -w'.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      550950e5
  3. 10 4月, 2018 7 次提交
  4. 06 4月, 2018 4 次提交
  5. 05 4月, 2018 1 次提交
    • M
      qemu_cgroup: Handle device mapper targets properly · 6dd84f68
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1557769
      
      Problem with device mapper targets is that there can be several
      other devices 'hidden' behind them. For instance, /dev/dm-1 can
      consist of /dev/sda, /dev/sdb and /dev/sdc. Therefore, when
      setting up devices CGroup and namespaces we have to take this
      into account.
      
      This bug was exposed after Linux kernel was fixed. Initially,
      kernel used different functions for getting block device in
      open() and ioctl(). While CGroup permissions were checked in the
      former case, due to a bug in kernel they were not checked in the
      latter case. This changed with the upstream commit of
      519049afead4f7c3e6446028c41e99fde958cc04 (v4.16-rc5~11^2~4).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      6dd84f68
  6. 03 4月, 2018 16 次提交