diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-25 15:20:30 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-27 14:04:54 -0400 |
commit | 240b6cd71798e423f55b347bba6bf05da2da7e18 (patch) | |
tree | 09c65b76b52bf5376cb92ae221f4a79f911f1e60 /include/hw/hyperv/vmbus-bridge.h | |
parent | 41ea82055c7cd5dbcdeb61236eae4272a64bb5f6 (diff) | |
download | qemu-240b6cd71798e423f55b347bba6bf05da2da7e18.zip |
vmbus: Move QOM macros to vmbus.h
Move all declarations related to TYPE_VMBUS to the same place in
vmbus.h.
This will make future conversion to OBJECT_DECLARE* easier.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-35-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/hyperv/vmbus-bridge.h')
-rw-r--r-- | include/hw/hyperv/vmbus-bridge.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/hyperv/vmbus-bridge.h b/include/hw/hyperv/vmbus-bridge.h index 33f93de64d..fe90bda01b 100644 --- a/include/hw/hyperv/vmbus-bridge.h +++ b/include/hw/hyperv/vmbus-bridge.h @@ -11,11 +11,10 @@ #define HW_HYPERV_VMBUS_BRIDGE_H #include "hw/sysbus.h" +#include "hw/hyperv/vmbus.h" #define TYPE_VMBUS_BRIDGE "vmbus-bridge" -typedef struct VMBus VMBus; - typedef struct VMBusBridge { SysBusDevice parent_obj; |