Skip to content

vhost on macOS? #857

@bradjc

Description

@bradjc

I'm interested in using vhost peripherals (specifically GPIO) with a QEMU-based RISC-V board in a way that is cross-platform. My understanding based on trying to run QEMU with vhost-user-i2c-pci is support for vhost in QEMU (and this repo) is Linux-only. First, is that correct? Second, if so, is there any effort/discussion/plan to support vhost on macOS?

For more on my intended use case, we are developing Tock, and OS for embedded devices. While we prefer to run on physical hardware, for demos and tutorials it is helpful to be able to run on a QEMU board. We have a RISC-V QEMU based board (https://github.com/tock/tock/tree/master/boards/qemu_rv32_virt), but to make tutorials interactive we would like to add virtual LED support (via GPIOs) and potentially a virtual sensor over I2C. However, we need the tutorial to be cross-platform because different users have different machines.

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions