There are two parts to networking within QEMU:
- The virtual network device that is provided to the guest (e.g. a PCI network card).
- The network backend that interacts with the emulated NIC (e.g. puts packets onto the host's network).
lxc init ubuntu:24.04 -c security.nesting=true android-emulator
lxc config device add android-emulator port5555 proxy listen=tcp:10.0.0.1:5555 connect=tcp:127.0.0.1:5555
lxc config device add android-emulator kvm unix-char source=/dev/kvm
lxc config device add android-emulator vhost-net unix-char source=/dev/vhost-net
lxc config device add android-emulator vhost-vsock unix-char source=/dev/vhost-vsock
lxc start android-emulator
$ conda create -n goenv go
$ conda activate goenv
(goenv) $ conda install -c conda-forge gxx_linux-64 # Required for the vscode go extension
Note the current goroot path
(goenv) $ go env GOROOT
Prevent creation of vmmem files in VMware (Windows)
VMWare creates .vmem
files to back the guest RAM. On the host this causes disk thrashing especially during powering on and off the guest.
Add the following lines to the .vmx
file to prevent creation of .vmem
files. This will reduce disk IO and VM performance will improve especially on non-SSD disks.
Some Android Phones support WiFi calling but there's no option in the UI to turn on this feature. For such phones, you can use one of following techniques
$ am start -a android.intent.action.MAIN -n com.android.settings/.Settings\$WifiCallingSettingsActivity
This writeup describes the process to fix Windows not booting on a VirtIO disk. The VPS only boots when changing the "Disk Driver" to IDE on SolusVM. When the disk device is VirtIO windows fails to boot with an INACCESSIBLE_BOOT_DEVICE
error.
The issue was likely caused due to installation of OSFMount software previously.
Before starting, a full disk image of the VPS may be taken for safety. Enable rescue mode in SolusVM. It will then display the SSH connection credentials. Connect to the server using the same credentials from another server which has sufficient disk space to store the full disk image. Run lsblk
to list the disk drives attached to the system. To inspect the disk manually, run mount
in readonly mode as shown.
# mount -o ro /dev/vda1 /mnt
Download debian iso
http://cdimage.debian.org/cdimage/release/current/mipsel/iso-cd/debian-9.1.0-mipsel-netinst.iso
Download initrd & vmlinux
PlatformIO based tools can work both with Arduino as well as Espressif libraries.