diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-28 09:25:00 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 14:31:56 +0200 |
commit | 7a523d96a0868f1a1986a3c79e05b8e3631d8d11 (patch) | |
tree | 22d072b0faf1da9f70aac7df6e6de9ca95020053 /hw/s390x/meson.build | |
parent | 7d2eb76d0407fc391b78df16d17f1e616ec3e228 (diff) | |
download | qemu-7a523d96a0868f1a1986a3c79e05b8e3631d8d11.zip qemu-7a523d96a0868f1a1986a3c79e05b8e3631d8d11.tar.gz qemu-7a523d96a0868f1a1986a3c79e05b8e3631d8d11.tar.bz2 |
virtio-ccw: move vhost_ccw_scsi to a separate file
Remove unecessary use of #ifdef CONFIG_VHOST_SCSI, instead just use a
separate file and a separate rule in meson.build.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/s390x/meson.build')
-rw-r--r-- | hw/s390x/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/meson.build b/hw/s390x/meson.build index 2848425..feefe07 100644 --- a/hw/s390x/meson.build +++ b/hw/s390x/meson.build @@ -44,6 +44,7 @@ virtio_ss.add(when: 'CONFIG_VIRTIO_SERIAL', if_true: files('virtio-ccw-serial.c' if have_virtfs virtio_ss.add(when: 'CONFIG_VIRTIO_9P', if_true: files('virtio-ccw-9p.c')) endif +virtio_ss.add(when: 'CONFIG_VHOST_SCSI', if_true: files('vhost-scsi-ccw.c')) virtio_ss.add(when: 'CONFIG_VHOST_VSOCK', if_true: files('vhost-vsock-ccw.c')) virtio_ss.add(when: 'CONFIG_VHOST_USER_FS', if_true: files('vhost-user-fs-ccw.c')) s390x_ss.add_all(when: 'CONFIG_VIRTIO_CCW', if_true: virtio_ss) |