aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatt Hines <mhines@scalecomputing.com>2019-01-28 14:30:56 -0800
committerMichael Roth <mdroth@linux.vnet.ibm.com>2019-03-18 10:48:07 -0500
commit996b9cdc2f190a173e48f4c8d64de3d50e570b7b (patch)
tree9f66c88a6fe959f71fcb315f38baa32c5247185e /configure
parent40cebc58117dbc6275a5d7c4e3ba6611964d9e6e (diff)
qga: Fix guest-get-fsinfo PCI address collection in Windows
The Windows QEMU guest agent erroneously tries to collect PCI information directly from the physical drive. However, windows stores SCSI/IDE information with the drive and PCI information with the underlying storage controller This changes get_pci_info to use the physical drive's underlying storage controller to get PCI information. * Additionally Fixes incorrect size being passed to DeviceIoControl when getting volume extents. Can occasionally crash the guest agent Signed-off-by: Matt Hines <mhines@scalecomputing.com> *fix up some checkpatch warnings *fix domain reporting and add some sanity checks for debug Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7071f52584..02ea221272 100755
--- a/configure
+++ b/configure
@@ -4934,7 +4934,7 @@ int main(void) {
EOF
if compile_prog "" "" ; then
guest_agent_ntddscsi=yes
- libs_qga="-lsetupapi $libs_qga"
+ libs_qga="-lsetupapi -lcfgmgr32 $libs_qga"
fi
fi