[Spice-devel] [PATCH spice-protocol] RFE - vdi-dev: mark as deprecated

Marc-André Lureau marcandre.lureau at gmail.com
Thu Dec 4 07:48:12 PST 2014


This interface has long been deprecated, and I don't know of any user.
Perhaps the header could even be removed from spice-protocol?
---
 spice/vdi_dev.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/spice/vdi_dev.h b/spice/vdi_dev.h
index 8e0eec9..d51cb2a 100644
--- a/spice/vdi_dev.h
+++ b/spice/vdi_dev.h
@@ -37,6 +37,10 @@
 
 #include <spice/start-packed.h>
 
+#ifndef SPICE_DISABLE_DEPRECATED
+#error "This Spice interface is deprecated"
+#endif
+
 #define REDHAT_PCI_VENDOR_ID 0x1b36
 
 #define VDI_PORT_DEVICE_ID 0x0105
-- 
2.1.0



More information about the Spice-devel mailing list