qemu-e2k/include/hw/xen
Stefan Hajnoczi f18793b096 compiler: add a sizeof_field() macro
Determining the size of a field is useful when you don't have a struct
variable handy.  Open-coding this is ugly.

This patch adds the sizeof_field() macro, which is similar to
typeof_field().  Existing instances are updated to use the macro.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180614164431.29305-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-27 13:01:40 +01:00
..
io compiler: add a sizeof_field() macro 2018-06-27 13:01:40 +01:00
xen_backend.h xen_backend: make the xen_feature_grant_copy flag private 2018-05-22 11:43:21 -07:00
xen_common.h xen-hvm: try to use xenforeignmemory_map_resource() to map ioreq pages 2018-05-31 12:04:55 -07:00
xen_pvdev.h xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00
xen.h xen: use libxendevice model to restrict operations 2017-04-21 12:40:14 -07:00