m4r1k / qemu-wrapper

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Apache License 2.0


Languages

Language:Shell 100.0%