Refactoring for VirtIO driver install