xen-legacy-backend: Add missing typedef XenLegacyDevice
commit694b3d28975d53c6c6ac444a6a896ce0d195c7d9
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:22 +0000 (25 15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (27 14:04 -0400)
treea21170aff14809cd073d8c87c19bae1b09b615ec
parent8055340fa5ec84640d6f9b3b9f427e9a4132011d
xen-legacy-backend: Add missing typedef XenLegacyDevice

The typedef was used in the XENBACKEND_DEVICE macro, but it was
never defined.  Define the typedef close to the type checking
macro.

Acked-by: Anthony PERARD <anthony.perard@citrix.com>
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-27-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/xen/xen-legacy-backend.h