VirtualBox

Changeset 29180 in vbox


Ignore:
Timestamp:
May 7, 2010 12:00:01 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61256
Message:

TestVBox.java: Made it continue listing VMs after encountering an inaccessible one. Test constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/java/tests/TestVBox.java

    r29166 r29180  
    3232            for (IMachine m : machs)
    3333            {
    34                 System.out.println("VM name: " + m.getName() + ", RAM size: " + m.getMemorySize() + "MB");
     34                try
     35                {
     36                    System.out.println("VM name: " + m.getName() + ", RAM size: " + m.getMemorySize() + "MB");
     37                    System.out.println(" HWVirt: " + m.getHWVirtExProperty(HWVirtExPropertyType.Enabled)
     38                                       + ", Nested Paging: " + m.getHWVirtExProperty(HWVirtExPropertyType.NestedPaging)
     39                                       + ", PAE: " + m.getCPUProperty(CPUPropertyType.PAE) );
     40                }
     41                catch (Throwable e)
     42                {
     43                    e.printStackTrace();
     44                }
    3545            }
    3646
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette