Troubleshooting
Problem 1: Insufficient Permission Upon VM Startup
Symptom
The VM fails to be started, and the following information is displayed:

Possible Cause
- The SELinux of the system prevents the VM from creating the /var/run/openvswitch/tap1 file.
- The QEMU process does not have the permission to access the file.
Procedure
- In the QEMU configuration file /etc/libvirt/qemu.conf, ensure that the QEMU process user has the read and execute permissions on the /var/run/openvswitch directory. The following shows the default line numbers for configuration:

Restart the libvirtd service.
1systemctl restart libvirtd
- Ensure that SELinux does not block processes.
- Disable SELinux.
1setenforce 0 - Start the VM.
1virsh start VM1
The VM is started successfully, and the fault is rectified.

- Disable SELinux.
Parent topic: XPF User Guide