[RFC 06/10] zcache: move out client declaration and add a KVM client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Move out client declarations to be visible in the header, and introduce
a new KVM client.

Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>
---
 drivers/staging/zcache/zcache.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/zcache/zcache.h b/drivers/staging/zcache/zcache.h
index ec06ea2..4693fd6 100644
--- a/drivers/staging/zcache/zcache.h
+++ b/drivers/staging/zcache/zcache.h
@@ -1,6 +1,9 @@
 #ifndef _ZCACHE_H_
 #define _ZCACHE_H_
 
+#define LOCAL_CLIENT ((uint16_t)-1)
+#define KVM_CLIENT 1
+
 extern int zcache_enabled;
 
 extern int zcache_new_pool(uint16_t cli_id, uint32_t flags);
-- 
1.7.8.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux