mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
kernel: support loop device in v6.8+ kernels
Set CONFIG_BLK_DEV_WRITE_MOUNTED=y to restore previous kernel behaviour. Kernel v6.8+ will by default block buffer writes to block devices mounted by filesystems. This unfortunately is what we need to use mounted loop devices needed by some teams to build OSIs and as an overlay backing store. More info on this config item [here](https://cateee.net/lkddb/web-lkddb/BLK_DEV_WRITE_MOUNTED.html) Fixes: #10808 Signed-off-by: Simon Kaegi <simon.kaegi@gmail.com>
This commit is contained in:
parent
d96e8375c4
commit
f5edbfd696
@ -9,6 +9,8 @@ CONFIG_BLK_DEV_THROTTLING=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# Required in v6.8+ to use mounted loop devices
|
||||
CONFIG_BLK_DEV_WRITE_MOUNTED=y
|
||||
|
||||
# support initial ramdisk
|
||||
CONFIG_RD_GZIP=y
|
||||
|
@ -38,3 +38,4 @@ CONFIG_PAGE_TABLE_ISOLATION
|
||||
CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
|
||||
CONFIG_VFIO_AP
|
||||
CONFIG_VFIO_MDEV
|
||||
CONFIG_BLK_DEV_WRITE_MOUNTED
|
||||
|
@ -1 +1 @@
|
||||
146
|
||||
147
|
||||
|
Loading…
Reference in New Issue
Block a user