Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT

2018-06-01 Thread Pavel Dovgalyuk
That’s right. Pavel Dovgalyuk From: Arnabjyoti Kalita [mailto:akal...@cs.stonybrook.edu] Sent: Friday, June 01, 2018 11:27 AM To: Pavel Dovgalyuk Cc: Stefan Hajnoczi; qemu-devel@nongnu.org; Pavel Dovgalyuk Subject: Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT Dear

Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT

2018-06-01 Thread Arnabjyoti Kalita
Dovgalyuk > > > > *From:* Arnabjyoti Kalita [mailto:akal...@cs.stonybrook.edu] > *Sent:* Thursday, May 31, 2018 11:14 PM > *To:* Pavel Dovgalyuk > *Cc:* Stefan Hajnoczi; qemu-devel@nongnu.org; Pavel Dovgalyuk > *Subject:* Re: [Qemu-devel] Recording I/O activity after KVM does a VME

Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT

2018-05-31 Thread Pavel Dovgalyuk
PM To: Pavel Dovgalyuk Cc: Stefan Hajnoczi; qemu-devel@nongnu.org; Pavel Dovgalyuk Subject: Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT Dear Pavel, Thank you for your answer. I am not being able to understand the difference between CPU I/Os and VM I/Os. Would any network

Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT

2018-05-31 Thread Arnabjyoti Kalita
Dear Pavel, Thank you for your answer. I am not being able to understand the difference between CPU I/Os and VM I/Os. Would any network packet that comes into the Guest OS from the outside be a part of VM I/O or CPU I/O ? I am only interested in "recording" and "replaying" those network packets th

Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT

2018-05-31 Thread Pavel Dovgalyuk
> From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > On Wed, May 30, 2018 at 11:19:13PM -0400, Arnabjyoti Kalita wrote: > > I am trying to implement a 'minimal' record-replay mechanism for KVM, which > > is similar to the one existing for TCG via -icount. I am trying to record > > I/O events only

Re: [Qemu-devel] Recording I/O activity after KVM does a VMEXIT

2018-05-31 Thread Stefan Hajnoczi
On Wed, May 30, 2018 at 11:19:13PM -0400, Arnabjyoti Kalita wrote: > I am trying to implement a 'minimal' record-replay mechanism for KVM, which > is similar to the one existing for TCG via -icount. I am trying to record > I/O events only (specifically disk and network events) when KVM does a > VME

[Qemu-devel] Recording I/O activity after KVM does a VMEXIT

2018-05-30 Thread Arnabjyoti Kalita
Hello all, I am trying to implement a 'minimal' record-replay mechanism for KVM, which is similar to the one existing for TCG via -icount. I am trying to record I/O events only (specifically disk and network events) when KVM does a VMEXIT. This has led me to the function kvm_cpu_exec where I can c