[SRU][F:linux-gcp/J:linux-gcp/N:linux-gcp/O:linux-gcp/P:linux-gcp][PATCH 0/1] Make virtio_balloon a loadable module

Ian Whitfield ian.whitfield at canonical.com
Wed Apr 2 00:20:58 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2105142

[Impact]

Google requested that the virtio_balloon module be made loadable, rather
than built-in. This is to support disabling the module at runtime, which
is specified as possible in their documentation:
https://cloud.google.com/compute/docs/dynamic-resource-management#disabling_the_virtio_memory_balloon_device

[Fix]

Change CONFIG_VIRTIO_BALLOON to build the driver as a loadable module
rather than a built-in, drivers/virtio/* is already in the inclusion
list, so the driver will be included in the main modules package.

A thread for Bionic was sent to the ESM mailing list.

[Test Plan]

List files in the linux-modules package and verify that virtio_balloon.ko
is there.

[Regression potential]

The regression potential is very low since the module will still be
included with all cloud installations and a user has to manually
disable it to get different behavior.

Ian Whitfield (1):
  UBUNTU: [Packaging] gcp: Make virtio_balloon loadable

 debian.gcp/config/annotations | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.43.0




More information about the kernel-team mailing list