prep for virtualization on centos7:
yum install qemu-kvm qemu-img libvirt libvirt-client virt-manager virt-install virt-viewer
vi /etc/libvirt/qemu.conf # search "user" and "group", change both to root, maybe only group needed?
NO, add the user to the libvirt or the libvirtd group
check which group exists -- different distros may have different groupnames
# if error happens upon virt-manager starting, do these:
rmmod kvm_intel # or amd
rmmod kvm
modprobe kvm
modprobe kvm_intel
systemctl enable libvirtd
systemctl start libvirtd
wget http://mirror.oss.ou.edu/centos/7/isos/z86_64/CentOS-7-x86_64-Minimal-1804.iso
virt-manager # brings up the GUI
# customize before install
# copy host cpu config
spin up a VM from the command line:
sudo virt-install \
--name \
--memory <4096> \ # in mb
--disk size=<32> \ # in gb
--location \
--vcpus <2> \
--os-variant \ # for centos 7.x use "centos7.0"
--network bridge=br0 \ # does the bridge already have to exist? dunno
--extra-args "console=ttyS0" \ # lets you access the virtual terminal so you can do stuff in the VM
--graphics none