* Re: [Qemu-devel] [Qemu-trivial] [PATCH] Fix compilation without CONFIG_VHOST_SCSI
[not found] <1366911508-11078-1-git-send-email-emaste@freebsd.org>
@ 2013-04-26 10:57 ` Stefan Hajnoczi
0 siblings, 0 replies; only message in thread
From: Stefan Hajnoczi @ 2013-04-26 10:57 UTC (permalink / raw)
To: Ed Maste; +Cc: qemu-trivial, qemu-devel
On Thu, Apr 25, 2013 at 01:38:28PM -0400, Ed Maste wrote:
CCing qemu-devel@nongnu.org.
>
> Signed-off-by: Ed Maste <emaste@freebsd.org>
> ---
> hw/s390x/s390-virtio-bus.c | 2 ++
> hw/s390x/virtio-ccw.c | 2 ++
> hw/s390x/virtio-ccw.h | 2 ++
> 3 files changed, 6 insertions(+)
>
> diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-virtio-bus.c
> index cf51a85..a7e81d1 100644
> --- a/hw/s390x/s390-virtio-bus.c
> +++ b/hw/s390x/s390-virtio-bus.c
> @@ -691,7 +691,9 @@ static void s390_virtio_register_types(void)
> type_register_static(&s390_virtio_blk);
> type_register_static(&s390_virtio_net);
> type_register_static(&s390_virtio_scsi);
> +#ifdef CONFIG_VHOST_SCSI
> type_register_static(&s390_vhost_scsi);
> +#endif
> type_register_static(&s390_virtio_rng);
> type_register_static(&s390_virtio_bridge_info);
> }
> diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
> index 56e4872..86b1477 100644
> --- a/hw/s390x/virtio-ccw.c
> +++ b/hw/s390x/virtio-ccw.c
> @@ -1089,7 +1089,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);
> }
> diff --git a/hw/s390x/virtio-ccw.h b/hw/s390x/virtio-ccw.h
> index 04ba1b9..121a5f8 100644
> --- a/hw/s390x/virtio-ccw.h
> +++ b/hw/s390x/virtio-ccw.h
> @@ -101,6 +101,7 @@ typedef struct VirtIOSCSICcw {
> VirtIOSCSI vdev;
> } VirtIOSCSICcw;
>
> +#ifdef CONFIG_VHOST_SCSI
> /* vhost-scsi-ccw */
>
> #define TYPE_VHOST_SCSI_CCW "vhost-scsi-ccw"
> @@ -111,6 +112,7 @@ typedef struct VHostSCSICcw {
> VirtioCcwDevice parent_obj;
> VHostSCSI vdev;
> } VHostSCSICcw;
> +#endif
>
> /* virtio-blk-ccw */
>
> --
> 1.7.11.5
>
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-26 10:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1366911508-11078-1-git-send-email-emaste@freebsd.org>
2013-04-26 10:57 ` [Qemu-devel] [Qemu-trivial] [PATCH] Fix compilation without CONFIG_VHOST_SCSI Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).