Re: [libvirt] [PATCH 3/3] nodedev: update caps before invoking nodedev driver interfaces

2018-01-11 Thread Wuzongyong (Euler Dept)
It is a bit inefficient about my patch, and it is imperfect. I wish to see a better idea to fix this problem. And again, thank you for your correction to my patches. Thanks, Zongyong Wu > -Original Message- > From: Erik Skultety [mailto:eskul...@redhat.com] > Sent: Thursday, January 11,

Re: [libvirt] [PATCH 3/3] nodedev: update caps before invoking nodedev driver interfaces

2018-01-11 Thread Erik Skultety
On Wed, Jan 10, 2018 at 08:14:51PM +0800, Wu Zongyong wrote: > Some capabilities of node devices rely on what driver they bound to, > and therefore, these capabilities may change when the driver change. > So, it is necessary to manually update devices' capabilities each time > before nodedev

[libvirt] [PATCH 3/3] nodedev: update caps before invoking nodedev driver interfaces

2018-01-10 Thread Wu Zongyong
Some capabilities of node devices rely on what driver they bound to, and therefore, these capabilities may change when the driver change. So, it is necessary to manually update devices' capabilities each time before nodedev driver interfaces invoked. Signed-off-by: Wu Zongyong