发布

  • VirtualMachineManager: Rework protocol (#341)

    frostbyte_neo 发布于 2025-10-21 08:23:00 +00:00 | 365 次提交 在此版本后已推送到 main

    Today this protocols create method is just odd. Our only implementation
    of it immediately casts to LinuxContainer, failing if it cannot do so. I
    think what might make more sense is to pass in a configuration itself
    with core parameters that we expect every vmm to be able to support, and
    then in a specific implementation they can continue to cast this type to
    a specific one to possibly extract some extra configuration values
    (rosetta for VZ for example).

    This rework will also make it simpler to support a Pod type, as the vm
    setup is identical and simple.

    下载附件