diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-09-15 16:59:18 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-09-15 18:42:24 +0900 |
| commit | d148a25b48c5bc102aac11be1f7f060586722bcf (patch) | |
| tree | 1f7a41924a6b84741d7c05b6b850938c05561c84 /pkg/internal | |
| parent | ae39b54d79de36a5ba22ca24e3ba150f230c327b (diff) | |
pkg: expose kvm device
This greatly improves vm test performance.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'pkg/internal')
| -rw-r--r-- | pkg/internal/testtool/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/internal/testtool/main.go b/pkg/internal/testtool/main.go index edffab7e..80f87435 100644 --- a/pkg/internal/testtool/main.go +++ b/pkg/internal/testtool/main.go @@ -259,6 +259,10 @@ func main() { next() } + if m.Next != nil && m.Next.Root == "/kvm" { + next() + } + if m.Next != nil { log.Println("unexpected extra mount entries") for m.Next != nil { |
