mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
hw/xen: Expose handle_bufioreq in xen_register_ioreq
Expose handle_bufioreq in xen_register_ioreq(). This is to allow machines to enable or disable buffered ioreqs. No functional change since all callers still set it to HVM_IOREQSRV_BUFIOREQ_ATOMIC. Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
This commit is contained in:
parent
abdfd6549d
commit
b2150e403a
5 changed files with 73 additions and 41 deletions
|
@ -614,7 +614,9 @@ void xen_hvm_init_pc(PCMachineState *pcms, MemoryRegion **ram_memory)
|
|||
|
||||
state = g_new0(XenIOState, 1);
|
||||
|
||||
xen_register_ioreq(state, max_cpus, &xen_memory_listener);
|
||||
xen_register_ioreq(state, max_cpus,
|
||||
HVM_IOREQSRV_BUFIOREQ_ATOMIC,
|
||||
&xen_memory_listener);
|
||||
|
||||
xen_is_stubdomain = xen_check_stubdomain(state->xenstore);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue