/*
- * A single VMCI device has an upper limit of 1024MB on the amount of
+ * A single VMCI device has an upper limit of 128 MiB on the amount of
* memory that can be used for queue pairs.
*/
-#define VMCI_MAX_GUEST_QP_MEMORY (1024 * 1024 * 1024)
+#define VMCI_MAX_GUEST_QP_MEMORY (128 * 1024 * 1024)
/*
* Queues with pre-mapped data pages must be small, so that we don't pin
/*
- * A single VMCI device has an upper limit of 1024MB on the amount of
+ * A single VMCI device has an upper limit of 128 MiB on the amount of
* memory that can be used for queue pairs.
*/
-#define VMCI_MAX_GUEST_QP_MEMORY (1024 * 1024 * 1024)
+#define VMCI_MAX_GUEST_QP_MEMORY (128 * 1024 * 1024)
/*
* Queues with pre-mapped data pages must be small, so that we don't pin
}
isVM2VM = VMCI_CONTEXT_IS_VM(contextId) && VMCI_CONTEXT_IS_VM(peer);
- if (!vmkernel && isVM2VM) {
+ if (isVM2VM) {
VMCI_DEBUG_LOG(5, ("QP Create - VM2VM\n"));
return VMCI_ERROR_DST_UNREACHABLE;
}
ASSERT(entry->attachId == VMCI_INVALID_ID);
isVM2VM = VMCI_CONTEXT_IS_VM(contextId) && VMCI_CONTEXT_IS_VM(entry->createId);
- if (!vmkernel && isVM2VM) {
+ if (isVM2VM) {
VMCI_DEBUG_LOG(5, ("QP Attach - VM2VM\n"));
return VMCI_ERROR_DST_UNREACHABLE;
}
ASSERT(VMCI_CONTEXT_IS_VM(dst->context));
- if (!vmkernel) {
- return VMCI_ERROR_DST_UNREACHABLE;
- }
+ return VMCI_ERROR_DST_UNREACHABLE;
}
/* Pass it up to the guest. */