#205·xhyve

Windows 10 fails to boot with rdmsr to register 0x3a on vcpu 0 error

Author: ebarannikovCreated Nov 18, 2020Updated Jul 7, 2021

Trying to launch Windows 10 VM:

#!/bin/sh

IMG=/Users/euge/Vm/Windows.dmg BOOTVOLUME=/Users/euge/Downloads/Win10_20H2_Hungarian_x64.iso FIRMWARE="/Users/euge/Vm/BHYVE_UEFI_20151002.fd"

PATH="build/Release:build:$PATH"

xhyve
-w
-m 4G
-c 1
-s 0:0,hostbridge
-s 3,ahci-cd,$BOOTVOLUME
-s 4,ahci-hd,$IMG
-s 5,e1000
-s 29,fbuf,tcp=127.0.0.1:29000,w=1024,h=768,wait
-s 31,lpc -l com1,stdio
-l bootrom,$FIRMWARE

I can see "Press any button to start from disk..." invitation and then it turns to: rdmsr to register 0x3a on vcpu 0 Unhandled ps2 keyboard command 0x02

and keeps hanging like this eternally.

Please, help.

UPD: after a while it finally gave up with "Unsupported cmd:b0"