hw/boards: Add a MachineState parameter to kvm_type callback