[Qemu-devel] Guest bandwidth setting

2014-03-30 Thread Pradeep Kiruvale
Hi All, I am new to QEMU. I am implementing some functionality where in I need to set the bandwidth control for my guest vms.Please let me know how can I do it. I am looking into net/net.c file,I dint find any leads.I tried two ways. I am trying to find how to set virtual nics(in my case

[Qemu-devel] qemu projects

2014-04-09 Thread Pradeep Kiruvale
Hi All, I am new to qemu-kvm.But have good knowledge about virtulization and cloud computing.I would like to do some projects in qemu-kvm.Please let me know how can I start. Please suggest me some small projects which I can take up and finish in 2-3 weeks. Regards, Pradeep

Re: [Qemu-devel] qemu projects

2014-04-24 Thread Pradeep Kiruvale
Hi Stefan, Thanks I will follow your suggestion. Regards, Pradeep On 24 April 2014 14:10, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Apr 09, 2014 at 07:28:15PM +0200, Pradeep Kiruvale wrote: I am new to qemu-kvm.But have good knowledge about virtulization and cloud computing.I

[Qemu-devel] DMAR not present in guest

2015-08-11 Thread Pradeep Kiruvale
Hi All, I am using linux 4.0 kernel on host side and 3.19 on guest side. I have enabled the iommu and nested virtualization on host. The DMAR is visible in the host side and when I start a VM using qemu-kvm, the same DMAR not visible on the guest side. But it says IOMMU is enabled when I look

Re: [Qemu-devel] Adding throttling to virtio-9p

2016-06-09 Thread Pradeep Kiruvale
On 7 June 2016 at 15:48, Greg Kurz <gr...@kaod.org> wrote: > On Tue, 7 Jun 2016 10:20:51 +0200 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > Hi All, > > > > I am trying to add the throttle to the virtio-9p devices using the > throttle >

[Qemu-devel] Adding throttling to virtio-9p

2016-06-07 Thread Pradeep Kiruvale
Hi All, I am trying to add the throttle to the virtio-9p devices using the throttle APIs that are already exists in the qemu. I need help to understand the device model and where to add the throttling. I am digging through the code since a week or so but failed to understand how to tell the

Re: [Qemu-devel] [Qemu-discuss] iolimits for virtio-9p

2016-06-01 Thread Pradeep Kiruvale
Thanks Alberto. Regards, Pradeep On 6 May 2016 at 14:16, Alberto Garcia <be...@igalia.com> wrote: > On Fri 06 May 2016 09:39:13 AM CEST, Pradeep Kiruvale wrote: > > >> The throttling API is currently only used by block devices, and the > >> only documentatio

Re: [Qemu-devel] Virtio-9p and cgroup io-throttling

2016-04-11 Thread Pradeep Kiruvale
e's also the old fashion method: > > # echo $$ > /sys/fs/cgroup/blkio/test/tasks > # qemu. > > This being said, QEMU is a regular userspace program that is completely > cgroup > agnostic. It won't behave differently than 'dd if=/dev/sdb of=/dev/null'. > > This really d

Re: [Qemu-devel] Virtio-9p and cgroup io-throttling

2016-04-08 Thread Pradeep Kiruvale
gt; the > throttle setttings. > *I started the qemu with cgroup as below* *cgexec -g blkio:/test qemu...* *Is there any other way of starting the qemu in cgroup?* Regards, Pradeep > > > Regards, > > Pradeep > > > > Cheers. > > -- > Greg > > &g

Re: [Qemu-devel] Virtio-9p and cgroup io-throttling

2016-04-08 Thread Pradeep Kiruvale
n Thu, 7 Apr 2016 11:48:27 +0200 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > > Hi All, > > > > I am using virtio-9p for sharing the file between host and guest. To test > > the shared file I do read/write options in the guest.To have controlled > io,

[Qemu-devel] Virtio-9p and cgroup io-throttling

2016-04-07 Thread Pradeep Kiruvale
Hi All, I am using virtio-9p for sharing the file between host and guest. To test the shared file I do read/write options in the guest.To have controlled io, I am using cgroup blkio. While using cgroup I am facing two issues,Please find the issues below. 1. When I do IO throttling using the

Re: [Qemu-devel] Virtio-9p

2016-04-04 Thread Pradeep Kiruvale
may try to use KSM (Kernel Same-page Merging) in the host. > > We are using these things also, we want to reduce the foot print as much as possible. Regards, Pradeep > > Regards, > > Pradeep > > > > On 31 March 2016 at 18:12, Greg Kurz <gk...@linux.vnet.ibm.

[Qemu-devel] Virtio-9p

2016-03-30 Thread Pradeep Kiruvale
Hi All, Is virtio-9p-pci device only supports the fsdev deices? I am trying to use -drive option for applying QoS for block device using Virtio-9p-pci device, but failing to create/add a device other than fsdev. Can you please help me on this? Regards, Pradeep

Re: [Qemu-devel] Virtio-9p

2016-03-30 Thread Pradeep Kiruvale
. Regards, Pradeep On 30 March 2016 at 16:13, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > On Wed, 30 Mar 2016 14:10:38 +0200 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > > Hi All, > > > > Is virtio-9p-pci device only supports the fsdev deices?

Re: [Qemu-devel] [Qemu-discuss] iolimits for virtio-9p

2016-04-28 Thread Pradeep Kiruvale
On 27 April 2016 at 19:12, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > On Wed, 27 Apr 2016 16:39:58 +0200 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > > On 27 April 2016 at 10:38, Alberto Garcia <be...@igalia.com> wrote: > > > > > O

Re: [Qemu-devel] iolimits for virtio-9p

2016-04-26 Thread Pradeep Kiruvale
Hi Stefan, Thanks for the reply and adding Alberto. I am going through those APIs already. Thanks & Regards, Pradeep On 26 April 2016 at 11:21, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Tue, Apr 19, 2016 at 02:09:24PM +0200, Pradeep Kiruvale wrote: > > We are pl

Re: [Qemu-devel] [Qemu-discuss] iolimits for virtio-9p

2016-04-27 Thread Pradeep Kiruvale
On 27 April 2016 at 10:38, Alberto Garcia <be...@igalia.com> wrote: > On Wed, Apr 27, 2016 at 09:29:02AM +0200, Pradeep Kiruvale wrote: > > > Thanks for the reply. I am still in the early phase, I will let you > > know if any changes are needed for the APIs. &g

Re: [Qemu-devel] [Qemu-discuss] iolimits for virtio-9p

2016-04-27 Thread Pradeep Kiruvale
On 26 April 2016 at 14:08, Alberto Garcia <be...@igalia.com> wrote: > On Tue 19 Apr 2016 02:09:24 PM CEST, Pradeep Kiruvale wrote: > > > We are planning to implement the io-limits for the virtio-9p driver > > i.e for fsdev devices. > > So, I am looking into the

Re: [Qemu-devel] [Qemu-discuss] iolimits for virtio-9p

2016-05-02 Thread Pradeep Kiruvale
On 2 May 2016 at 14:57, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > On Thu, 28 Apr 2016 11:45:41 +0200 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > > On 27 April 2016 at 19:12, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > > > > >

Re: [Qemu-devel] [Qemu-discuss] iolimits for virtio-9p

2016-05-06 Thread Pradeep Kiruvale
On 4 May 2016 at 17:40, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > On Mon, 2 May 2016 17:49:26 +0200 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > > On 2 May 2016 at 14:57, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > > > > >

Re: [Qemu-devel] [Qemu-discuss] iolimits for virtio-9p

2016-05-06 Thread Pradeep Kiruvale
On 6 May 2016 at 09:02, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > On Fri, 6 May 2016 08:01:09 +0200 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > > On 4 May 2016 at 17:40, Greg Kurz <gk...@linux.vnet.ibm.com> wrote: > > > > >

[Qemu-devel] iolimits for virtio-9p

2016-04-19 Thread Pradeep Kiruvale
Hi All, We are planning to implement the io-limits for the virtio-9p driver i.e for fsdev devices. So, I am looking into the code base and how it has done for the block io devices. I would like to know how difficult is this and is there some one out there who has any plan to do this? Any

Re: [Qemu-devel] [PATCH V12] fsdev: add IO throttle support to fsdev devices

2017-01-23 Thread Pradeep Kiruvale
On 23 January 2017 at 10:32, Greg Kurz wrote: > On Thu, 12 Jan 2017 11:57:25 -0500 > Pradeep Jagadeesh wrote: > > > Signed-off-by: Pradeep Jagadeesh > > --- > > fsdev/Makefile.objs | 2 +- > >

Re: [Qemu-devel] [RFC PATCH] throttle: move throttling cmdline options to a separate header file

2017-01-18 Thread Pradeep Kiruvale
On 22 November 2016 at 13:55, wrote: > Hi, > > Your series seems to have some coding style problems. See output below for > more information: > > Subject: [Qemu-devel] [RFC PATCH] throttle: move throttling cmdline > options to a separate header file > Type: series >

[Qemu-devel] Throttle in virtio-net

2016-09-02 Thread Pradeep Kiruvale
Hi All, I am planning to implement throttling functionality for virtio-net driver using the throttling APIs that exist inside qemu. Please let me know if someone already working on the same. Asking because I do not want to just replicate the work. Thanks & Regards, Pradeep

Re: [Qemu-devel] [Qemu-discuss] Throttle in virtio-net

2016-09-05 Thread Pradeep Kiruvale
Hi Alberto, Thanks for your reply. > > > I am planning to implement throttling functionality for virtio-net > > driver using the throttling APIs that exist inside qemu. > > Hi Pradeep, > > the problem with implementing throttling for the network is that > it's useless if you use the vhost_net

[Qemu-devel] Virtio-net cli parameters

2016-09-26 Thread Pradeep Kiruvale
Hi All, I want to add couple of new cli options for the virtio-net driver and use them inside the virtio-net driver to throttle the packets. I did go through the code and did single stepping using the gdb, but still could not find the place where the virtio-net parameters are getting parsed and

Re: [Qemu-devel] Virtio-net cli parameters

2016-09-29 Thread Pradeep Kiruvale
Hi Stefan, On 28 September 2016 at 10:29, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Mon, Sep 26, 2016 at 05:41:55PM +0200, Pradeep Kiruvale wrote: > > I want to add couple of new cli options for the virtio-net driver and use > > them inside the > > vi

Re: [Qemu-devel] Virtio-net cli parameters

2016-10-10 Thread Pradeep Kiruvale
On 10 October 2016 at 11:26, Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > Hi Stefan, > > Thanks for the reply. > > On 30 September 2016 at 15:49, Stefan Hajnoczi <stefa...@gmail.com> wrote: > >> On Thu, Sep 29, 2016 at 04:11:27PM +0200, Pr

[Qemu-devel] Adding new source files

2016-08-24 Thread Pradeep Kiruvale
Hi All, I have added two new files (.h/.c) file in 9pfs for some new feature. When I compile there is a lot of compilation time errors and also I do not see a dependency file getting created for this source file. Please let me know how can I fix this, is there a place where I need to mention the

Re: [Qemu-devel] Virtio-net cli parameters

2016-09-29 Thread Pradeep Kiruvale
On 28 September 2016 at 10:29, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Mon, Sep 26, 2016 at 05:41:55PM +0200, Pradeep Kiruvale wrote: > > I want to add couple of new cli options for the virtio-net driver and use > > them inside the > > virtio-net driver to thr

Re: [Qemu-devel] 9p as rootfs

2016-09-28 Thread Pradeep Kiruvale
Hi Marcin, Hope you have compiled the qemu with virtfs enabled.i.e --enable-virtfs And the cli looks like this. But I am working on x86 not ARM. -fsdev local,id=root,path=${ROOTFS},security_model=none,writeout=immediate -device virtio-9p-pci,fsdev=root,mount_tag=/dev/root -Regards, Pradeep

Re: [Qemu-devel] Virtio-net cli parameters

2016-10-14 Thread Pradeep Kiruvale
On 14 October 2016 at 15:26, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Mon, Oct 10, 2016 at 03:00:20PM +0200, Pradeep Kiruvale wrote: > > On 10 October 2016 at 11:26, Pradeep Kiruvale <pradeepkiruv...@gmail.com > > > > wrote: > > > > >

Re: [Qemu-devel] [RFC PATCH] throttle: move throttling cmdline options to a separate header file

2016-11-23 Thread Pradeep Kiruvale
On 23 November 2016 at 13:13, Greg Kurz <gr...@kaod.org> wrote: > On Tue, 22 Nov 2016 16:02:12 +0100 > Pradeep Kiruvale <pradeepkiruv...@gmail.com> wrote: > > > On 22 November 2016 at 14:55, Greg Kurz <gr...@kaod.org> wrote: > > > > > On Tue,

Re: [Qemu-devel] [RFC PATCH] throttle: move throttling cmdline options to a separate header file

2016-11-22 Thread Pradeep Kiruvale
On 22 November 2016 at 14:55, Greg Kurz wrote: > On Tue, 22 Nov 2016 14:51:12 +0100 > Alberto Garcia wrote: > > > On Tue 22 Nov 2016 01:49:51 PM CET, Greg Kurz wrote: > > > > > This will allow other subsystems (i.e. fsdev) to implement throttling > > > without

Re: [Qemu-devel] Virtio-net cli parameters

2016-10-10 Thread Pradeep Kiruvale
Hi Stefan, Thanks for the reply. On 30 September 2016 at 15:49, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Thu, Sep 29, 2016 at 04:11:27PM +0200, Pradeep Kiruvale wrote: > > Hi Stefan, > > > > On 28 September 2016 at 10:29, Stefan Hajnoczi <stefa...@gmail.

[Qemu-devel] vsock Vs 9p Vs block

2017-07-26 Thread Pradeep Kiruvale
Hi All, I am trying to compare nfs-vsock, virtio-9p, block drives to know which is better in terms of performance to share the files between the guest and host. If someone did some kind of a benchmarking of Vsock Vs 9P Vs block, please share the results/numbers. Regards, Pradeep

[Qemu-devel] VM-Migration

2017-04-26 Thread Pradeep Kiruvale
Hi All, Is it possible to enable/disable to migration features on the fly for a qemu VM? I mean through qmp interface kind of a interface? I am asking this because keeping the dirty memory list, this could consume some compute and memory. So, the plan is to enable when the VM needs to be

Re: [Qemu-devel] VM-Migration

2017-04-27 Thread Pradeep Kiruvale
On 26 April 2017 at 18:14, Dr. David Alan Gilbert <dgilb...@redhat.com> wrote: > * Pradeep Kiruvale (pradeepkiruv...@gmail.com) wrote: > > Hi All, > > > > Is it possible to enable/disable to migration features on the fly for a > > qemu VM? > > I mean th

Re: [Qemu-devel] [PATCH v7 2/6] qmp: Create IOThrottle structure

2017-08-18 Thread Pradeep Kiruvale
On Aug 16, 2017 11:41 PM, "Markus Armbruster" wrote: Eric Blake writes: > On 08/16/2017 11:13 AM, Markus Armbruster wrote: >> Markus Armbruster writes: >> > >>> >>> Conclusion: no consensus, yet. >> >> All right, let's start over and