ixy icon indicating copy to clipboard operation
ixy copied to clipboard

VIRTIO-PCI: failed to open /sys/bus/pci/devices/<BDF>/resource0

Open 130B848 opened this issue 3 years ago • 0 comments

  1. There is no resource0 but resource in my Ubuntu 20.04 VM
  • So I changed resource0 in virtio.c to resource.
  1. /sys/bus/pci/devices/<BDF>/resource is read-only, so ixy-pktgen failed because permission denied
  • I added write permissions to /sys/bus/pci/devices/<BDF>/resource (I also tried 777)
  1. Then it can open the resource, but failed at device.h:154 write_io8(): pwrite io resource after virtio_legacy_init(): Configuring bar0

Is there something wrong with my usage? Can anyone help?

130B848 avatar Sep 24 '21 06:09 130B848