aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2-gl.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-05-11 09:40:35 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-12 12:29:44 +0200
commitd93e839ccd26ac95650fe31e45c91394936ddc27 (patch)
tree119be71067a1fd78a30658fefe7c15e856373443 /ui/sdl2-gl.c
parentf0d43b1ecef04105e0d0f55658182510b4e0f58e (diff)
downloadqemu-d93e839ccd26ac95650fe31e45c91394936ddc27.zip
qemu-d93e839ccd26ac95650fe31e45c91394936ddc27.tar.gz
qemu-d93e839ccd26ac95650fe31e45c91394936ddc27.tar.bz2
vhost-backend: do not depend on CONFIG_VHOST_VSOCK
The vsock callbacks .vhost_vsock_set_guest_cid and .vhost_vsock_set_running are the only ones to be conditional on #ifdef CONFIG_VHOST_VSOCK. This is different from any other device-dependent callbacks like .vhost_scsi_set_endpoint, and it also broke when CONFIG_VHOST_VSOCK was changed to a per-target symbol. It would be possible to also use the CONFIG_DEVICES include, but really there is no reason for most virtio files to be per-target so just remove the #ifdef to fix the issue. Reported-by: Dov Murik <dovmurik@linux.ibm.com> Fixes: 9972ae314f ("build: move vhost-vsock configuration to Kconfig") Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/sdl2-gl.c')
0 files changed, 0 insertions, 0 deletions