On Tue, 6 Nov 2018 16:59:02 +0200 kaslevs@xxxxxxxxxx wrote: > From: Slavomir Kaslev <kaslevs@xxxxxxxxxx> > > To test, start a VM and assign it a valid (> 2) unused CID: > > you@host # qemu-system-x86_64 \ > -name guest2 --uuid 7edfdf4a-cb9e-11e8-b38a-173b58342476 \ > -m 4096 -boot d -enable-kvm -smp 3 -net nic -net user -hda $HOME/vm/guest2.img \ > -fsdev local,id=host,path=$HOME,security_model=mapped \ > -device virtio-9p-pci,fsdev=host,mount_tag=host \ > -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \ > -chardev pipe,id=charchannel1,path=/var/lib/test/fifo0 \ > -device virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel1,id=channel1,name=fifo0 \ > -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=3 It would be more helpful to specify what parameters are needed and why. The above isn't useful for me, as I run my guests with libvirt, and can hard code in extra parameters. But if I don't know what I need to hard code in, I can't simulate it. -- Steve > > and start `trace-cmd agent` on the guest as root: > > you@guest2 # trace-cmd agent > > Finally, start `trace-cmd record` on the host (running as root is only necessary > if the host will be traced too): > > you@host $ trace-cmd record -A guest2 -e irq -e sched > > Signed-off-by: Slavomir Kaslev <kaslevs@xxxxxxxxxx> >