On 10/09/13 16:01, Laine Stump wrote:
On 10/08/2013 06:46 PM, Peter Krempa wrote:
> Prefer using VFIO (if available) to the legacy KVM device passthrough.
>
> With this patch a PCI passthrough device without the driver configured
> will be started with VFIO if it's available on the host. If not legacy
> KVM passthrough is checked and error is reported if it's not available.
> ---
>
> Notes:
> Version 4:
> - Adapted to call tree change
>
> docs/formatdomain.html.in | 9 ++++-----
> src/conf/domain_conf.h | 2 +-
> src/qemu/qemu_command.c | 2 +-
> src/qemu/qemu_hostdev.c | 30 +++++++++++++++++++++++++-----
> src/qemu/qemu_hostdev.h | 4 +++-
> src/qemu/qemu_hotplug.c | 2 +-
> src/qemu/qemu_process.c | 15 ++++++++-------
> tests/qemuxml2argvtest.c | 11 +++++++++++
> 8 files changed, 54 insertions(+), 21 deletions(-)
>
....
ACk, with a less misleading error message.
I've changed the error message to "_("invalid PCI passthrough type
'%s'")" and pushed. Thanks for the review.
Peter