Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kbruner
Created November 8, 2020 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbruner/10c0e4045553340238a7eb9797975ff6 to your computer and use it in GitHub Desktop.
Save kbruner/10c0e4045553340238a7eb9797975ff6 to your computer and use it in GitHub Desktop.
Automatically register iso as: cbsd-iso-archlinux-2020.08.01-x86_64.iso
Path already exist for: iso-ArchLinux-x86-2020
VRDP is enabled. VNC bind/port: 192.168.0.10:5901
For attach VM console, use: vncviewer 192.168.0.10:5901
Resolution: 1024x768.
em0
bhyve renice: 1
Waiting for PID..........
PID: 0
Sun Nov 8 14:16:06 PST 2020
Boot from CD
cmd: env LIB9P_LOGGING=/usr/cbsd/jails-system/arch1/cbsd_lib9p.log /usr/bin/nice -n 1 /usr/sbin/bhyve 6 bhyve_flags -c 1 -m 1073741824 -H -A -U e2184453-2207-11eb-bd78-b8aeede991dd -s 0,hostbridge -s 4,ahci-hd,/usr/cbsd/vm/arch1/dsk1.vhd,sectorsize=512/4096 -s 3,ahci-cd,/usr/cbsd/src/iso/cbsd-iso-archlinux-2020.08.01-x86_64.iso,ro -s 5,virtio-net,tap3,mtu=1500,mac=00:a0:98:d5:12:cc -s 6,virtio-rnd -s 7,fbuf,tcp=192.168.0.10:5901,w=1024,h=768,wait -s 30,xhci,tablet -s 31,lpc -l com1,stdio -l bootrom,/usr/local/cbsd/upgrade/patch/efi.fd arch1
-----
Usage: bhyve [-abehuwxACDHPSWY]
[-c [[cpus=]numcpus][,sockets=n][,cores=n][,threads=n]]
[-g <gdb port>] [-l <lpc>]
[-m mem] [-p vcpu:hostcpu] [-s <pci>] [-U uuid] <vm>
-a: local apic is in xAPIC mode (deprecated)
-A: create ACPI tables
-c: number of cpus and/or topology specification
-C: include guest memory in core file
-D: destroy on power-off
-e: exit on unhandled I/O access
-g: gdb port
-h: help
-H: vmexit from the guest on hlt
-l: LPC device configuration
-m: memory size in MB
-p: pin 'vcpu' to 'hostcpu'
-P: vmexit from the guest on pause
-s: <slot,driver,configinfo> PCI slot config
-S: guest memory cannot be swapped
-u: RTC keeps UTC time
-U: uuid
-w: ignore unimplemented MSRs
-W: force virtio to use single-vector MSI
-x: local apic is in x2APIC mode
-Y: disable MPtable generation
Please use for debug: /usr/local/cbsd/share/bhyverun.sh -c /usr/cbsd/jails-system/arch1/bhyve.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment