[PATCH 0/2] Set PCI_PHYSICAL_FUNCTION flag more carefully

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you're running libvirt master on a remote host, and connect
to it using virt-manager, the remote daemon will crash. The
same will happen if you run 'virsh nodedev-dumpxml' for a PCI
device that happens *not* to be a virtual function.

The first patch fixes the crash. The second one fixes something
that could potentially cause trouble down the line, and also
makes the code a tiny bit nicer.


Andrea Bolognani (2):
  nodedev: sysfs: Set PCI_PHYSICAL_FUNCTION flag more carefully
  conf: nodedev: Set PCI_PHYSICAL_FUNCTION flag more carefully

 src/conf/node_device_conf.c               |  4 ++--
 src/node_device/node_device_linux_sysfs.c | 10 ++++++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]