summarylogtreecommitdiffstats
path: root/012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch
diff options
context:
space:
mode:
authorlilac2019-02-01 05:56:42 +0800
committerlilac2019-02-01 05:56:42 +0800
commit113c989abf002279fc1ea36ea352e1c0fa204805 (patch)
tree6aa128c128aacf822ad5a10e11ef3cf95334a095 /012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch
parent6b347de960abe483c79a124f4326b26ce92f0cb6 (diff)
downloadaur-113c989abf002279fc1ea36ea352e1c0fa204805.tar.gz
update by lilac
Diffstat (limited to '012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch')
-rw-r--r--012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch b/012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch
new file mode 100644
index 000000000000..e73c25af0105
--- /dev/null
+++ b/012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch
@@ -0,0 +1,15 @@
+diff --git a/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp b/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
+index 6ad7df3e..2f12c277 100644
+--- a/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
++++ b/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
+@@ -162,6 +162,9 @@ static int vbglR3GuestCtrlMsgWaitFor(uint32_t idClient, uint32_t *pidMsg, uint32
+ */
+ DECL_NO_INLINE(static, bool) vbglR3GuestCtrlDetectPeekGetCancelSupport(uint32_t idClient)
+ {
++
++ return false;
++
+ /*
+ * Seems we get VINF_SUCCESS back from the host if we try unsupported
+ * guest control functions, so we need to supply some random message
+