diff options
author | Eduardo Habkost | 2020-08-25 21:20:30 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-08-27 20:04:54 +0200 |
commit | 240b6cd71798e423f55b347bba6bf05da2da7e18 (patch) | |
tree | 09c65b76b52bf5376cb92ae221f4a79f911f1e60 /hw/hyperv | |
parent | pckbd: Move QOM macro to header (diff) | |
download | qemu-240b6cd71798e423f55b347bba6bf05da2da7e18.tar.gz qemu-240b6cd71798e423f55b347bba6bf05da2da7e18.tar.xz 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 'hw/hyperv')
-rw-r--r-- | hw/hyperv/vmbus.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c index 34392e892a..75af6b83dd 100644 --- a/hw/hyperv/vmbus.c +++ b/hw/hyperv/vmbus.c @@ -20,9 +20,6 @@ #include "cpu.h" #include "trace.h" -#define TYPE_VMBUS "vmbus" -#define VMBUS(obj) OBJECT_CHECK(VMBus, (obj), TYPE_VMBUS) - enum { VMGPADL_INIT, VMGPADL_ALIVE, |