Skip to content

Commit

Permalink
Pass /dev/kvm for android emulator, qemu-kvm, etc... (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
whywaita authored Jan 27, 2025
1 parent 5edc533 commit a9381f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/pkg/api/server_add_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ func (s *ShoesLXDMultiServer) getInstanceDevices() map[string]map[string]string
"source": "/dev/kmsg",
"type": "unix-char",
},
"kvm": {
"path": "/dev/kvm",
"source": "/dev/kvm",
"type": "unix-char",
},
}

return instanceDevices
Expand Down

0 comments on commit a9381f6

Please sign in to comment.