qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

display/edid: add DEFINE_EDID_PROPERTIES

Add a define for edid monitor properties.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180925075646.25114-5-kraxel@redhat.com

+4
+4
include/hw/display/edid.h
··· 20 20 void qemu_edid_region_io(MemoryRegion *region, Object *owner, 21 21 uint8_t *edid, size_t size); 22 22 23 + #define DEFINE_EDID_PROPERTIES(_state, _edid_info) \ 24 + DEFINE_PROP_UINT32("xres", _state, _edid_info.prefx, 0), \ 25 + DEFINE_PROP_UINT32("yres", _state, _edid_info.prefy, 0) 26 + 23 27 #endif /* EDID_H */