Difference between revisions of "Vnx-install-modify-qemuconf"
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
If you have just installed libvirt, the parameters to be modified should be commented in the configuration file. So, you just can copy/paste this commands to modify it: | If you have just installed libvirt, the parameters to be modified should be commented in the configuration file. So, you just can copy/paste this commands to modify it: | ||
− | + | cat << EOF >> /etc/libvirt/qemu.conf | |
− | + | security_driver = "none" | |
− | + | user = "root" | |
− | + | group = "root" | |
− | + | cgroup_device_acl = [ | |
− | + | "/dev/null", "/dev/full", "/dev/zero", | |
− | + | "/dev/random", "/dev/urandom", | |
− | + | "/dev/ptmx", "/dev/kvm", "/dev/kqemu", | |
− | + | "/dev/rtc", "/dev/hpet", "/dev/vfio/vfio", "/dev/net/tun" | |
+ | ] | ||
+ | EOF |
Latest revision as of 11:06, 31 August 2018
If you have just installed libvirt, the parameters to be modified should be commented in the configuration file. So, you just can copy/paste this commands to modify it:
cat << EOF >> /etc/libvirt/qemu.conf security_driver = "none" user = "root" group = "root" cgroup_device_acl = [ "/dev/null", "/dev/full", "/dev/zero", "/dev/random", "/dev/urandom", "/dev/ptmx", "/dev/kvm", "/dev/kqemu", "/dev/rtc", "/dev/hpet", "/dev/vfio/vfio", "/dev/net/tun" ] EOF