1. 06 6月, 2018 1 次提交
  2. 11 5月, 2018 1 次提交
  3. 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
  4. 31 1月, 2018 1 次提交
  5. 04 1月, 2018 1 次提交
  6. 25 11月, 2017 1 次提交
  7. 17 10月, 2017 1 次提交
    • P
      util: storagefile: Add helpers to check presence of backing store · 0a294a8e
      Peter Krempa 提交于
      Add helpers that will simplify checking if a backing file is valid or
      whether it has backing store. The helper virStorageSourceIsBacking
      returns true if the given virStorageSource is a valid backing store
      member. virStorageSourceHasBacking returns true if the virStorageSource
      has a backing store child.
      
      Adding these functions creates a central points for further refactors.
      0a294a8e
  8. 26 7月, 2017 1 次提交
  9. 25 7月, 2017 1 次提交
  10. 15 3月, 2017 1 次提交
  11. 23 2月, 2017 1 次提交
    • M
      qemu_cgroup: Only try to allow devices if devices CGroup's available · 3cddd63a
      Michal Privoznik 提交于
      When a domain needs an access to some device (be it a disk, RNG,
      chardev, whatever), we have to allow it in the devices CGroup (if
      it is available), because by default we disallow all the devices.
      But some of the functions that are responsible for setting up
      devices CGroup are lacking check whether there is any CGroup
      available. Thus users might be unable to hotplug some devices:
      
        virsh # attach-device fedora rng.xml
        error: Failed to attach device from rng.xml
        error: internal error: Controller 'devices' is not mounted
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      3cddd63a
  12. 20 2月, 2017 7 次提交
  13. 15 12月, 2016 1 次提交
  14. 25 11月, 2016 3 次提交
  15. 23 11月, 2016 2 次提交
  16. 12 11月, 2016 1 次提交
  17. 22 10月, 2016 1 次提交
  18. 14 9月, 2016 1 次提交
  19. 13 9月, 2016 1 次提交
  20. 07 9月, 2016 1 次提交
  21. 11 7月, 2016 1 次提交
  22. 23 5月, 2016 1 次提交
  23. 19 5月, 2016 1 次提交
  24. 11 4月, 2016 1 次提交
  25. 01 3月, 2016 2 次提交
  26. 18 2月, 2016 1 次提交
  27. 17 2月, 2016 4 次提交