Skip to content

Commit

Permalink
UBUNTU: [Config] linux-azure: CONFIG_LOOPBACK_TARGET=m (tcm_loop)
Browse files Browse the repository at this point in the history
BugLink: http://bugs.launchpad.net/bugs/1791794

Enable the tcm_loop module, include it to the main modules package and
enforce CONFIG_LOOPBACK_TARGET=m in the annotations file to avoid
having it changed by mistake when updating the config options.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
  • Loading branch information
marcelocerri authored and rtg-canonical committed May 26, 2022
1 parent e395392 commit 2014067
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions debian.azure/config/annotations
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ CONFIG_SATA_ZPODD mark<ENFORCED> note<modules r
CONFIG_HYPERV_IOMMU policy<{'amd64': 'y'}>
CONFIG_HYPERV_IOMMU mark<ENFORCED> note<LP:#1826447>

CONFIG_LOOPBACK_TARGET policy<{'amd64': 'm'}>
CONFIG_LOOPBACK_TARGET mark<ENFORCED> note<LP#1791794>

# Changes made to the generic kernel that are not necessary in the Azure kernel

CONFIG_REGULATOR_TWL4030 policy<{'amd64': '-'}>
Expand Down
2 changes: 1 addition & 1 deletion debian.azure/config/config.common.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -2814,7 +2814,7 @@ CONFIG_LOCK_TORTURE_TEST=m
# CONFIG_LOGO is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
# CONFIG_LOOPBACK_TARGET is not set
CONFIG_LOOPBACK_TARGET=m
CONFIG_LPC_ICH=m
CONFIG_LPC_SCH=m
# CONFIG_LP_CONSOLE is not set
Expand Down
1 change: 1 addition & 0 deletions debian.azure/control.d/azure.inclusion-list
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ drivers/scsi/sd_mod.ko
drivers/scsi/sr_mod.ko
drivers/scsi/virtio_scsi.ko
drivers/scsi/vmw_pvscsi.ko
drivers/target/loopback/tcm_loop.ko
drivers/target/target_core*.ko
drivers/tty/serial/jsm/*
drivers/uio/uio_hv_generic.ko
Expand Down

0 comments on commit 2014067

Please sign in to comment.