001/* 002 * To change this license header, choose License Headers in Project Properties. 003 * To change this template file, choose Tools | Templates 004 * and open the template in the editor. 005 */ 006package org.anarres.qemu.exec.recipe; 007 008import org.anarres.qemu.exec.QEmuCustomOption; 009import org.anarres.qemu.exec.QEmuDeviceOption; 010import org.anarres.qemu.exec.QEmuMachineOption; 011import org.anarres.qemu.exec.util.QEmuOptionsList; 012 013/** 014 * Generic performance options for QEmu. 015 * 016 * @author shevek 017 */ 018public class QEmuPerformanceRecipe extends QEmuOptionsList { 019 020 public QEmuPerformanceRecipe() { 021 add(new QEmuMachineOption().withAcceleration(QEmuMachineOption.Acceleration.kvm, QEmuMachineOption.Acceleration.tcg)); 022 add(new QEmuDeviceOption.VirtioBalloon()); 023 // add(new QEmuCustomOption("-global", "virtio-blk-pci.scsi=off")); 024 } 025}