]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virpcimock: Create devices/ and drivers/ under /sys/bus/pci upfront
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Aug 2019 08:51:05 +0000 (10:51 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 17 Aug 2019 09:48:09 +0000 (11:48 +0200)
commitec60538c1b3cfe4e3677348f98d2160284162a43
tree0712f802333f59ca4260450c0dea6fcc0d62a464
parent278f777019ec6c7d2bf02edad42d894a130912d6
virpcimock: Create devices/ and drivers/ under /sys/bus/pci upfront

In near future, we will be creating devices under different
location and just symlink them under devices/. Just like real
kernel does. But for that we need the directories to exist.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
tests/virpcimock.c