Laine Stump
9b0848d523
qemu: propagate virQEMUDriver object to qemuDomainDeviceCalculatePCIConnectFlags
...
If libvirtd is running unprivileged, it can open a device's PCI config
data in sysfs, but can only read the first 64 bytes. But as part of
determining whether a device is Express or legacy PCI,
qemuDomainDeviceCalculatePCIConnectFlags() will be updated in a future
patch to call virPCIDeviceIsPCIExpress(), which tries to read beyond
the first 64 bytes of the PCI config data and fails with an error log
if the read is unsuccessful.
In order to avoid creating a parallel "quiet" version of
virPCIDeviceIsPCIExpress(), this patch passes a virQEMUDriverPtr down
through all the call chains that initialize the
qemuDomainFillDevicePCIConnectFlagsIterData, and saves the driver
pointer with the rest of the iterdata so that it can be used by
qemuDomainDeviceCalculatePCIConnectFlags(). This pointer isn't used
yet, but will be used in an upcoming patch (that detects Express vs
legacy PCI for VFIO assigned devices) to examine driver->privileged.
2016-11-30 15:28:07 -05:00
..
2016-07-11 01:04:29 +03:00
2016-06-12 11:01:50 +03:00
2016-11-15 15:49:16 +01:00
2016-11-28 09:11:22 +01:00
2016-08-12 10:59:21 +02:00
2016-05-18 14:33:58 -04:00
2016-09-02 17:00:58 -04:00
2016-06-09 14:42:48 +02:00
2016-05-24 15:21:05 -04:00
2016-07-01 21:13:30 -04:00
2016-10-10 15:15:11 -04:00
2015-11-09 15:50:39 +00:00
2016-08-19 21:34:51 -04:00
2016-08-19 21:34:51 -04:00
2016-05-02 15:46:23 +02:00
2016-03-18 17:29:53 +01:00
2015-11-09 15:50:39 +00:00
2016-11-09 16:52:40 +01:00
2016-11-28 09:11:22 +01:00
2016-05-16 10:30:38 -04:00
2016-09-23 10:30:54 +02:00
2016-11-02 17:36:50 +01:00
2016-11-02 17:36:50 +01:00
2016-11-22 10:44:17 +01:00
2016-11-30 10:59:01 +01:00
2016-11-30 10:59:01 +01:00
2016-09-09 08:20:05 -04:00
2016-05-17 10:41:45 +02:00
2016-03-28 12:02:31 -04:00
2016-03-28 12:02:31 -04:00
2016-06-21 14:31:19 -04:00
2016-07-27 18:59:15 +01:00
2016-07-27 18:59:15 +01:00
2016-04-21 18:14:07 -04:00
2016-06-09 18:31:11 +01:00
2016-05-05 10:01:55 +02:00
2016-05-17 10:41:45 +02:00
2016-09-27 15:15:03 -06:00
2016-09-02 12:46:03 -06:00
2016-06-26 19:33:08 -04:00
2016-05-26 11:17:06 +02:00
2016-07-10 15:40:11 -04:00
2016-07-10 15:40:11 -04:00
2016-11-15 19:07:48 +03:00
2016-11-15 19:07:48 +03:00
2016-06-08 11:23:12 -04:00
2016-05-14 09:46:44 +02:00
2016-07-14 09:41:55 +02:00
2016-11-15 15:49:16 +01:00
2016-07-01 12:20:54 +02:00
2016-11-28 09:11:22 +01:00
2016-09-26 16:50:12 +02:00
2016-11-25 13:54:05 +01:00
2016-06-08 11:23:12 -04:00
2016-11-24 18:11:05 +03:00
2016-10-14 06:47:36 -04:00
2016-06-08 11:23:12 -04:00
2016-05-14 09:46:44 +02:00
2016-08-24 15:44:47 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-06-08 11:23:12 -04:00
2016-07-01 21:13:30 -04:00
2016-11-24 18:10:13 +03:00
2016-06-08 11:23:12 -04:00
2016-08-19 21:10:34 -04:00
2016-06-08 11:23:12 -04:00
2016-08-19 21:10:34 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-03-18 17:29:53 +01:00
2016-05-14 09:19:51 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-08-02 09:52:00 -04:00
2016-06-08 11:23:12 -04:00
2016-09-26 16:50:12 +02:00
2016-07-07 11:51:39 +02:00
2016-11-28 09:11:15 +01:00
2016-06-08 11:23:12 -04:00
2016-09-22 15:40:08 +02:00
2016-11-25 20:34:26 +01:00
2016-07-27 13:33:10 +02:00
2016-10-12 17:46:47 +02:00
2016-11-30 15:28:07 -05:00
2016-11-28 09:11:22 +01:00
2016-06-08 11:23:12 -04:00
2016-10-06 09:11:28 +02:00
2016-10-06 09:11:28 +02:00
2016-11-24 12:15:26 -05:00
2016-11-30 10:59:01 +01:00
2016-11-24 12:22:25 -05:00
2016-06-08 11:23:12 -04:00
2016-05-10 17:16:11 +02:00
2016-09-09 08:20:05 -04:00
2016-05-14 09:22:12 +02:00
2016-10-21 14:03:36 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-07-19 09:40:01 -04:00
2016-07-01 15:46:57 -04:00
2016-06-08 11:23:12 -04:00
2016-05-02 07:18:25 +02:00
2016-08-18 13:37:08 +02:00
2016-10-10 08:27:25 +02:00
2016-06-13 14:13:17 -06:00
2016-11-04 09:25:58 +01:00
2016-09-22 15:40:08 +02:00
2016-06-14 08:25:25 +02:00
2016-06-08 11:23:12 -04:00
2016-11-25 13:54:05 +01:00
2016-06-08 11:23:12 -04:00
2016-06-15 15:07:47 +02:00
2016-06-08 11:23:12 -04:00
2016-07-09 11:03:32 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-20 12:09:52 +02:00
2016-05-20 17:16:21 +02:00
2016-06-09 18:31:11 +01:00
2016-11-25 13:54:05 +01:00
2016-06-08 11:23:12 -04:00
2016-02-11 18:24:32 +01:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-24 13:23:02 -04:00
2016-11-25 13:54:05 +01:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-09 18:31:11 +01:00
2016-06-09 18:31:11 +01:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-10-10 08:27:25 +02:00
2016-05-20 17:16:21 +02:00
2016-05-02 22:25:52 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-26 19:33:07 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-23 22:23:21 +02:00
2016-06-20 18:12:53 +02:00
2015-08-04 12:28:24 +01:00
2016-06-08 13:48:45 +01:00
2016-06-20 18:12:53 +02:00
2016-05-20 17:16:21 +02:00
2016-06-08 11:23:12 -04:00
2016-11-25 13:54:05 +01:00
2016-02-12 16:13:31 +01:00
2016-06-08 11:23:12 -04:00
2016-07-12 08:51:15 -06:00
2016-06-08 11:23:12 -04:00
2016-08-15 09:51:10 +02:00
2016-06-08 11:23:12 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-06-20 18:16:50 +02:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-09-14 13:18:07 +02:00
2016-04-23 15:41:40 -04:00
2016-08-24 17:43:29 +02:00
2016-05-02 07:18:25 +02:00
2016-04-23 15:41:40 -04:00
2016-06-08 11:23:13 -04:00
2016-09-06 14:01:41 +02:00
2016-11-25 13:54:05 +01:00
2016-06-08 11:23:12 -04:00
2015-08-24 13:00:39 +02:00
2016-09-14 13:18:07 +02:00
2016-05-20 17:16:21 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-09-27 15:15:03 -06:00
2016-09-26 16:50:12 +02:00
2016-09-26 16:50:12 +02:00
2016-09-26 16:50:12 +02:00