VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (637 - 639 of 16363)

Ticket Resolution Summary Owner Reporter
#1375 fixed AMD-V: system reboot -> fixed in SVN riker
Description

Dear All,

The system would reboot immediately after running a VM inside virtualbox. The detail information is summzried as below.

Hardware System: AMD64x2 3600 + AMD690G + 2GB RAM. Host System: Windows XP SP2. Virtualbox version: v1.5.6. Gust System: Fedora v6 and Kubuntu v7.10.

This issue is not happened every time. But, I encouner it today twice. First, I start the virtualbox. Chose a VM to execute. The whole system would be rebooted immeidately during the booting progress of guest system.

Could anyone give me some idea and I could capture something for the developemnt team to identify this issue? The log file I found in the VM direcotry is attached with this report. Thanks!

#12164 fixed API : Able to change VM settings while in Running state Max D
Description

Using Web Services & Java
Virtualbox version : 4.2.18 official release
API Version : 4.2.18 official package

Java version

noteirak@HB-Wheezy-4-2-18:/data$ java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Linux version

noteirak@HB-Wheezy-4-2-18:/data$ uname -a
Linux HB-Wheezy-4-2-18 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux
noteirak@HB-Wheezy-4-2-18:/data$ cat /etc/debian_version
7.1

Given the following bit of code

import org.virtualbox_4_2.IMachine;
import org.virtualbox_4_2.IProgress;
import org.virtualbox_4_2.ISession;
import org.virtualbox_4_2.IVirtualBox;
import org.virtualbox_4_2.LockType;
import org.virtualbox_4_2.VirtualBoxManager;

public class VBDebug {
   
   public static void main(String[] args) {
      System.out.println("Starting");
      VirtualBoxManager vboxManager = VirtualBoxManager.createInstance(null);
      vboxManager.connect("http://localhost:18083", "", "");
      IVirtualBox vbox = vboxManager.getVBox();
      
      IMachine machine = vbox.createMachine(null, Long.toString(System.currentTimeMillis()), null, "Other", null);
      System.out.println("VM UUID: " + machine.getId() + " | Name: " + machine.getName());
      machine.setMemorySize(128l);
      machine.saveSettings();
      vbox.registerMachine(machine);
      
      System.out.println("Starting VM");
      ISession session = vboxManager.getSessionObject();
      IProgress p = machine.launchVMProcess(session, "headless", null);
      p.waitForCompletion(-1);
      session.unlockMachine();
      
      System.out.println("VM state: "+machine.getState().toString());
      System.out.println("Memory Amount: " + machine.getMemorySize());
      
      System.out.println("Modifying VM settings");
      machine.lockMachine(session, LockType.Shared);
      session.getMachine().setMemorySize(256l);
      session.getMachine().saveSettings();
      session.unlockMachine();
      
      System.out.println("VM state: " + machine.getState().toString());
      System.out.println("Memory Amount: " + machine.getMemorySize());
      
      System.out.println("Stopping VM");
      machine.lockMachine(session, LockType.Shared);
      p = session.getConsole().powerDown();
      p.waitForCompletion(-1);
      session.unlockMachine();
      
      System.out.println("VM state: " + machine.getState().toString());
      System.out.println("Memory Amount: " + machine.getMemorySize());
      
      vboxManager.disconnect();
      vboxManager.cleanup();
      System.out.println("Closing");
   }
   
}

I am able to modify the VM settings while the VM is in a RUNNING state.
This is not possible with all the front-ends provided by Virtualbox, and from my understand should not be possible in the first place.

Output of the following code :

Starting
VM UUID: 842d4418-c686-44bf-9a71-6737d8f34e87 | Name: 1381166282364
Starting VM
VM state: Running
Memory Amount: 128
Modifying VM settings
VM state: Running
Memory Amount: 256
Stopping VM
VM state: PoweredOff
Memory Amount: 256
Closing


And some vboxmanage commands

noteirak@HB-Wheezy-4-2-18:/data$ vboxmanage showvminfo 1381166282364 | grep -i "memory size"
Memory size:     256MB
noteirak@HB-Wheezy-4-2-18:/data$ grep "Memory RAMSize" ~/VirtualBox\ VMs/1381166282364/1381166282364.vbox
      <Memory RAMSize="256" PageFusion="false"/>
#12379 fixed API : ISnapshotEvent throw exception on getting Snapshot UUID Max D
Description

While using the Java WebService API to work with Snapshot, I am unable to use the generated event objects. Any attempt to lookup the snapshot UUID will result in an exception.

I have attached the code to reproduce the issue with version 4.3.2 and 4.2.18 (each a specific Java file). My code assume that the web service is configured with null authentication.

4.2 Host

root@HB-Wheezy-4-2:~# uname -a
Linux HB-Wheezy-4-2 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
root@HB-Wheezy-4-2:~# java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
root@HB-Wheezy-4-2:~#

4.3 Host

root@HB-Wheezy-4-3:~# uname -a
Linux HB-Wheezy-4-3 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
root@HB-Wheezy-4-3:~# java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
root@HB-Wheezy-4-3:~#

The output for 4.3.2 :

VBox Version : 4.3.2 r90405
Skipping OnEventSourceChanged
Skipping OnMachineDataChanged
Skipping OnMachineStateChanged
Skipping OnMachineStateChanged
Skipping OnMachineDataChanged
org.virtualbox_4_3.VBoxException: VirtualBox error: Invalid managed object reference "7ba86778269d3cf5-0000000000000078"
	at org.virtualbox_4_3.ISnapshotEvent.getSnapshotId(ISnapshotEvent.java:54)
	at VBDebug_4_3.main(VBDebug_4_3.java:48)
Caused by: org.virtualbox_4_3.jaxws.InvalidObjectFaultMsg: VirtualBox error: Invalid managed object reference "7ba86778269d3cf5-0000000000000078"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
	at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
	at $Proxy33.iSnapshotEventGetSnapshotId(Unknown Source)
	at org.virtualbox_4_3.ISnapshotEvent.getSnapshotId(ISnapshotEvent.java:49)
	... 1 more
Skipping OnSessionStateChanged
Deleted VM

The output for 4.2.18 :

VBox Version : 4.2.18 r88780
Skipping OnEventSourceChanged
Skipping OnMachineDataChanged
Skipping OnMachineStateChanged
Skipping OnMachineStateChanged
Skipping OnMachineDataChanged
org.virtualbox_4_2.VBoxException: VirtualBox error: Invalid managed object reference "1bf581ecb2941a09-000000000000283e"
	at org.virtualbox_4_2.ISnapshotEvent.getSnapshotId(ISnapshotEvent.java:47)
	at VBDebug_4_2.main(VBDebug_4_2.java:48)
Skipping OnSessionStateChanged
Deleted VM

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy