aboutsummaryrefslogtreecommitdiff
path: root/net/tap-bsd.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-08-20 18:06:14 +0200
committerMichael S. Tsirkin <mst@redhat.com>2019-09-04 06:32:51 -0400
commit5f7655f6ef1583c4b15c5a6e1aa2348538f6104b (patch)
treefccd3260282d36c120ff17d52d05c873c0775500 /net/tap-bsd.c
parent6c4e9d487fea67ceaebf5942be5b76ed675d0e9a (diff)
downloadqemu-5f7655f6ef1583c4b15c5a6e1aa2348538f6104b.zip
qemu-5f7655f6ef1583c4b15c5a6e1aa2348538f6104b.tar.gz
qemu-5f7655f6ef1583c4b15c5a6e1aa2348538f6104b.tar.bz2
virtio-rng: Keep the default backend out of VirtIORNGConf
The default backend is only used within virtio_rng_device_realize(). Replace VirtIORNGConf member default_backend by a local variable. Adjust its type to reduce conversions. While there, pass &error_abort instead of NULL when failure would be a programming error. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20190820160615.14616-3-lvivier@redhat.com>
Diffstat (limited to 'net/tap-bsd.c')
0 files changed, 0 insertions, 0 deletions