Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 757 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 757 Bytes

QEMU-WRAPPER

KVM QEMU Wrapper for enabling TX and RX Queue size on VirtIO devices

Install

CentOS 7.x and RHEL 7.x distributions

Make sure of not overwriting the original qemu-kvm binary file

# Move the original qemu-kvm binary to a different location
mv /usr/libexec/qemu-kvm /usr/libexec/qemu-system-x86_64

# Copy the wrapper at the qemu-kvm original location
cp ./qemu-kvm /usr/libexec/qemu-kvm

# Make it executable
chmod +x /usr/libexec/qemu-kvm

# Copy original SELinux context to the wrapper
semanage fcontext -a -e /usr/libexec/qemu-system-x86_64 /usr/libexec/qemu-kvm

# Apply SELinux context to both wrapper and original qemu-kvm binary
restorecon -vvRF  /usr/libexec/qemu-system-x86_64
restorecon -R -v /usr/libexec/qemu-kvm