Skip to content
This repository was archived by the owner on Jan 28, 2023. It is now read-only.
This repository was archived by the owner on Jan 28, 2023. It is now read-only.

Nested virtualization not working: Processor does not support VMX operation #479

@alexanderwwagner

Description

@alexanderwwagner

Describe the Bug
I try to use qemu with haxm on windows host to run FreeBSD as guest.
For my project I have to use bhyve as hypervisor to run some virtualmachines within FreeBSD.
If I try to load the vmm kernel module I get the following error.
If I try the same procedure with VmWare it works without any problems.
If I try it on a linux host with kvm instead of haxm it works without any problems.

# kldload vmm
vmx_modinit: processor does not support VMX operation
module_register_init: MOD_LOAD (vmm, 0xffffffff82c04200, 0) error 6
driver bug: Unable to set devclass (class: fdc devname: (unknown))

Are there at the moment some problems with nested virtualization?

Summary:

Host Environment

  • HAXM version: haxm-windows_v7_7_1
  • Host OS version: Windows 10 Pro 22H2 19045.2251
  • Host OS architecture: x86_64
  • Host CPU model: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz 2.30 GHz
  • Host RAM size: 16GB

Guest Environment

  • Guest OS version: FreeBSD13
  • Guest OS architecture: x86_64

To Reproduce

qemu-system-x86_64.exe -m 1G -smp 2 -boot order=dc -hda .\freebsd.img -nic tap,ifname=TAP -accel hax

// Load vmm within the guest
# kldload vmm
vmx_modinit: processor does not support VMX operation
module_register_init: MOD_LOAD (vmm, 0xffffffff82c04200, 0) error 6
driver bug: Unable to set devclass (class: fdc devname: (unknown))

Expected Behavior

Working bhyve within FreeBSD Guest.

Reproducibility

100%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions