virtio-gpu working tips

TurnToJPG -->


Install Fedora 23, select fedora server and install the system, then using the lastest development kernel via:

$ curl -s | sudo tee /etc/yum.repos.d/kernel-vanilla.repo
$ sudo dnf --enablerepo=kernel-vanilla-mainline update

Checking the running kernel via:

$ uname -r

Running the system which have kernel version newer than 4.4 is the basis for enable the virt-io.

Install packages

$ sudo dnf install -y gcc zlib-devel glib2-devel pixman-devel libfdt-devel \ 
lzo-devel snappy-devel bzip2-devel libseccomp-devel gtk2-devel gtk3-devel \ 
gnutls-devel vte-devel SDL-devel librdmacm-devel libuuid-devel \ 
 libcap-ng-devel libcurl-devel ceph-devel libssh2-devel libaio-devel \ 
glusterfs-devel glusterfs-api-devel numactl-devel gperftools-devel \ 
 texinfo libiscsi-devel spice-server-devel libusb-devel usbredir-devel \ 
libnfs-devel libcap-devel libattr-devel  


coprs have the repository for this:

$ cd /etc/yum.repos.d/
$ sudo wget

Install the virglrenderer via:

$ sudo dnf install virglrenderer


Git clone the source code:

$ git clone