diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-28 09:33:15 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 14:31:56 +0200 |
commit | 7da50d6411eede9eb1ff90ba85c30aa748ac4883 (patch) | |
tree | 0240c98924f1aaa8f01967e151b710c68cac52c5 /hw/s390x/vhost-vsock-ccw.c | |
parent | 7a523d96a0868f1a1986a3c79e05b8e3631d8d11 (diff) |
virtio-ccw: move device type declarations to .c files
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/s390x/vhost-vsock-ccw.c')
-rw-r--r-- | hw/s390x/vhost-vsock-ccw.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/s390x/vhost-vsock-ccw.c b/hw/s390x/vhost-vsock-ccw.c index 246416a8f9..07845a9a00 100644 --- a/hw/s390x/vhost-vsock-ccw.c +++ b/hw/s390x/vhost-vsock-ccw.c @@ -12,6 +12,15 @@ #include "qapi/error.h" #include "qemu/module.h" #include "virtio-ccw.h" +#include "hw/virtio/vhost-vsock.h" + +#define TYPE_VHOST_VSOCK_CCW "vhost-vsock-ccw" +OBJECT_DECLARE_SIMPLE_TYPE(VHostVSockCCWState, VHOST_VSOCK_CCW) + +struct VHostVSockCCWState { + VirtioCcwDevice parent_obj; + VHostVSock vdev; +}; static Property vhost_vsock_ccw_properties[] = { DEFINE_PROP_UINT32("max_revision", VirtioCcwDevice, max_rev, |