1
0
forked from pool/virtualbox
virtualbox/vbox-permissions_warning.diff

67 lines
2.4 KiB
Diff
Raw Normal View History

Accepting request 214248 from home:saschpe:branches:Virtualization - Update to version 4.3.6: + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451) + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410) + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481) + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414) + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245) + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205) + GUI: fixed warnings in VM settings / number of guest processors (bug #12480) + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424) + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017) + Main: fixed occasional crashes on guest display resolution change (bug #7063) + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498) + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030) + Network: allow to start more than 5 PCNet instances (bug #12426) + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021) + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) - For more changes see https://www.virtualbox.org/wiki/Changelog - Add source services (refresh_patches ATM) - Rebased patches: + vbox-disable-updates.diff (only offset) + vbox-fpie.diff (only offset) + vbox-deprec-gsoap-service-proxies.diff (manually) + vbox-gsoapssl-deps.diff (manually) + vbox-no-build-dates.diff (manually) + vbox-permissions_warning.diff (manually) + vbox-python-detection.diff (manually) + vbox-smc-napa.diff (manually) + vbox-vboxdrv-init-script.diff (manually) OBS-URL: https://build.opensuse.org/request/show/214248 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=150
2014-01-19 01:52:50 +01:00
Index: VirtualBox-4.3.6/src/apps/Makefile.kmk
===================================================================
Accepting request 214248 from home:saschpe:branches:Virtualization - Update to version 4.3.6: + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451) + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410) + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481) + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414) + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245) + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205) + GUI: fixed warnings in VM settings / number of guest processors (bug #12480) + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424) + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017) + Main: fixed occasional crashes on guest display resolution change (bug #7063) + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498) + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030) + Network: allow to start more than 5 PCNet instances (bug #12426) + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021) + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) - For more changes see https://www.virtualbox.org/wiki/Changelog - Add source services (refresh_patches ATM) - Rebased patches: + vbox-disable-updates.diff (only offset) + vbox-fpie.diff (only offset) + vbox-deprec-gsoap-service-proxies.diff (manually) + vbox-gsoapssl-deps.diff (manually) + vbox-no-build-dates.diff (manually) + vbox-permissions_warning.diff (manually) + vbox-python-detection.diff (manually) + vbox-smc-napa.diff (manually) + vbox-vboxdrv-init-script.diff (manually) OBS-URL: https://build.opensuse.org/request/show/214248 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=150
2014-01-19 01:52:50 +01:00
--- VirtualBox-4.3.6.orig/src/apps/Makefile.kmk
+++ VirtualBox-4.3.6/src/apps/Makefile.kmk
@@ -34,5 +34,7 @@ if1of ($(KBUILD_TARGET),darwin solaris l
endif
endif
+include $(PATH_SUB_CURRENT)/VBoxPermissionMessage/Makefile.kmk
+
include $(FILE_KBUILD_SUB_FOOTER)
Accepting request 214248 from home:saschpe:branches:Virtualization - Update to version 4.3.6: + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451) + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410) + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481) + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414) + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245) + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205) + GUI: fixed warnings in VM settings / number of guest processors (bug #12480) + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424) + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017) + Main: fixed occasional crashes on guest display resolution change (bug #7063) + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498) + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030) + Network: allow to start more than 5 PCNet instances (bug #12426) + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021) + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) - For more changes see https://www.virtualbox.org/wiki/Changelog - Add source services (refresh_patches ATM) - Rebased patches: + vbox-disable-updates.diff (only offset) + vbox-fpie.diff (only offset) + vbox-deprec-gsoap-service-proxies.diff (manually) + vbox-gsoapssl-deps.diff (manually) + vbox-no-build-dates.diff (manually) + vbox-permissions_warning.diff (manually) + vbox-python-detection.diff (manually) + vbox-smc-napa.diff (manually) + vbox-vboxdrv-init-script.diff (manually) OBS-URL: https://build.opensuse.org/request/show/214248 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=150
2014-01-19 01:52:50 +01:00
Index: VirtualBox-4.3.6/src/apps/VBoxPermissionMessage/Makefile.kmk
===================================================================
--- /dev/null
Accepting request 214248 from home:saschpe:branches:Virtualization - Update to version 4.3.6: + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451) + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410) + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481) + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414) + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245) + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205) + GUI: fixed warnings in VM settings / number of guest processors (bug #12480) + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424) + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017) + Main: fixed occasional crashes on guest display resolution change (bug #7063) + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498) + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030) + Network: allow to start more than 5 PCNet instances (bug #12426) + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021) + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) - For more changes see https://www.virtualbox.org/wiki/Changelog - Add source services (refresh_patches ATM) - Rebased patches: + vbox-disable-updates.diff (only offset) + vbox-fpie.diff (only offset) + vbox-deprec-gsoap-service-proxies.diff (manually) + vbox-gsoapssl-deps.diff (manually) + vbox-no-build-dates.diff (manually) + vbox-permissions_warning.diff (manually) + vbox-python-detection.diff (manually) + vbox-smc-napa.diff (manually) + vbox-vboxdrv-init-script.diff (manually) OBS-URL: https://build.opensuse.org/request/show/214248 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=150
2014-01-19 01:52:50 +01:00
+++ VirtualBox-4.3.6/src/apps/VBoxPermissionMessage/Makefile.kmk
@@ -0,0 +1,31 @@
+# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $
+## @file
+#
+# VBoxPermissionMessage is wrapper for suse users
+#
+#
+# Copyright (C) 2009 Oracle Corporation
+#
+# This file is part of VirtualBox Open Source Edition (OSE), as
+# available from http://www.virtualbox.org. This file is free software;
+# you can redistribute it and/or modify it under the terms of the GNU
+# General Public License (GPL) as published by the Free Software
+# Foundation, in version 2 as it comes in the "COPYING" file of the
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
+#
+
+
+SUB_DEPTH = ../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+PROGRAMS += VBoxPermissionMessage
+
+VBoxPermissionMessage_TEMPLATE = VBOXQT4GUIEXE
+VBoxPermissionMessage_SOURCES = VBoxPermissionMessage.cpp
+VBoxPermissionMessage_QT_MODULES = Core Gui
+
+#INSTALLS += VBoxPermissionMessage
+
+include $(KBUILD_PATH)/subfooter.kmk
+
Accepting request 214248 from home:saschpe:branches:Virtualization - Update to version 4.3.6: + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451) + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410) + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481) + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414) + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245) + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205) + GUI: fixed warnings in VM settings / number of guest processors (bug #12480) + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424) + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017) + Main: fixed occasional crashes on guest display resolution change (bug #7063) + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498) + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030) + Network: allow to start more than 5 PCNet instances (bug #12426) + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021) + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) - For more changes see https://www.virtualbox.org/wiki/Changelog - Add source services (refresh_patches ATM) - Rebased patches: + vbox-disable-updates.diff (only offset) + vbox-fpie.diff (only offset) + vbox-deprec-gsoap-service-proxies.diff (manually) + vbox-gsoapssl-deps.diff (manually) + vbox-no-build-dates.diff (manually) + vbox-permissions_warning.diff (manually) + vbox-python-detection.diff (manually) + vbox-smc-napa.diff (manually) + vbox-vboxdrv-init-script.diff (manually) OBS-URL: https://build.opensuse.org/request/show/214248 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=150
2014-01-19 01:52:50 +01:00
Index: VirtualBox-4.3.6/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp
===================================================================
--- /dev/null
Accepting request 214248 from home:saschpe:branches:Virtualization - Update to version 4.3.6: + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451) + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410) + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481) + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414) + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245) + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205) + GUI: fixed warnings in VM settings / number of guest processors (bug #12480) + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424) + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017) + Main: fixed occasional crashes on guest display resolution change (bug #7063) + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498) + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030) + Network: allow to start more than 5 PCNet instances (bug #12426) + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021) + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) - For more changes see https://www.virtualbox.org/wiki/Changelog - Add source services (refresh_patches ATM) - Rebased patches: + vbox-disable-updates.diff (only offset) + vbox-fpie.diff (only offset) + vbox-deprec-gsoap-service-proxies.diff (manually) + vbox-gsoapssl-deps.diff (manually) + vbox-no-build-dates.diff (manually) + vbox-permissions_warning.diff (manually) + vbox-python-detection.diff (manually) + vbox-smc-napa.diff (manually) + vbox-vboxdrv-init-script.diff (manually) OBS-URL: https://build.opensuse.org/request/show/214248 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=150
2014-01-19 01:52:50 +01:00
+++ VirtualBox-4.3.6/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp
@@ -0,0 +1,12 @@
+#include <QtGui/QApplication>
+#include <QtGui/QMessageBox>
+int main(int argc, char *argv[])
+{
+ QApplication app(argc, argv);
+ QMessageBox msgBox;
+ msgBox.setWindowTitle(QObject::tr("Permissions problem !"));
+ msgBox.setText(QObject::tr("You are not a member of the \"vboxusers\" group. Please add yourself to this group before starting VirtualBox. You could do it using: Yast / Security and Users / User and Group management. Don't forget re-login your user account!"));
+ int ret = msgBox.exec();
+ app.quit();
+ return 0;
+}
\ No newline at end of file