• Loko Scheme and nested virtualization

    From ceving@ceving@gmail.com to comp.lang.scheme on Thu Feb 1 03:24:36 2024
    From Newsgroup: comp.lang.scheme

    Is it possible to run Loko in Qemu running in VirtualBox?

    $ cat /sys/module/kvm_intel/parameters/nested
    Y

    I tried it, but it throws an error:

    $ qemu-system-x86_64 -kernel ps2demo -serial stdio -m 1G -enable-kvm qemu-system-x86_64: multiboot knows VBE. we don't
    KVM: entry failed, hardware error 0x80000021

    If you're running a guest on an Intel machine without unrestricted mode support, the failure can be most likely due to the guest entering an invalid state for Intel VT. For example, the guest maybe running in big real mode
    which is not supported on less recent Intel processors.

    EAX=00000010 EBX=00009500 ECX=002000d1 EDX=000f0511
    ESI=00000000 EDI=00002000 EBP=00000000 ESP=00006f08
    EIP=002000fd EFL=00010046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
    ES =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
    CS =0018 00000000 ffffffff 00c09900 DPL=0 CS32 [--A]
    SS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
    DS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
    FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
    GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA]
    LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
    TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
    GDT= 002f00d8 0000001f
    IDT= 00000000 000003ff
    CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
    DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
    DR6=00000000ffff0ff0 DR7=0000000000000400
    EFER=0000000000000000
    Code=00 20 00 18 00 b8 10 00 00 00 8e d8 8e c0 8e e0 8e e8 8e d0 <0f> 01 1d 00 70 41 00 b8 20 02 00 00 0f 22 e0 b9 77 02 00 00 b8 06 04 07 00 ba 06 01 05 00
    --- Synchronet 3.22a-Linux NewsLink 1.2