Re: [libvirt] [PATCH] nodedev_udev: Fix missing events when kernel report lots of udev events within a short time

2017-05-10 Thread Erik Skultety
On Wed, May 10, 2017 at 12:44:22PM +0100, Daniel P. Berrange wrote: > On Wed, May 10, 2017 at 01:38:00PM +0200, Erik Skultety wrote: > > On Tue, May 09, 2017 at 10:09:07AM +0800, ZhiPeng Lu wrote: > > > From: "ning.bo" > > > > > > When create Virtual Function for Inter XL710 use below commands: >

Re: [libvirt] [PATCH] nodedev_udev: Fix missing events when kernel report lots of udev events within a short time

2017-05-10 Thread Daniel P. Berrange
On Wed, May 10, 2017 at 01:38:00PM +0200, Erik Skultety wrote: > On Tue, May 09, 2017 at 10:09:07AM +0800, ZhiPeng Lu wrote: > > From: "ning.bo" > > > > When create Virtual Function for Inter XL710 use below commands: > > for i in `seq 0 1`; do > > echo 63 > > > /sys/devices/pci:00/00

Re: [libvirt] [PATCH] nodedev_udev: Fix missing events when kernel report lots of udev events within a short time

2017-05-10 Thread Erik Skultety
On Tue, May 09, 2017 at 10:09:07AM +0800, ZhiPeng Lu wrote: > From: "ning.bo" > > When create Virtual Function for Inter XL710 use below commands: > for i in `seq 0 1`; do > echo 63 > > /sys/devices/pci:00/:00:03.2/:07:00.$i/sriov_numvfs > done > for i in `seq 0 3`; do >

[libvirt] [PATCH] nodedev_udev: Fix missing events when kernel report lots of udev events within a short time

2017-05-08 Thread ZhiPeng Lu
From: "ning.bo" When create Virtual Function for Inter XL710 use below commands: for i in `seq 0 1`; do echo 63 > /sys/devices/pci:00/:00:03.2/:07:00.$i/sriov_numvfs done for i in `seq 0 3`; do echo 31 > /sys/devices/pci:80/:80:02.2/:82:00.$i/sriov_numvfs