use the embedded struct to minimize code repetition

Once https://github.com/cloudescape/govmx/pull/11 merged this code can be simplified.