shithub: vmxsmp

ref: 2c9eeaf3cfd204ee49d676e8716445bb563249cd
dir: /runvm/

View raw version
#!/bin/rc
 
#vmx -c /dev/text -n /net/ether0 -d $home/obsd.img -M 1024M $home/bsd.mp 'tty=com1'

#vmx -D -c /dev/text -x 2 -d $home/obsd.img -M 1024M $home/bsd.mp >[2] out2
#$home/killvmx.rc
vmx -x 1 -D -w text -d $home/obsd.img -M 1024M $home/bsd.mp  
$home/killvmx.rc
 
#vmx -D -c /dev/text -M 512M -d $home/alpine.iso -m $home/boot/initramfs-virt  $home/boot/vmlinuz-virt 'console=ttyS0,115200'
#vmx -n /net/ether0 -c /dev/text -M 512M -d $home/alpine.iso -m $home/boot/initramfs-virt  $home/boot/vmlinuz-virt 'console=ttyS0,115200'
#vmx -D -n /net/ether0 -c /dev/text -M 512M -d $home/alpine.iso -d $home/test.img -m $home/boot/initramfs-virt  $home/vmlinuz-lts 'console=ttyS0,115200'

### Alpine install
# vmx -D -n /net/ether0 -w text -M 1024M -d $home/alpine.iso -d $home/linux.img -m $home/initramfs-lts $home/vmlinuz-lts 'console=tty0,115200'

### Alpine boot
#vmx -D -c /dev/text -x 2 -M 1024M -d $home/linux.img -m $home/initramfs-lts $home/vmlinuz-lts 'console=ttyS0,115200 root=/dev/vda3 rootfstype=ext4 psmouse.proto=bare clocksource=kvm-clock'
#$home/killvmx.rc

/bin/vmx -w text -x 2 -n /net/ether0 -M 1024M -d $home/linux.img -m $home/initramfs-lts $home/vmlinuz-lts 'console=tty0,115200 root=/dev/vda3 rootfstype=ext4 psmouse.proto=bare'
$home/killvmx.rc

#vmx -w 1024x768 -M 1G /amd64/9pc64
#vmx -w 1024x768 -M 1G -d $home/obsd.img $home/bsd.mp 

#vmx -D -n /net/ether0 -w 1024x768 -M 1024M -d /sys/src/cmd/vmx/install.iso /amd64/9pc64  '*apicdebug=1 mouseport=ps2' >[2] out_vga
#$home/killvmx.rc

#vmx -w text -n /net/ether0 -d /sys/src/cmd/vmx/install.iso -M 1024M /amd64/9pc64 '*apicdebug=1 mouseport=ps2' >[2] out_cons
#$home/killvmx.rc
#vmx -C /dev/text /amd64/9pc64 'console=1 b115200'