I was using a VM on Vbox (Ubuntu 12.04) and from the virsh I tried:

virsh # dommemstat 2

and I got the following errors:

error: Failed to get memory statistics for domain 2
error: this function is not supported by the connection driver: virDomainMemoryStats

Are the Drivers for Vbox 4.2 incomplete?

--
Regards,
Arslan Waqar.