# qemu config file # The config file doesn't yet cover all possible options. # # minimum command line: # qemu -nodefaults -vga cirrus -readconfig $thisfile # # you might want to add these switches: # -enable-kvm -m -smp -vnc -monitor # # create a new config file for your guest, for the bits already covered: # qemu -writeconfig .cfg ##################################################### # host side configuration [drive "hda"] if = "none" file = "/vmdisk/arch-x86.img" [drive "hdc"] if = "none" media = "cdrom" [drive "sda"] if = "none" file = "/vmdisk/test-lsi-1.img" [drive "sdb"] if = "none" file = "/vmdisk/test-lsi-2.img" [drive "vda"] if = "none" file = "/vmdisk/test-vio-1.img" [chardev "ttyS0"] backend = "vc" cols = "100" rows = "50" [netdev "eth0"] type = "user" ##################################################### # guest devices [device] driver = "ide-drive" bus = "ide.0" drive = "hda" [device] driver = "ide-drive" bus = "ide.1" drive = "hdc" [device] driver = "isa-serial" chardev = "ttyS0" [device] driver = "e1000" netdev = "eth0" mac = "52:54:00:78:23:6f" addr = "06.0" [device] driver = "AC97" addr = "05.0" [device] driver = "virtio-balloon-pci" addr = "08.0" [device] driver = "virtio-blk-pci" addr = "0c.0" drive = "vda" [device "lsi"] driver = "lsi53c895a" addr = "0a.0" [device] driver = "scsi-disk" bus = "lsi.0" scsi-id = "0" drive = "sda" [device] driver = "scsi-disk" bus = "lsi.0" scsi-id = "2" drive = "sdb"