Re: [libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-02-01 Thread Wuzongyong (Euler Dept)
> On Thu, Feb 01, 2018 at 12:03:42PM +, Wuzongyong (Euler Dept) wrote: > > a mdev > > > > > > On Thu, Feb 01, 2018 at 09:08:59AM +, Wuzongyong (Euler Dept) > wrote: > > > > Hi, > > > > > > > > I solve this problem by sending a CHANGE event to userspace after > > > creating the symbol link

Re: [libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-02-01 Thread Erik Skultety
On Thu, Feb 01, 2018 at 12:03:42PM +, Wuzongyong (Euler Dept) wrote: > a mdev > > > > On Thu, Feb 01, 2018 at 09:08:59AM +, Wuzongyong (Euler Dept) wrote: > > > Hi, > > > > > > I solve this problem by sending a CHANGE event to userspace after > > creating the symbol link like sriov driver.

Re: [libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-02-01 Thread Wuzongyong (Euler Dept)
v.c(function pci_iov_add_virtfn). Thanks, Zongyong Wu > > > > Thanks, > > Zongyong Wu > > > > > > > -Original Message- > > > From: Erik Skultety [mailto:eskul...@redhat.com] > > > Sent: Thursday, February 01, 2018 4:09 PM > &g

Re: [libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-02-01 Thread Wuzongyong (Euler Dept)
ex.william...@redhat.com>; libvir-list@redhat.com; > weijinfen <weijin...@huawei.com> > Subject: Re: [libvirt][Question] nodedev-list --cap return nothing after > creating a mdev > > On Thu, Feb 01, 2018 at 07:19:45AM +, Wuzongyong (Euler Dept) wrote: > > Hi, >

Re: [libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-02-01 Thread Erik Skultety
> -Original Message- > > From: Erik Skultety [mailto:eskul...@redhat.com] > > Sent: Thursday, February 01, 2018 4:09 PM > > To: Wuzongyong (Euler Dept) <cordius...@huawei.com> > > Cc: Alex Williamson <alex.william...@redhat.com>; libvir-list@redha

Re: [libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-02-01 Thread Wuzongyong (Euler Dept)
m>; libvir-list@redhat.com; > weijinfen <weijin...@huawei.com> > Subject: Re: [libvirt][Question] nodedev-list --cap return nothing after > creating a mdev > > On Thu, Feb 01, 2018 at 07:19:45AM +, Wuzongyong (Euler Dept) wrote: > > Hi, > > > > I meet a probl

Re: [libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-02-01 Thread Erik Skultety
On Thu, Feb 01, 2018 at 07:19:45AM +, Wuzongyong (Euler Dept) wrote: > Hi, > > I meet a problem that libvirt handle new mediated devices wrongly. > Command `virsh nodedev-list -cap mdev` return none after I create a mdev, and > the root cause I found is: > > // kernel code > int

[libvirt] [Question] nodedev-list --cap return nothing after creating a mdev

2018-01-31 Thread Wuzongyong (Euler Dept)
Hi, I meet a problem that libvirt handle new mediated devices wrongly. Command `virsh nodedev-list -cap mdev` return none after I create a mdev, and the root cause I found is: // kernel code int mdev_device_create(struct kobject *kobj, struct device *dev, uuid_le uuid) { ... ret =