New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

v86-system

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v86-system

Command-line v86 runner with QEMU-compatible flags

latest
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

v86-system

v86-system v0.4.0
Command-line v86 runner with QEMU-compatible flags

Usage:
  v86-system [options]

Memory options:
  -m SIZE               Set memory size (default: 512M)

Storage options:
  -hda FILE             Primary hard disk image
  -hdb FILE             Secondary hard disk image
  -fda FILE             Floppy disk A image
  -fdb FILE             Floppy disk B image
  -cdrom FILE           CD-ROM image

Boot options:
  -boot ORDER           Boot order (a,b,c,d,n) (default: c)
  -kernel FILE          Linux kernel image (bzImage)
  -initrd FILE          Initial ramdisk image
  -append STRING        Kernel command line

System options:
  -bios FILE            BIOS image file (default: seabios)
  -acpi                 Enable ACPI (default: off)
  -fastboot             Enable fast boot

Network options:
  -netdev CONFIG        Network device configuration

VirtFS options:
  -virtfs CONFIG        VirtFS configuration

Standard options:
  -h, --help            Show help
  -v, --version         Show version

Examples:
  v86-system -hda disk.img
  v86-system -m 1G -hda disk.img -cdrom boot.iso
  v86-system -kernel vmlinuz -initrd initrd.img -append "console=ttyS0"
  v86-system -hda disk.img -netdev user,type=virtio,relay_url=ws://localhost:8777

Install

npm i -g v86-system

QEMU Flag Mappings

QEMU FlagV86 OptionDescription
-m SIZEmemory_sizeMemory size (supports K, M, G, T suffixes)
-hda FILEhdaPrimary hard disk
-hdb FILEhdbSecondary hard disk
-cdrom FILEcdromCD-ROM image
-fda FILEfdaFloppy disk A
-fdb FILEfdbFloppy disk B
-kernel FILEbzimageLinux kernel image
-initrd FILEinitrdInitial ramdisk
-append STRINGcmdlineKernel command line
-bios FILEbiosBIOS image
-acpiacpiEnable ACPI
-netdev user,CONFIGnet_deviceEnable user-mode networking
-virtfs proxy,URLfilesystem.proxy_urlVirtFS 9P WebSocket proxy

Examples

Basic VM with memory and disk

v86-system -m 1G -hda disk.img

Boot from CD-ROM

v86-system -m 512M -hda disk.img -cdrom install.iso -boot d

Linux kernel boot

v86-system -kernel vmlinuz -initrd initrd.img -append "console=ttyS0 root=/dev/sda1"

Network options

v86-system -hda disk.img -netdev user,type=virtio,relay_url=ws://localhost:8777

Boot from 9P (over WebSocket)

v86-system -kernel vmlinuz -virtfs proxy,ws://localhost:7654 -append "console=ttyS0 rw root=host9p rootfstype=9p rootflags=trans=virtio,version=9p2000.L,aname=rootfs"

This assumes a 9P2000 WebSocket server is running with a root filesystem under rootfs.

License

MIT

Keywords

cli

FAQs

Package last updated on 25 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts