My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
AdvancedSettings  
Advanced Settings in phpVirtualBox
Manual
Updated Jul 19, 2011 by imooreya...@gmail.com

Introduction

Advanced settings that do not appear in the VirtualBox GUI have been added to phpVirtualBox. These can be enabled by setting or adding:

var $enableAdvancedConfig = true;

in config.php.

NOTE: though the following sections reference VBoxManage (a command line tool distributed with VirtualBox), phpVirtualBox does not use VBoxManage to perform these actions. VBoxManage equivalent commands are provided for documentation reference only.

The following options / actions are exposed:

Input Tab

An Input tab is available in the General section of Virtual Machines' settings windows.

Label VBoxManage equivalent
Keyboard VBoxManage modifyvm --keyboard
Mouse VBoxManage modifyvm --mouse

See the VBoxManage documentation at http://www.virtualbox.org for more information on these settings.

HPET and Host time sync

An HPET (High Precision Event Timer) setting is available in the System section on the Motherboard tab of Virtual Machines' settings windows.

A Disable host time sync option is available to disable time synchronization between the VirtualBox host and the virtual machine.

Label VBoxManage equivalent
HPET (high precision event timer) VBoxManage modifyvm --hpet
Disable host time sync VBoxManage setextradata "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1″

See the VBoxManage documentation at http://www.virtualbox.org for more information on these settings.

Acceleration

Acceleration settings are available in the System section on the Acceleration tab of Virtual Machines' settings windows.

Label VBoxManage equivalent
Enable VT-x/AMD-V VBoxManage modifyvm --hwvirtex
Enable Nested Paging VBoxManage modifyvm --nestedpaging
Enable Large Pages VBoxManage modifyvm --largepages
Enable exclusive use of the hardware virtualization extensions VBoxManage modifyvm --hwvirtexexcl
Enable VT-x VPID (Intel only) VBoxManage modifyvm --vtxvpid

See the VBoxManage documentation at http://www.virtualbox.org for more information on these settings.

VRDE Net Address

A Net Address setting is available in the Display section on the Remote Display tab of Virtual Machines' settings windows.

Label VBoxManage equivalent
Net Address VBoxManage modifyvm --vrdeaddress

See the VBoxManage documentation at http://www.virtualbox.org for more information on these settings.

Additional NAT Settings

Additional NAT settings are available in the Network section of Virtual Machines' settings windows when a network adapter's Attached To setting is configured as NAT.

Label VBoxManage equivalent
Proxy Only VBoxManage modifyvm --nataliasmode
Same Ports VBoxManage modifyvm --nataliasmode
Pass DNS Domain VBoxManage modifyvm --natdnspassdomain
DNS Proxy VBoxManage modifyvm --natdnsproxy
Use Host Resolver VBoxManage modifyvm --natdnshostresolver
Bind to IP VBoxManage modifyvm --natbindip

See the VBoxManage documentation at http://www.virtualbox.org for more information on these settings.

Media Selection has a Virtual Media Manager button

All media selection buttons have a Virtual Media Manager button that will allow direct access to the Virtual Media Manager.

Virtual Media Manager additional buttons

The Virtual Media Manager has additional buttons that will allow you to perform additional actions.

New

Opens the New Hard Disk wizard

Add

Allows you to add existing media to the global media registry

Add iSCSI

Allows you to add an iSCSI disk to the global media registry

The following options are available when adding an iSCSI disk:

Label VBoxManage equivalent
Server VBoxManage storageattach --server
Port VBoxManage storageattach --port
Internal Networking VBoxManage storageattach --intnet
Target VBoxManage storageattach --target
LUN VBoxManage storageattach --lun
Encoded VBoxManage storageattach --encodedlun
Username VBoxManage storageattach --username
Password VBoxManage storageattach --password

See the VBoxManage documentation at http://www.virtualbox.org for more information on these settings.

Comment by ingwie2...@gmail.com, Nov 12, 2011

Well, the only missing thing, is to set up NAT portforwarding right in the window. Other then that...nothing is missing. :)

Comment by tag...@gmail.com, Nov 13, 2011

What about add -norawr0... OpenBSD 5.0 cannot be installed like a guest host....See these:

"When I want to install OpenBSD on VirtualBox?, get the following error:

Segmentation Fault

This weird error comes up in OpenBSD’s installation script. To fix this, you should not use VirtualBox? GUI. You should run the following command in terminal:

VBoxSDL -norawr0 -vm OpenBSD

This command will run your virtual OpenBSD installation without weird Segmentation Fault errors.

Note that OpenBSD is my virtual machine name. You should change it with your VM name."

Or

https://wiki.archlinux.org/index.php/VirtualBox_Extras#Troubleshooting_OpenBSD

Comment by tag...@gmail.com, Nov 16, 2011

Any feedback please?

Comment by project member imooreya...@gmail.com, Nov 16, 2011

I'm sorry, but phpVirtualBox can't modify how VirtualBox? starts VMs. It can't tell it to pass the -norawr0 parameter or anything else. I recommend you start these types of guests manually using:

VBoxHeadless -noraw0 -s VMNAMEHERE

The real solution is for VirtualBox? to make this a configuration parameter that can be modified in the VM settings. If there is one already, I do not know of it.


Sign in to add a comment
Powered by Google Project Hosting