[Qemu-devel] Qemu NVME ubuntu 16.04 setup problems

2016-12-26 Thread Gadre Nayan
Hi, I am trying to test SPDK on a Virtual Machine with NVME support. I do not have NVME cards on the Host hence wanted to simulate the Hardware, I have install nvmeqemu (https://github.com/nvmeqemu/nvmeqemu) for that purpose. I installed Ubuntu 16.04 server on this, however when I use the "-smp

Re: [Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Gadre Nayan
16, 2016 at 07:54:50PM +0530, Gadre Nayan wrote: >> Hi, >> >> I have setup the merging of traces from Guest QEMU and Host using the >> TSC_OFFSET. So I would like to work with ftrace backend of QEMU. So >> how can I add this option in libvirt tools to enable ftrace backe

Re: [Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Gadre Nayan
to make changes to virt-install python script in the virt-manager tools for starters ( to parse the trace options :). Where else ? Thanks On Tue, Aug 16, 2016 at 7:48 PM, Daniel P. Berrange <berra...@redhat.com> wrote: > On Tue, Aug 16, 2016 at 07:33:30PM +0530, Gadre Nayan wrote: >&

[Qemu-devel] Libvirt add ftrace option

2016-08-16 Thread Gadre Nayan
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

[Qemu-devel] Virtio interaction with the physical device

2016-08-15 Thread Gadre Nayan
Hi, I was trying to understand the flow of packets from the Guest OS to my NIC card, while using the Virtio paravirtualized drivers. (Qemu is not emulating the NIC) THis is as far as I have understood: { THe guest OS starts with a virtio nic: -net nic,model=virtio -net user -redir tcp:::22

[Qemu-devel] Fwd: Virtio related trace events.

2016-08-08 Thread Gadre Nayan
ilter echo virtio_queue_rq >> /sys/kernel/debug/tracing/set_ftrace_filter However the traces don't show a virt related event. I launch QEMU using: qemu-system-x86_64 -drive file=/home/gnayan/CUSTOM_QEMU_SYSTEM/UBUNTU/ubuntu.img,if=virtio,format=raw -m 1G -net nic,model=virtio -net user -redir

[Qemu-devel] Virtio related trace events.

2016-08-08 Thread Gadre Nayan
I am unable to get the virtio related events in either the guest or the host. My understanding is that in the Guest OS, I will have a virtio-blk which is the driver, the device is the virtio-transport or the virtio-queue, then the virtio-queue will raise a kick to then dispatch the block request

[Qemu-devel] Trace Guest and Host

2016-08-03 Thread Gadre Nayan
Hi everyone, I wanted to setup a ftrace based mechanism to understand flows within the guest and host simultaneously. Are there mechanisms available to get traces from guest and host and then collate them to get a merged trace which helps to understand exact flow of guest with host ? OR generate

[Qemu-devel] e1000 not fully implemented

2016-07-28 Thread Gadre Nayan
Hi everyone, I am trying to get my Host Ubuntu Machines kernel and initrd to run in QEMU as well. Basically I have Host Ubuntu 16.04, with Linux kernel 4.4.13. I compiled the kernel (make, make modules modules_install, install etc.). So I have the following files: Initrd:

[Qemu-devel] Fwd: Understanding Qemu Block

2016-07-27 Thread Gadre Nayan
Hi, I have recently started working on QEMU and it seems a daunting task to say the least, hence I wanted some head-start. I have browsed the source but I still need to bring closer some dots so I can start working on some experimental changes. I will have to ask further questions based on my new