qdev: Track runtime machine modifications