VM has the advantage of providing snapshots. They allow you to save the state of the machine - if the kernel assembly does not work, you simply restore the snapshot, and you can take as many snapshots as you have disk space to store them. You can also clone and redeploy the VM image, so you have many identical systems for testing.
The same experiments on a physical machine will require much more effort (cloning / cloning a disk, reinstalling the OS, etc.).
VirtualBox is a free cross-platform virtualization software.
Andy source
share