alistair23-linux/include/xen/interface
Paul Durrant 1ee54195a3 xen/interface: re-define FRONT/BACK_RING_ATTACH()
Currently these macros are defined to re-initialize a front/back ring
(respectively) to values read from the shared ring in such a way that any
requests/responses that are added to the shared ring whilst the front/back
is detached will be skipped over. This, in general, is not a desirable
semantic since most frontend implementations will eventually block waiting
for a response which would either never appear or never be processed.

Since the macros are currently unused, take this opportunity to re-define
them to re-initialize a front/back ring using specified values. This also
allows FRONT/BACK_RING_INIT() to be re-defined in terms of
FRONT/BACK_RING_ATTACH() using a specified value of 0.

NOTE: BACK_RING_ATTACH() will be used directly in a subsequent patch.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
2019-12-20 13:44:42 +01:00
..
hvm xen/pvh: Add memory map pointer to hvm_start_info struct 2018-12-13 13:41:49 -05:00
io xen/interface: re-define FRONT/BACK_RING_ATTACH() 2019-12-20 13:44:42 +01:00
callback.h
elfnote.h
event_channel.h
features.h
grant_table.h
memory.h x86/xen: Move pv specific parts of arch/x86/xen/mmu.c to mmu_pv.c 2018-09-03 16:50:33 +02:00
nmi.h
physdev.h
platform.h
sched.h
vcpu.h
version.h
xen-mca.h xen/mcelog: add PPIN to record when available 2019-11-14 10:01:57 +01:00
xen.h
xenpmu.h