#!/bin/bash

#exec strace -f -- \
/usr/bin/qemu-kvm -S -M pc-0.14 -enable-kvm -m 2048 \
	-smp 2,sockets=2,cores=1,threads=1 \
	-name f16-test-1 \
	-uuid 13c7da9b-a79a-0688-267a-8206136bc8d6 \
	-nodefconfig -nodefaults \
	-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/f16-test-1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control \
	-rtc base=utc \
	-no-shutdown \
	-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 \
	-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
	-drive file=/var/lib/libvirt/images/f16-test-1.img,if=none,id=drive-virtio-disk0,format=raw \
	-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
	-netdev user,id=hostnet0 \
	-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:9a:9d:63,bus=pci.0,addr=0x3 \
	-chardev pty,id=charserial0 \
	-device isa-serial,chardev=charserial0,id=serial0 \
	-chardev spicevmc,id=charchannel0,name=vdagent \
	-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
	-device usb-tablet,id=input0 \
	-spice port=5900,addr=127.0.0.1,disable-ticketing \
	-vga qxl -global qxl-vga.vram_size=67108864 \
	-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
	-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
	-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 \
	$*

