Skip to content

automate fs share between host+guest #81

Open

Description

@nickdesaulniers

I know it's possible to create a 9p fs shared between guest and host. It would be awesome if we could automate the creation+reuse of such a fs when used with the -i flag.

@nathanchance also mentioned https://virtio-fs.gitlab.io/. If that works, then let's use that; the ends are more important to me than the means (so I don't care whether we ultimately use 9p or virtiofs). I'd like to be able to copy coverage and profile data out of a guest back to a host.

Activity

  1. changed the title [-]9p fs to share between host+guest[/-] [+]automate fs share between host+guest[/+] on Dec 6, 2022
  2. nathanchance commented on Dec 7, 2022

    @nathanchance
    Member

    This is my implementation in my personal QEMU wrapper script:

    nathanchance/env@71b7809

    Basically, we start virtiofsd with the information about the shared folder then QEMU connects to it. virtiofsd should be readily available when QEMU is installed but it would be good to check, it is typically at /usr/libexec/virtiofsd.

    If that looks acceptable, I can wire up similar support in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions