bhyve Bhyve on Thinkpad X250

alexmichajlow

New Member


Messages: 1

I have a Lenovo X250 laptop. Alpine Linux works well on this laptop. When I try to start Windows - I get an error:
Code:
vm exit[0]
        reason          VMX
        rip             0x0000000001dd0963
        inst_length     2
        status          0
        exit_reason     2 (Triple fault)
        qualification   0x0000000000000000
        inst_type               0
        inst_error              0
This message appears after "Press any key to boot from CD" in VM.

I run it like this:
Code:
bhyve -c 2 -m 4G -H -w \
  -s 0,hostbridge \
  -s 3,ahci-cd,/vm/.iso/windows10.iso \
  -s 4,ahci-hd,/vm/windows10/disk0.img \
  -s 29,fbuf,tcp=0.0.0.0:5900,wait \
  -s 30,xhci,tablet \
  -s 31,lpc \
  -l com1,stdio \
  -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
  windows10

My bhyve-packages:
Code:
$ pkg info | grep bhyve
bhyve-firmware-1.0_1           Collection of Firmware for bhyve
bhyve-rc-3                     FreeBSD RC script for starting bhyve guests in tmux
grub2-bhyve-0.40_8             Grub-emu loader for bhyve
uefi-edk2-bhyve-g20210214,2    UEFI EDK2 firmware for bhyve
uefi-edk2-bhyve-csm-0.2_3,1    UEFI EDK2 firmware for bhyve with CSM (16-bit BIOS)
vm-bhyve-1.4.2                 Management system for bhyve virtual machines

I have net.link.tap.up_on_open=1
My dmesg is in attache.
 

Attachments

  • dmesg.txt
    13.5 KB · Views: 10
Last edited by a moderator:
Top