vm & vnet commands updated

I've synced it with latest dev branch
Thank you, I've just added check for 0xFFFE as well