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

Add support for multiple agent binaries #427

Merged
merged 8 commits into from
Jan 24, 2024
Merged

Add support for multiple agent binaries #427

merged 8 commits into from
Jan 24, 2024

Commits on Jan 24, 2024

  1. incusd/instance/qemu: Move agent loader to separate files

    This will make it much easier to keep things in sync with distrobuilder.
    
    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    a989086 View commit details
    Browse the repository at this point in the history
  2. incusd/apparmor/qemu: Remove mention of userns

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    5234509 View commit details
    Browse the repository at this point in the history
  3. incusd/instance/qemu: Make config drive name configurable

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    9b1fda5 View commit details
    Browse the repository at this point in the history
  4. incusd/instance/qemu: Add new agent share

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    9cbf532 View commit details
    Browse the repository at this point in the history
  5. incusd/apparmor/qemu: Allow access to agent path

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    7d0e3c8 View commit details
    Browse the repository at this point in the history
  6. doc: Add INCUS_AGENT_PATH

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    39d307b View commit details
    Browse the repository at this point in the history
  7. incusd/instance/qemu: Only expose config/agent drives over 9p

    The current setup already had every single virtual machine run virtiofsd
    for the very lightweight and read-only config drive.
    
    With the addition of the agent drive, the initial plan was to use a
    single shared virtiofsd instance for multiple virtual machines.
    
    But that doesn't appear to actually be supported. The alternative would
    therefore have been having another virtiofsd instance running for every
    VM, just to get a single 10MB large file downloaded once per VM boot.
    
    This doesn't make a lot of sense, so let's make things easier and
    restrict the config and agent drives to just be simple read-only 9p.
    
    Additional shared disks from the host system will keep being available
    over both 9p and virtiofs as those are the ones where the higher
    virtiofs throughput and lower latency make the most sense.
    
    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    967505f View commit details
    Browse the repository at this point in the history
  8. incusd/instance/qemu/agent-loader: Remove virtiofs

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    994a72e View commit details
    Browse the repository at this point in the history