Lines Matching +full:add +full:- +full:user +full:- +full:device
3 A quick guide for using virtiofs as a cloud-hypervisor guest's rootfs (i.e.
4 with no root block device). This document is a quick getting started guide.
13 * Part of the qemu-system-common package on Ubuntu
14 * Part of the qemu-common package on Fedora
15 2. cloud-hypervisor - the newer the better, but I tested with 0.12
16 3. a rootfs - This howto uses an alpine rootfs available here:
17 …* https://dl-cdn.alpinelinux.org/alpine/v3.13/releases/x86_64/alpine-minirootfs-3.13.2-x86_64.tar.…
26 sudo tar -xf /path/to/alpine-minirootfs-3.13.1-x86_64.tar.gz
32 sudo chroot $PWD apk add openrc busybox-initscripts
33 # we are using the paravirt console in cloud-hypervisor, so enable it in init
35 sudo sed -i '/vt100/a \n# paravirt console\nhvc0::respawn:/sbin/getty -L hvc0 115200 vt100' etc/ini…
36 # set no password for root user... you obviously don't want to do this for
38 sudo sed -i 's/root:!::0:::::/root:::0:::::/' etc/shadow
41 sudo ln -sf /etc/init.d/$i etc/runlevels/default/$i
44 sudo ln -sf /etc/init.d/$i etc/runlevels/boot/$i
47 for i in killprocs mount-ro savecache
48 sudo ln -sf /etc/init.d/$i etc/runlevels/shutdown/$i
52 sudo ln -sf /etc/init.d/$i etc/runlevels/sysinit/$i
68 sudo virtiofsd --socket-path=$PWD/virtiofs-rootfs.sock --shared-dir=$PWD/rootfs --cache=never &
69 sudo cloud-hypervisor \
70 --cpus boot=1,max=1 \
71 --kernel vmlinux \
72 --fs tag=/dev/root,socket=$PWD/virtiofs-rootfs.sock \
73 --memory size=2G,shared=on \
74 --cmdline "console=hvc0 rootfstype=virtiofs root=/dev/root ro debug" \
75 --api-socket $PWD/ch.sock \
76 --rng \
77 --net ...
90 the cloud-hypervisor slack. Also if this works for you, I'd like to know as