From b702d2aebeb6b1392f42262f537f70e6890233a7 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 25 Apr 2013 13:38:28 -0400 Subject: virtio: Fix compilation without CONFIG_VHOST_SCSI Signed-off-by: Ed Maste Signed-off-by: Stefan Hajnoczi --- hw/s390x/virtio-ccw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/s390x/virtio-ccw.c') diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index b857413fa4..c0f26460a9 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -1095,7 +1095,9 @@ static void virtio_ccw_register(void) type_register_static(&virtio_ccw_net); type_register_static(&virtio_ccw_balloon); type_register_static(&virtio_ccw_scsi); +#ifdef CONFIG_VHOST_SCSI type_register_static(&vhost_ccw_scsi); +#endif type_register_static(&virtio_ccw_rng); type_register_static(&virtual_css_bridge_info); } -- cgit v1.2.3