diff options
| author | Edgar E. Iglesias <edgar.iglesias@amd.com> | 2024-09-04 19:28:06 +0200 |
|---|---|---|
| committer | Edgar E. Iglesias <edgar.iglesias@amd.com> | 2024-10-03 19:37:34 +0200 |
| commit | b2150e403a015762e716684a17426a9532e4af15 (patch) | |
| tree | b5f3a72938b3f4f823ac86a15d6e0efa01d28f0e /include/hw/xen/xen_native.h | |
| parent | abdfd6549d585b76a47183e611addf4d91536e0f (diff) | |
| download | focaccia-qemu-b2150e403a015762e716684a17426a9532e4af15.tar.gz focaccia-qemu-b2150e403a015762e716684a17426a9532e4af15.zip | |
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>
Diffstat (limited to 'include/hw/xen/xen_native.h')
| -rw-r--r-- | include/hw/xen/xen_native.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/xen/xen_native.h b/include/hw/xen/xen_native.h index 1a5ad693a4..5caf91a616 100644 --- a/include/hw/xen/xen_native.h +++ b/include/hw/xen/xen_native.h @@ -464,10 +464,11 @@ static inline void xen_unmap_pcidev(domid_t dom, } static inline int xen_create_ioreq_server(domid_t dom, + int handle_bufioreq, ioservid_t *ioservid) { int rc = xendevicemodel_create_ioreq_server(xen_dmod, dom, - HVM_IOREQSRV_BUFIOREQ_ATOMIC, + handle_bufioreq, ioservid); if (rc == 0) { |