summaryrefslogtreecommitdiffstats
path: root/hw/display/xenfb.c
diff options
context:
space:
mode:
authorIan Campbell2016-02-10 12:07:05 +0100
committerStefano Stabellini2016-02-10 13:01:32 +0100
commit47d3df2387ed6927732584ffa4159c26d9f4dee8 (patch)
tree7d60d870468763272bd72db740f70dd27992ff85 /hw/display/xenfb.c
parentxen: move xenforeignmemory compat layer into common place (diff)
downloadqemu-47d3df2387ed6927732584ffa4159c26d9f4dee8.tar.gz
qemu-47d3df2387ed6927732584ffa4159c26d9f4dee8.tar.xz
qemu-47d3df2387ed6927732584ffa4159c26d9f4dee8.zip
xen: Drop __XEN_LATEST_INTERFACE_VERSION__ checks from prior to Xen 4.2
We assume (and check for in configure) 4.2 or later now. In reality all of the removed checks are for far older versions. FMT_ioreq_size is no longer needed. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'hw/display/xenfb.c')
-rw-r--r--hw/display/xenfb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c
index a533c3d0f4..40b096afa2 100644
--- a/hw/display/xenfb.c
+++ b/hw/display/xenfb.c
@@ -241,9 +241,7 @@ static int xenfb_send_motion(struct XenInput *xenfb,
event.type = XENKBD_TYPE_MOTION;
event.motion.rel_x = rel_x;
event.motion.rel_y = rel_y;
-#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030207
event.motion.rel_z = rel_z;
-#endif
return xenfb_kbd_event(xenfb, &event);
}
@@ -258,12 +256,7 @@ static int xenfb_send_position(struct XenInput *xenfb,
event.type = XENKBD_TYPE_POS;
event.pos.abs_x = abs_x;
event.pos.abs_y = abs_y;
-#if __XEN_LATEST_INTERFACE_VERSION__ == 0x00030207
- event.pos.abs_z = z;
-#endif
-#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030208
event.pos.rel_z = z;
-#endif
return xenfb_kbd_event(xenfb, &event);
}