update nestedvm for the new classgen api