Searched hist:c54e1eb4928d4e6762c7100d1d1ef5f08ddf922b (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/qga/ |
H A D | commands-win32.c | c54e1eb4928d4e6762c7100d1d1ef5f08ddf922b Tue Jul 07 19:12:18 CDT 2015 Michael Roth <mdroth@linux.vnet.ibm.com> qga: added GuestPCIAddress information
PCIAddress inforfation is obtained via SetupApi, which provides the information about address, bus, etc. We look throught entire device tree in the system and try to find device object for given volume. For this PDO SetupDiGetDeviceRegistryProperty is called, which reads PCI configuration for a given devicei if it is possible.
This is the most convinient way for a userspace service. The lookup is performed for every volume available. However, this information is not mandatory for vss-provider.
In order to use SetupApi we need to notify linker about it. We do not need to install additional libs, so we do not make separate configuration option to use libsetupapi.su
SetupApi gives as the same information as kernel driver with IRP_MN_QUERY_INTERFACE. https://support.microsoft.com/en-us/kb/253232
Signed-off-by: Olga Krishtal <okrishtal@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Eric Blake <eblake@redhat.com> CC: Michael Roth <mdroth@linux.vnet.ibm.com> * stub out get_pci_info if !CONFIG_QGA_NTDDSCSI Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
|
/openbmc/qemu/ |
H A D | configure | c54e1eb4928d4e6762c7100d1d1ef5f08ddf922b Tue Jul 07 19:12:18 CDT 2015 Michael Roth <mdroth@linux.vnet.ibm.com> qga: added GuestPCIAddress information
PCIAddress inforfation is obtained via SetupApi, which provides the information about address, bus, etc. We look throught entire device tree in the system and try to find device object for given volume. For this PDO SetupDiGetDeviceRegistryProperty is called, which reads PCI configuration for a given devicei if it is possible.
This is the most convinient way for a userspace service. The lookup is performed for every volume available. However, this information is not mandatory for vss-provider.
In order to use SetupApi we need to notify linker about it. We do not need to install additional libs, so we do not make separate configuration option to use libsetupapi.su
SetupApi gives as the same information as kernel driver with IRP_MN_QUERY_INTERFACE. https://support.microsoft.com/en-us/kb/253232
Signed-off-by: Olga Krishtal <okrishtal@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Eric Blake <eblake@redhat.com> CC: Michael Roth <mdroth@linux.vnet.ibm.com> * stub out get_pci_info if !CONFIG_QGA_NTDDSCSI Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
|