Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtio_balloon: add support for MMIO devices #2081

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Nov 22, 2024

  1. virtio_mmio: add interrupt setup helper function

    This function will be reused when adding support for configuration
    change handlers.
    francescolavra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    9fdbbf2 View commit details
    Browse the repository at this point in the history
  2. virtio_mmio: add support configuration change handlers

    It is now possible for a virtio MMIO device driver to register a
    handler function that is invoked when the device configuration
    changes.
    francescolavra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    98d4d50 View commit details
    Browse the repository at this point in the history
  3. virtio_balloon: add VIRTIO_BALLOON_DRV_FEATURES definition

    This preprocessor definition includes all the features supported by
    the driver.
    No functional change.
    francescolavra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    77296ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13ba7a9 View commit details
    Browse the repository at this point in the history
  5. virtio_balloon: change allocation unit size from 2 MB to 1 MB

    The virtio memory balloon device in AWS Firecracker does not
    support more than 256 pages in a single inflate descriptor. 256
    pages correspond to 1 MB of memory; therefore, change the balloon
    allocation unit size to 1 MB, in preparation for adding support for
    Firecracker balloon devices.
    francescolavra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    dfc9732 View commit details
    Browse the repository at this point in the history
  6. virtio_balloon: add support for MMIO devices

    This allows the virtio memory balloon driver to work with AWS
    Firecracker, which instantiates MMIO devices.
    francescolavra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    05536fb View commit details
    Browse the repository at this point in the history