mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
41ea82055c
commit
240b6cd717
3 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue