Define the vf-token extension for PCI device
Signed-off-by: Vivek Kashyap <vivek.kashyap(a)linux.intel.com>
---
src/util/virpci.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/util/virpci.h b/src/util/virpci.h
index bc7cb2329f..da32c2f4d2 100644
--- a/src/util/virpci.h
+++ b/src/util/virpci.h
@@ -50,6 +50,13 @@ struct _virZPCIDeviceAddress {
/* Don't forget to update virPCIDeviceAddressCopy if needed. */
};
+typedef struct _virPCIDeviceToken virPCIDeviceToken;
+
+struct _virPCIDeviceToken {
+ unsigned char uuid[VIR_UUID_BUFLEN];
+ bool isSet;
+};
+
struct _virPCIDeviceAddress {
unsigned int domain;
unsigned int bus;
@@ -58,6 +65,7 @@ struct _virPCIDeviceAddress {
virTristateSwitch multi;
int extFlags; /* enum virPCIDeviceAddressExtensionFlags */
virZPCIDeviceAddress zpci;
+ virPCIDeviceToken token;
/* Don't forget to update virPCIDeviceAddressCopy if needed. */
};
--
2.33.8