qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Libvirt add ftrace option
@ 2016-08-16 14:03 Gadre Nayan
  2016-08-16 14:18 ` Daniel P. Berrange
  0 siblings, 1 reply; 6+ messages in thread
From: Gadre Nayan @ 2016-08-16 14:03 UTC (permalink / raw)
  To: qemu-devel, qemu-discuss; +Cc: stefanha, Stefan Hajnoczi

Hi,

I am able to get traces from Guest kernel + QEMU + Host kernel using the
qemu -trace evetns=/tmp/events option

My complete command line is:
/home/gnayan/QEMU-devel/qemu-ubuntu/qemu/x86_64-softmmu/qemu-system-x86_64
-trace events=/home/gnayan/qemu_events -drive
file=/home/gnayan/CUSTOM_QEMU_SYSTEM/UBUNTU/ubuntu.img,if=virtio,format=raw
-drive file=/home/gnayan/CUSTOM_QEMU_SYSTEM/UBUNTU/u1.img,if=virtio,format=raw
-m 1G -net nic,model=virtio -net user -redir tcp:2222::22 -redir
udp:5050::5050 -enable-kvm

How can I get the same using libvirt based tools:

I create the domain using:

virt-install -n vm1 -r 1024 --disk
path=/home/gnayan/CUSTOM_QEMU_SYSTEM/UBUNTU/ubuntu.img,bus=virtio
--network network=default,model=virtio

Is the trace option available ?

Thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-17  8:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 14:03 [Qemu-devel] Libvirt add ftrace option Gadre Nayan
2016-08-16 14:18 ` Daniel P. Berrange
2016-08-16 14:24   ` Gadre Nayan
2016-08-16 14:35     ` Daniel P. Berrange
2016-08-17  4:13       ` Gadre Nayan
2016-08-17  8:56         ` Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).