]> git.proxmox.com Git - qemu.git/commit - hw/virtio/virtio-rng.c
virtio-rng: do not use g_assert_cmpint
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Nov 2012 08:16:24 +0000 (09:16 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Nov 2012 14:51:07 +0000 (08:51 -0600)
commit03a36f17d7788e4a1e07b3341b18028aa0206845
treefc6d51a693cd027bb845940079b93bc675ce9504
parentd60478c59a348886d82492861c5cd4fba572ebd5
virtio-rng: do not use g_assert_cmpint

g_assert_cmpint is not available on glib 2.12, which is the minimum
version required to build QEMU (we only require 2.16 to run tests,
since that is the first version including GTester).  Do not use it
in hardware models, use a normal assertion instead.

This fixes the buildbot failure for default_x86_64_rhel5.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-rng.c