Detect QEMU VM
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 9.1k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Details
The installer currently does not detect virtual machines running on QEMU.
This information is not available in the model property but it is in the manufacturer:
if (-not ($isVirtualModel)) {
$computerSystemManufacturer = (Get-CimInstance win32_computersystem).manufacturer
if ($computerSystemManufacturer -ne "QEMU") {
return "You are not on a VM or have hardened your machine to not appear as such"
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the installer logic that checks the virtual-machine model and read how Get-CimInstance win32_computersystem is used. Extend the detection to account for a manufacturer of "QEMU" when the model check does not identify a VM, then verify that QEMU systems are accepted without changing the existing hardened-machine message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100