NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD Linux emulation vis-à-vis FreeBSD's



If u want to emulate linux using nvmm,this what happens :


pkg install qemu

pkg info qemu

qemu-6.0.0_3
Name           : qemu
Version        : 6.0.0_3
Installed on   : Sat Jan  1 15:19:36 2022 CET
Origin         : emulators/qemu60
Architecture   : dragonfly:6.2:x86:64
Prefix         : /usr/local
Categories     : emulators
Licenses       : BSD2CLAUSE, MIT, GPLv2, LGPL21
Maintainer     : aly%aaronly.me@localhost
WWW            : https://www.qemu.org/
Comment        : Generic and open source machine emulator and virtualizer
Options        :
        CAPSTONE       : off
        CURL           : on                                       VGA Blank mode
        DEBUG          : off
        DOCS           : on
        GNUTLS         : on
        GTK3           : off
        ISCSI          : off
        JPEG           : on
        NFS            : on
        NLS            : on
        OPENGL         : on
        PNG            : on
        SAMBA          : off
        SASL           : on
        SPICE          : on
        USBREDIR       : on
        VDE            : on
        X11            : on


this is the vm that I tried to run :


qemu-system-x86_64 \

-machine type=q35,accel=nvmm \

-smp cpus=4 -m 8G \

-drive if=pflash,format=raw,readonly=on,file=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_CODE-x86_64.fd \

-drive if=pflash,format=raw,file=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_VARS-x86_64.fd \

-drive file=/mnt/dragonfly-ufs/bhyve/impish-cuda-11-4-nvidia-470.img,if=none,id=disk0 \

-device virtio-blk-pci,drive=disk0 \

-netdev user,id=net0,hostfwd=tcp:127.0.0.1:6022-:22 \

-device virtio-net-pci,netdev=net0 \

-object rng-random,id=rng0,filename=/dev/urandom \

-device virtio-rng-pci,rng=rng0 \

-display curses \

-vga qxl \

-spice addr=127.0.0.1,port=5900,ipv4=on,disable-ticketing=on,seamless-migration=on


and this is the error that I get :


qemu-system-x86_64: NVMM: Mem Assist Failed [gpa=0xfffffff0]
qemu-system-x86_64: NVMM: Failed to execute a VCPU.
Abort trap (core dumped)
VGA BLANK MODE

Il giorno lun 28 feb 2022 alle ore 14:13 Greg Troxel <gdt%lexort.com@localhost> ha scritto:

Mayuresh <mayuresh%acm.org@localhost> writes:

> Can we not have an equivalent of debootstrap and leave the Linux
> installations to the user, than, for example, creating *-bin packages in
> pkgsrc?

Feel free to add a package that provides debootstrap in pkgsrc-wip!


--
Mario.


Home | Main Index | Thread Index | Old Index