浏览文件
main.go
16 行 · 345 B历史下载| 1 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package main |
| 5 | |
| 6 | import ( |
| 7 | "context" |
| 8 | |
| 9 | "github.com/lima-vm/lima/v2/pkg/driver/external/server" |
| 10 | "github.com/lima-vm/lima/v2/pkg/driver/qemu" |
| 11 | ) |
| 12 | |
| 13 | // To be used as an external driver for Lima. |
| 14 | func main() { |
| 15 | server.Serve(context.Background(), qemu.New()) |
| 16 | } |

