Virtualbox is an x86 and x86_64 virtualization product for home and enterprise use. A lot of people use it for virtualization on their desktop because it comes with a nice GUI, but it can actually be well managed (and scripted) from the CLI.

Setup the repo

Install dependencies

yum update && yum -y install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

Install Virtualbox 4.3

yum -y install VirtualBox-4.3

Setup Kernel Modules

service vboxdrv setup

List VMs and Running VMs

VBoxManage list vms
VBoxManage list runningvms

Get more info on a specific VM

# $VMNAME is a name as your system sees it from the list vms
VBoxManage showvminfo $VMNAME

Hit the power button

VBoxManage controlvm acpipowerbutton

Pull the cord

VBoxManage controlvm $VMNAME poweroff

Power Off and save current state
With this option, you can resume your VM at any time and it will pick up right where it left off. Same processes running, etc.

VBoxManage controlvm $VMNAME savestate