virtio GL: always announce gl support to guest
authorIgor Mitsyanko <i.mitsyanko@samsung.com>
Wed, 27 Jun 2012 13:29:04 +0000 (17:29 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 6 Jul 2012 07:58:31 +0000 (11:58 +0400)
commit34c26b7c110ec0e01a6d8abb76bf56140f886891
treec6495f8b21951483dcebac4101502a4b2d262fdf
parent2317d8c3df927b11ad93695f7698481baceb654f
virtio GL: always announce gl support to guest

x86 emulator always needs to know if virtio GL support is enabled in QEMU. Currently
we only announce gl support to guest if QEMU is configurd with --enable-gl. When
configured with --disable-gl, QEMU doesn't announce GL support to guest while guest
assumes such a support by default. This results in incorrect operation of x86 emulator.
Fix this by always announcing virtio GL support to guest, it doesn't make any difference
for ARM emulator.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
vl.c