Skip to content

Instantly share code, notes, and snippets.

@gersilex
gersilex / cmdline.txt
Created April 13, 2017 23:18
Raspberry Pi 2 cmdline for NFS root filesystem
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.21.1:/nfs/rootfs/vera ip=dhcp elevator=deadline
@archerslaw
archerslaw / Simple virsh commands.
Last active August 17, 2022 13:38
Simple virsh commands.
# /bin/systemctl restart libvirtd.service
# /bin/systemctl enable libvirtd.service
Note:
How to turn on the debug logs for libvirtd.
1)open /etc/libvirt/libvirtd.conf in your favourite editor.
2)find & replace, or set these variables:
log_level = 1
log_filters="3:remote 4:event 3:json 3:rpc" | log_filters="1:qemu_monitor_json"
log_outputs="1:file:/var/log/libvirt/libvirtd.log"