1
0
forked from pool/virtualbox
virtualbox/fix_v7_build.patch

88 lines
3.3 KiB
Diff
Raw Normal View History

Accepting request 1036720 from home:lwfinger:branches:Virtualization added file "set_noexec_stack.patch" to remove executable stack in yasm-compiled routines addwd file "fix_v7_build.patch" added file "VBoxDDR0.r0" deleted file "/vb-6.1.16-modal-dialog-parent.patch" VirtualBox 7.0.2 (released October 20 2022) This is a maintenance release. The following items were fixed and/or added: Known issue: VMs having more than one vCPU configured will not work properly on macOS Catalina due to an unknown memory corruption issue. Either lower the number of vCPUs to 1 or upgrade to BigSur or later where the issue does not occur Main: Fixed issue when VBoxSVC could become unresponsive if Extension Pack was not installed (bug #21167) Linux Guest Additions: Introduced initial support for kernel 6.1 Linux Guest Additions: Fixed issue when VBoxClient seamless service caused a crash of some X11 applications (bug #21132) GUI: Fixed a glitch in the log viewer which was causing wrong log file to be saved (bug #21156) VirtualBox 7.0.0 (released October 10 2022) This is a major update. The following major new features were added: Virtual machines can be fully encrypted now, including the VM config logs and saved states (CLI only for now) OCI: Cloud virtual machines can be added to Virtual Machine Manager and controlled as local VMs OCI: Cloud networks can now be configured via Network Manager tool same way as it is done for Host-only and NAT networks GUI: Added a new utility similar to "top" or "resource monitor" which lists peformance statistics (CPU usage, RAM usage, disk I/O rate, etc.) of running guests GUI: Reworked the new vm wizard to integrate the unattended guest OS installation and to have a more streamlined work flow GUI: Added a new help viewer widget which enables the user manual to be navigated and searched GUI: Adding new notification center unifying most of running progresses and error reporting around the GUI GUI: Improved theme support on all platforms. Linux and macOS use native engine while for Windows host it is separately implemented. GUI: Large icon update. Audio recording: Now using Vorbis as the default audio format for WebM containers. Opus is no longer being used. Audio: Added "default" host driver type to make it possible to move VMs (appliances) between different platforms without the need of changing the audio driver explicitly. When the "default" driver is selected, the best audio backend option for a platform will be used. This is the default for newly created VMs. Guest Control: Implemented initial support for automatic updating of Guest Additions for Linux guests Guest Control: Implemented ability to wait for and/or reboot the guest when updating Guest Additions via VBoxManage VBoxManage: Added Guest Control "waitrunlevel" sub-command to make it possible to wait for a guest to reach a certain run level Linux Guest Additions: Reworked guest screen re-size functionality, added basic integration with some of guest Desktop Environments Devices: Implemented new 3D support based on DirectX 11 (and DXVK on non Windows hosts) Devices: Added virtual IOMMU devices (Intel and AMD variant) OBS-URL: https://build.opensuse.org/request/show/1036720 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=663
2022-11-18 22:49:33 +01:00
Index: VirtualBox-7.0.2/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0A.asm
===================================================================
--- VirtualBox-7.0.2.orig/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0A.asm
+++ VirtualBox-7.0.2/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0A.asm
@@ -28,7 +28,7 @@ BEGINCODE
extern NAME(dtrace_probe)
GLOBALNAME dtrace_probe6
- jmp NAME(dtrace_probe)
+ jmp [rel dtrace_probe wrt ..got]
%ifidn __OUTPUT_FORMAT__,elf
section .note.GNU-stack noalloc noexec nowrite progbits
Index: VirtualBox-7.0.2/src/VBox/VMM/Config.kmk
===================================================================
--- VirtualBox-7.0.2.orig/src/VBox/VMM/Config.kmk
+++ VirtualBox-7.0.2/src/VBox/VMM/Config.kmk
@@ -58,9 +58,7 @@ else
VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
endif
endif
-ifdef IEM_WITHOUT_ASSEMBLY
VMM_COMMON_DEFS += IEM_WITHOUT_ASSEMBLY
-endif
# part of global DEFS
ifdef VBOX_WITH_MULTI_CORE
VMM_COMMON_DEFS += VBOX_WITH_MULTI_CORE
Index: VirtualBox-7.0.2/src/VBox/VMM/testcase/Makefile.kmk
===================================================================
--- VirtualBox-7.0.2.orig/src/VBox/VMM/testcase/Makefile.kmk
+++ VirtualBox-7.0.2/src/VBox/VMM/testcase/Makefile.kmk
@@ -358,7 +358,6 @@ tstIEMAImplAsm_ASFLAGS.x86 := -Werror
tstIEMAImplAsm_INCS := ../include .
tstIEMAImplAsm_SOURCES = \
tstIEMAImpl.cpp \
- ../VMMAll/IEMAllAImpl.asm \
../VMMAll/IEMAllAImplC.cpp \
$(tstIEMAImpl_CLEAN)
tstIEMAImplAsm_SOURCES.x86 += tstIEMAImplDataSseBinary.asm
Index: VirtualBox-7.0.2/src/VBox/VMM/Makefile.kmk
===================================================================
--- VirtualBox-7.0.2.orig/src/VBox/VMM/Makefile.kmk
+++ VirtualBox-7.0.2/src/VBox/VMM/Makefile.kmk
@@ -226,7 +226,6 @@ VBoxVMM_SOURCES = \
VMMAll/VMMAll.cpp
VBoxVMM_SOURCES.amd64 += \
VMMR3/PGMR3DbgA.asm \
- $(if-expr !defined(IEM_WITHOUT_ASSEMBLY),VMMAll/IEMAllAImpl.asm,) \
VMMAll/VMMAllA.asm
ifdef VBOX_WITH_VUSB
VBoxVMM_SOURCES += VMMR3/PDMUsb.cpp
@@ -545,7 +544,6 @@ if defined(VBOX_WITH_R0_MODULES) && !def
VMMAll/HMVMXAll.cpp \
VMMAll/IEMAll.cpp \
VMMAll/IEMAllInstructionsInterpretOnly.cpp \
- $(if-expr !defined(IEM_WITHOUT_ASSEMBLY),VMMAll/IEMAllAImpl.asm,) \
VMMAll/IEMAllAImplC.cpp \
VMMAll/IEMAllCImpl.cpp \
VMMAll/IEMAllCImplSvmInstr.cpp \
Index: VirtualBox-7.0.2/src/VBox/Devices/Makefile.kmk
===================================================================
--- VirtualBox-7.0.2.orig/src/VBox/Devices/Makefile.kmk
+++ VirtualBox-7.0.2/src/VBox/Devices/Makefile.kmk
@@ -1234,6 +1234,7 @@ VBOX_WITH_VMSVGA3D_DYNAMIC_LOAD = 1
else
VBoxDDR0_TEMPLATE = VBoxR0
endif
+ VBoxDDR0_MEMSET = "y"
VBoxDDR0_DEFS = \
$(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \
$(if $(VBOX_WITH_IOMMU_AMD),VBOX_WITH_IOMMU_AMD,) \
Index: VirtualBox-7.0.2/src/VBox/Devices/Network/DevE1000.cpp
===================================================================
--- VirtualBox-7.0.2.orig/src/VBox/Devices/Network/DevE1000.cpp
+++ VirtualBox-7.0.2/src/VBox/Devices/Network/DevE1000.cpp
@@ -44,7 +44,11 @@
#include <iprt/ctype.h>
#include <iprt/net.h>
#include <iprt/semaphore.h>
+#ifdef VBoxDDR0_MEMSET
+#include <iprt/nocrt/string.h>
+#else
#include <iprt/string.h>
+#endif
#include <iprt/time.h>
#include <iprt/uuid.h>
#include <VBox/vmm/pdmdev.h>