[libvirt] [PATCH 2/3] nodedev: update mdev_types caps before dumpxml

Wuzongyong (Euler Dept) cordius.wu at huawei.com
Thu Jan 18 02:09:14 UTC 2018


Would you push this two patches before release of 4.0.0?

Thanks,
Zongyong Wu


> -----Original Message-----
> From: Erik Skultety [mailto:eskultet at redhat.com]
> Sent: Thursday, January 11, 2018 6:07 PM
> To: Wuzongyong (Euler Dept) <cordius.wu at huawei.com>
> Cc: libvir-list at redhat.com; weijinfen <weijinfen at huawei.com>; Wanzongshun
> (Vincent) <wanzongshun at huawei.com>
> Subject: Re: [PATCH 2/3] nodedev: update mdev_types caps before dumpxml
> 
> On Wed, Jan 10, 2018 at 08:14:50PM +0800, Wu Zongyong wrote:
> > In current implemention, mdev_types caps keep constant all the time.
> > But, it is possible that a device capable of mdev_types sometime(for
> > example:bind to proper driver) and incapable of mdev_types at other
> > times(for example: unbind from its driver).
> > We should keep the info of xml dumped out consistent with real status
> > of the device.
> >
> > Signed-off-by: Wu Zongyong <cordius.wu at huawei.com>
> 
> For patches 1 and 2 (I'll tune the commit message for this one a bit
> before
> pushing):
> 
> Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list