Re: [PATCH] PCI: export pci device assignment info as read only via sysfs

2014-12-30 Thread Alex Williamson
- Original Message - > This patch exports assignment flag of PCI device via sysfs, so user > space application could know if PCI device was assigned to guest OS > or not via interface as following from viewpoint of host device > management: > > PCI device was assigned to guest OS > $ca

Re: [PATCH] PCI: export pci device assignment info as read only via sysfs

2014-12-30 Thread Andreas Mohr
Hi, Ethan Zhao wrote: > This patch exports assignment flag of PCI device via sysfs, so user > space application could know if PCI device was assigned to guest OS > or not via interface as following from viewpoint of host device > management: > > PCI device was assigned to guest OS > $cat /sys/d

[PATCH] PCI: export pci device assignment info as read only via sysfs

2014-12-30 Thread Ethan Zhao
This patch exports assignment flag of PCI device via sysfs, so user space application could know if PCI device was assigned to guest OS or not via interface as following from viewpoint of host device management: PCI device was assigned to guest OS $cat /sys/devices/pci:00/:00:1f.3/assign