mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -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
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue