add options and log API for VMs
add remaining options to VM API