File tree Expand file tree Collapse file tree 3 files changed +0
-16
lines changed
Expand file tree Collapse file tree 3 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,9 @@ VBOX_BASE::VBOX_BASE() : VBOX_JOB() {
107107 headless = true ;
108108 log_pointer = 0 ;
109109 vm_pid = 0 ;
110- vboxsvc_pid = 0 ;
111110
112111#ifdef _WIN32
113112 vm_pid_handle = 0 ;
114- vboxsvc_pid_handle = 0 ;
115113#endif
116114}
117115
@@ -126,10 +124,6 @@ VBOX_BASE::~VBOX_BASE() {
126124 CloseHandle (vm_pid_handle);
127125 vm_pid_handle = NULL ;
128126 }
129- if (vboxsvc_pid_handle) {
130- CloseHandle (vboxsvc_pid_handle);
131- vboxsvc_pid_handle = NULL ;
132- }
133127#endif
134128}
135129
Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ struct VBOX_BASE : VBOX_JOB {
163163 std::streamoff log_pointer;
164164
165165 int vm_pid;
166- int vboxsvc_pid;
167166#ifdef _WIN32
168167 // the handle to the process for the VM
169168 // NOTE: we get a handle to the pid right after we parse it from the
@@ -172,9 +171,6 @@ struct VBOX_BASE : VBOX_JOB {
172171 // handle to the process, the OS is free to reuse the pid for some other
173172 // executable.
174173 HANDLE vm_pid_handle;
175-
176- // the handle to the vboxsvc process created by us in the sandbox'ed environment
177- HANDLE vboxsvc_pid_handle;
178174#endif
179175
180176 void dump_vmguestlog_entries ();
Original file line number Diff line number Diff line change @@ -1131,9 +1131,6 @@ int VBOX_VM::poll(bool log_state) {
11311131 // Is our environment still sane?
11321132 //
11331133#ifdef _WIN32
1134- if (aid.using_sandbox && vboxsvc_pid_handle && !process_exists (vboxsvc_pid_handle)) {
1135- vboxlog_msg (" Status Report: vboxsvc.exe is no longer running." );
1136- }
11371134 if (started_successfully && vm_pid_handle && !process_exists (vm_pid_handle)) {
11381135 vboxlog_msg (" Status Report: virtualbox.exe/vboxheadless.exe is no longer running." );
11391136 }
@@ -1258,9 +1255,6 @@ int VBOX_VM::poll2(bool log_state) {
12581255 // Is our environment still sane?
12591256 //
12601257#ifdef _WIN32
1261- if (aid.using_sandbox && vboxsvc_pid_handle && !process_exists (vboxsvc_pid_handle)) {
1262- vboxlog_msg (" Status Report: vboxsvc.exe is no longer running." );
1263- }
12641258 if (started_successfully && vm_pid_handle && !process_exists (vm_pid_handle)) {
12651259 vboxlog_msg (" Status Report: virtualbox.exe/vboxheadless.exe is no longer running." );
12661260 }
You can’t perform that action at this time.
0 commit comments