[libvirt] [PATCH 3/9] qemu: Don't detach devices if passthrough doesn't work

Michal Privoznik mprivozn at redhat.com
Fri Jan 17 14:29:15 UTC 2014


On 17.01.2014 11:39, Jiri Denemark wrote:
> From: Jincheng Miao <jmiao at redhat.com>
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1046919
> 
> If none (KVM, VFIO) of the supported PCI passthrough methods is known to
> work on a host, it's better to fail right away with a nice error message
> rather than letting attachment fail with a more cryptic message such as
> 
>     Failed to bind PCI device '0000:07:05.0' to vfio-pci: No such device
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_driver.c | 32 +++++++++++++++++++++++---------
>  1 file changed, 23 insertions(+), 9 deletions(-)

ACK

Michal




More information about the libvir-list mailing list