]> xenbits.xensource.com Git - xen.git/commit
tools: libxl: allow permissive qemu-upstream pci passthrough.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 1 Jun 2015 10:32:23 +0000 (11:32 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 7 Jul 2015 15:23:11 +0000 (16:23 +0100)
commit015a373351e5c3553f848324ac0f07a9d92883fa
tree868b401db0f45139f852e83ca899c65e8da53a1e
parent6b52141bbc62a6377b48304cd60f5c5f3a7a14ac
tools: libxl: allow permissive qemu-upstream pci passthrough.

Since XSA-131 qemu-xen now restricts access to PCI cfg by default. In
order to allow local configuration of the existing libxl_device_pci
"permissive" flag needs to be plumbed through via the new QMP property
added by the XSA-131 patches.

Versions of QEMU prior to XSA-131 did not support this permissive
property, so we only pass it if it is true. Older versions only
supported permissive mode.

qemu-xen-traditional already supports the permissive mode setting via
xenstore.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_qmp.c