X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=hw%2F9pfs%2Fvirtio-9p.h;h=20fa118f3a666bd01cb7fd4e5004a6bac23d1830;hb=8063396bf3;hp=ff70c5a97123358b5df416b751a77d86148f7551;hpb=a489d1951cd9cc91c5954214fcf6ae0f9d2d4292;p=mirror_qemu.git diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h index ff70c5a971..20fa118f3a 100644 --- a/hw/9pfs/virtio-9p.h +++ b/hw/9pfs/virtio-9p.h @@ -13,10 +13,8 @@ struct V9fsVirtioState { VirtQueueElement *elems[MAX_REQ]; V9fsState state; }; -typedef struct V9fsVirtioState V9fsVirtioState; #define TYPE_VIRTIO_9P "virtio-9p-device" -DECLARE_INSTANCE_CHECKER(V9fsVirtioState, VIRTIO_9P, - TYPE_VIRTIO_9P) +OBJECT_DECLARE_SIMPLE_TYPE(V9fsVirtioState, VIRTIO_9P) #endif