[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH v2 3/4] hostdev: Use actual device when reattaching
- From: John Ferlan <jferlan redhat com>
- To: Andrea Bolognani <abologna redhat com>, libvir-list redhat com
- Subject: Re: [libvirt] [PATCH v2 3/4] hostdev: Use actual device when reattaching
- Date: Tue, 22 Mar 2016 15:05:58 -0400
On 03/18/2016 01:03 PM, Andrea Bolognani wrote:
> Instead of forcing the values for the unbind_from_stub, remove_slot
> and reprobe properties, look up the actual device and use that when
> calling virPCIDeviceReattach().
>
> This ensures the device is restored to its original state after
> reattach: for example, if it was not bound to any driver before
> detach, it will not be bound forcefully during reattach.
> ---
> src/util/virhostdev.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
ACK
John
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]