Re: [Qemu-devel] virtio-9p: hot-plug/unplug about virtio-9p device

2018-01-12 Thread Greg Kurz
On Thu, 11 Jan 2018 10:23:32 +0800 sochin.jiang wrote: > On 2018/1/8 18:10, Greg Kurz wrote: > > On Tue, 19 Dec 2017 13:41:12 +0800 > > sochin.jiang wrote: > > > >> Hi, guys. > >> > >> I'm looking for the hot-plug/unplug features of

Re: [Qemu-devel] virtio-9p: hot-plug/unplug about virtio-9p device

2018-01-10 Thread sochin . jiang
On 2018/1/8 18:10, Greg Kurz wrote: > On Tue, 19 Dec 2017 13:41:12 +0800 > sochin.jiang wrote: > >> Hi, guys. >> >> I'm looking for the hot-plug/unplug features of virtio-9p device >> recently, and found there's a lack of support. >> >> I am wondering why

Re: [Qemu-devel] virtio-9p: hot-plug/unplug about virtio-9p device

2018-01-08 Thread Greg Kurz
On Tue, 19 Dec 2017 13:41:12 +0800 sochin.jiang wrote: > Hi, guys. > > I'm looking for the hot-plug/unplug features of virtio-9p device > recently, and found there's a lack of support. > > I am wondering why ? Is there a reason. Actually, I write a qmp

[Qemu-devel] virtio-9p: hot-plug/unplug about virtio-9p device

2017-12-18 Thread sochin . jiang
Hi, guys. I'm looking for the hot-plug/unplug features of virtio-9p device recently, and found there's a lack of support. I am wondering why ? Is there a reason. Actually, I write a qmp command to support fsdev_add, then a device_add qmp will successfully add a virtio-9p

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

2016-04-11 Thread Pradeep Kiruvale
Hi Greg, Yes, it was nothing to do with the virtio-9p. I was writing at 4k Blocks now I changed it to 1K Block. This works fine for me. Thanks for your help. Regards, Pradeep On 8 April 2016 at 16:58, Greg Kurz wrote: > On Fri, 8 Apr 2016 14:55:29 +0200 > Pradeep

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

2016-04-08 Thread Greg Kurz
On Fri, 8 Apr 2016 14:55:29 +0200 Pradeep Kiruvale wrote: > Hi Greg, > > FInd my replies inline > > > > > > Below is the way how I add to blkio > > > > > > echo "8:16 8388608" > > > > /sys/fs/cgroup/blkio/test/blkio.throttle.write_bps_device > > > > > > > Ok, this

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

2016-04-08 Thread Pradeep Kiruvale
Hi Greg, FInd my replies inline > > > Below is the way how I add to blkio > > > > echo "8:16 8388608" > > > /sys/fs/cgroup/blkio/test/blkio.throttle.write_bps_device > > > > Ok, this just puts a limit of 8MB/s when writing to /dev/sdb for all > tasks in the test cgroup... but what about the

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

2016-04-08 Thread Greg Kurz
On Fri, 8 Apr 2016 11:51:05 +0200 Pradeep Kiruvale wrote: > Hi Greg, > > Thanks for your reply. > > Below is the way how I add to blkio > > echo "8:16 8388608" > > /sys/fs/cgroup/blkio/test/blkio.throttle.write_bps_device > Ok, this just puts a limit of 8MB/s when

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

2016-04-08 Thread Pradeep Kiruvale
Hi Greg, Thanks for your reply. Below is the way how I add to blkio echo "8:16 8388608" > /sys/fs/cgroup/blkio/test/blkio.throttle.write_bps_device The problem I guess is adding these task ids to the "tasks" file in cgroup These threads are started randomly and even then I add the PIDs to the

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

2016-04-08 Thread Greg Kurz
On Thu, 7 Apr 2016 11:48:27 +0200 Pradeep Kiruvale 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, > I am using cgroup blkio. > > While using

[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
Hi Greg, Thanks for your reply. > > I'm Cc'ing qemu-devel like in your previous posts, so QEMU experts may > jump in. > > > What I understand from the requirement for our project is if we use > > virtio-blk it caches the pages in the guest. We would like to avoid that > > AFAIK this is true

Re: [Qemu-devel] Virtio-9p

2016-04-01 Thread Greg Kurz
On Fri, 1 Apr 2016 09:09:32 +0200 Pradeep Kiruvale wrote: > Hi Greg, > Hi Pradeep, I'm Cc'ing qemu-devel like in your previous posts, so QEMU experts may jump in. > What I understand from the requirement for our project is if we use > virtio-blk it caches the pages

Re: [Qemu-devel] Virtio-9p

2016-03-31 Thread Greg Kurz
On Wed, 30 Mar 2016 16:27:48 +0200 Pradeep Kiruvale wrote: > Hi Greg, > Hi Pradeep, > Thanks for the reply. > > Let me put it this way, virtio-blk-pci is used for block IO on the devices > shared between the guest and the host. I don't really understand the

Re: [Qemu-devel] Virtio-9p

2016-03-30 Thread Pradeep Kiruvale
Hi Greg, Thanks for the reply. Let me put it this way, virtio-blk-pci is used for block IO on the devices shared between the guest and the host. Here I want to share the file and have QoS between the guests. So I am using the Virtio-9p-pci. Basically I want to have QoS for virtio-9p-pci.

Re: [Qemu-devel] Virtio-9p

2016-03-30 Thread Greg Kurz
On Wed, 30 Mar 2016 14:10:38 +0200 Pradeep Kiruvale wrote: > 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

[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

2015-08-10 Thread Stefan Hajnoczi
On Fri, Aug 07, 2015 at 10:21:47AM -0600, Linda wrote: As background, for the backend, I have been looking at the code, written by Anthony Liguori, and maintained by Aneesh Kumar (who I sent this email to, earlier). It looks to me (please correct me if I'm wrong, on this or any other

Re: [Qemu-devel] virtio-9p

2015-08-10 Thread Linda
On 8/10/2015 4:10 AM, Stefan Hajnoczi wrote: On Fri, Aug 07, 2015 at 10:21:47AM -0600, Linda wrote: As background, for the backend, I have been looking at the code, written by Anthony Liguori, and maintained by Aneesh Kumar (who I sent this email to, earlier). It looks to me (please

[Qemu-devel] virtio-9p

2015-08-07 Thread Linda
Hello, I am a summer intern under the Outreachy program (returning to software development after a long hiatus). I am developing a prototype of a xen front/back end for a 9p file transport. Since virtio is the most complete, and used, transport, I am using that as a model. I am

Re: [Qemu-devel] Virtio 9p live migration patches

2013-04-04 Thread Benoît Canet
Thanks for the explanations I'll start working on the patchset. Best regards Benoît Le Wednesday 03 Apr 2013 à 12:03:13 (+0530), Aneesh Kumar K.V a écrit : Benoît Canet benoit.ca...@irqsave.net writes: Thanks a lot, Do you have an idea of what is left to be done on it ? It has

Re: [Qemu-devel] Virtio 9p live migration patches

2013-04-04 Thread Paolo Bonzini
Il 04/04/2013 14:37, Benoît Canet ha scritto: We also need to ensure new 9p request are blocked. Migration runs with the VM paused. It would be simplest to flush all the requests before migrating, that's what the block layer does. (The migration of requests we have in virtio-blk, scsi-disk

Re: [Qemu-devel] Virtio 9p live migration patches

2013-04-04 Thread Benoît Canet
There is still the need to serialize the fid linked list. I saw in the current code base that virtio-blk.c was using the old API to serialize a linked list. Does writing support for serializing linked list in vmstate worth it ? Or is it better to keep the old API to serialize ? Regards Benoît

Re: [Qemu-devel] Virtio 9p live migration patches

2013-04-03 Thread Aneesh Kumar K.V
Benoît Canet benoit.ca...@irqsave.net writes: Thanks a lot, Do you have an idea of what is left to be done on it ? It has to rewritten with the new model with respect to migration. Also these is problem of how much time does it take to migrate the fid information ?. We also need to ensure

[Qemu-devel] Virtio 9p live migration patches

2013-04-02 Thread Benoît Canet
Hello Aneesh, I am interested in working on 9p live migration. I remember that you had some live migration related patches on github. I don't find these patches anymore. Do you still have them somewhere ? What was missing from it ? Best regards Benoît

Re: [Qemu-devel] Virtio 9p live migration patches

2013-04-02 Thread Aneesh Kumar K.V
Benoît Canet benoit.ca...@irqsave.net writes: Hello Aneesh, I am interested in working on 9p live migration. I remember that you had some live migration related patches on github. I don't find these patches anymore. Do you still have them somewhere ? What was missing from it ? Had to

Re: [Qemu-devel] Virtio 9p live migration patches

2013-04-02 Thread Benoît Canet
Thanks a lot, Do you have an idea of what is left to be done on it ? Best regards Benoît Le Wednesday 03 Apr 2013 à 00:00:53 (+0530), Aneesh Kumar K.V a écrit : Benoît Canet benoit.ca...@irqsave.net writes: Hello Aneesh, I am interested in working on 9p live migration. I

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2012-03-07 Thread M. Mohan Kumar
Hi Anthony, When I tried with ldconfig version 2.14.90, ldconfig successfully completed QEMU version: 1.0.50 Kernel version: 3.3.0-rc6+ Could you please try with recent ldconfig? On 02/22/2012 09:28 AM, C Anthony Risinger wrote: On Sat, Feb 18, 2012 at 11:38 AM, Aneesh Kumar K.V

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2012-02-23 Thread Aneesh Kumar K.V
On Tue, 21 Feb 2012 21:58:39 -0600, C Anthony Risinger anth...@xtfx.me wrote: On Sat, Feb 18, 2012 at 11:38 AM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Thu, 16 Feb 2012 06:20:21 -0600, C Anthony Risinger anth...@xtfx.me wrote: a) mapped FS security policy (xattrs)

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2012-02-21 Thread C Anthony Risinger
On Sat, Feb 18, 2012 at 11:38 AM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Thu, 16 Feb 2012 06:20:21 -0600, C Anthony Risinger anth...@xtfx.me wrote: a) mapped FS security policy (xattrs) causes `ldconfig` to abort()? root or normal user ... somehow `ldconfig` gets a

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2012-02-18 Thread Aneesh Kumar K.V
On Thu, 16 Feb 2012 06:20:21 -0600, C Anthony Risinger anth...@xtfx.me wrote: a) mapped FS security policy (xattrs) causes `ldconfig` to abort()? root or normal user ... somehow `ldconfig` gets a duplicate inode while constructing the cache, even though it already de-duped (confirmed via gdb

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2012-02-16 Thread C Anthony Risinger
if this doesn't thread correctly ... RE: http://lists.gnu.org/archive/html/qemu-devel/2011-09/msg03694.html On Thu, 29 Sep 2011 16:45:37 +0100, Daniel P. Berrange wrote: On Thu, Sep 29, 2011 at 08:52:14PM +0530, Aneesh Kumar K.V wrote: On Wed, 28 Sep 2011 16:18:07 +0100, Daniel P. Berrange

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2012-02-16 Thread Paul Brook
i see an error message has been added, which is great (i killed a couple hours of $%!@ until i noticed the truncated length was *exactly 32* bytes; silent truncation), but it would really be great if this restriction could be lifted, or at least mitigated by expanding the field some. is

[Qemu-devel] virtio-9p compiling error

2011-11-29 Thread erik . rull
Hi all, when compiling the 1.0-rc4 I get the following error. 0.14.0-kvm and 0.15.0-kvm were fine, I found no configure switch possibility to disable this code part. I really don't need it. Please help here: CClibhw64/9pfs/virtio-9p.o CClibhw64/9pfs/virtio-9p-local.o

Re: [Qemu-devel] virtio-9p compiling error

2011-11-29 Thread M. Mohan Kumar
Could you please give your host information? Such as gcc version, distro version etc? I could compile in my Fedora 15 x86-64 system using gcc 4.6.0 -- Regards, M. Mohan Kumar On Tuesday, November 29, 2011 06:27:00 PM erik.r...@rdsoftware.de wrote: Hi all, when compiling the 1.0-rc4 I get

Re: [Qemu-devel] virtio-9p compiling error

2011-11-29 Thread erik . rull
My host system is Debian 4.0 My compiler is gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Due to other hardware constraints I'm forced to this version as build machine. If you need more information, just let me know. Best regards, Erik

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2011-09-29 Thread Aneesh Kumar K.V
On Wed, 28 Sep 2011 16:18:07 +0100, Daniel P. Berrange berra...@redhat.com wrote: On Wed, Sep 28, 2011 at 05:22:06PM +0530, Harsh Bora wrote: On 09/22/2011 11:12 PM, Daniel P. Berrange wrote: I've noticed that if you use a virtio 9p filesystem with a mount_tag property value that is longer

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2011-09-28 Thread Harsh Bora
On 09/22/2011 11:12 PM, Daniel P. Berrange wrote: I've noticed that if you use a virtio 9p filesystem with a mount_tag property value that is longer than 32 bytes, it gets silently truncated. In virtio-9p-device.c len = strlen(conf-tag); if (len MAX_TAG_LEN) { len =

Re: [Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2011-09-28 Thread Daniel P. Berrange
On Wed, Sep 28, 2011 at 05:22:06PM +0530, Harsh Bora wrote: On 09/22/2011 11:12 PM, Daniel P. Berrange wrote: I've noticed that if you use a virtio 9p filesystem with a mount_tag property value that is longer than 32 bytes, it gets silently truncated. In virtio-9p-device.c len =

[Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2011-09-22 Thread Daniel P. Berrange
I've noticed that if you use a virtio 9p filesystem with a mount_tag property value that is longer than 32 bytes, it gets silently truncated. In virtio-9p-device.c len = strlen(conf-tag); if (len MAX_TAG_LEN) { len = MAX_TAG_LEN; } The header virtio-9p.h contains /*

Re: [Qemu-devel] virtio-9p is not working

2010-07-22 Thread Aneesh Kumar K. V
On Wed, 21 Jul 2010 17:27:47 +0900, Dallas Lee mswpl...@gmail.com wrote: Hi, I have trying to use the virtio-9p for my linux in QEMU, but without success. Here is my option for booting my qemu: i386-softmmu/qemu -kernel bzImage -append console=ttyS0

[Qemu-devel] virtio-9p is not working

2010-07-21 Thread Dallas Lee
Hi, I have trying to use the virtio-9p for my linux in QEMU, but without success. Here is my option for booting my qemu: i386-softmmu/qemu -kernel bzImage -append console=ttyS0 video=uvesafb:ywrap,overlay:rgb16,480x800...@60 root=/dev/nfs rw nfsroot=10.0.2.2:/root,udp ip=10.0.2.16:eth0:none

Re: [Qemu-devel] virtio-9p is not working

2010-07-21 Thread Cam Macdonell
On Wed, Jul 21, 2010 at 2:27 AM, Dallas Lee mswpl...@gmail.com wrote: Hi, I have trying to use the virtio-9p for my linux in QEMU, but without success. Here is my option for booting my qemu: i386-softmmu/qemu -kernel bzImage -append console=ttyS0

Re: [Qemu-devel] virtio-9p is not working

2010-07-21 Thread Venkateswararao Jujjuri (JV)
Cam Macdonell wrote: On Wed, Jul 21, 2010 at 2:27 AM, Dallas Lee mswpl...@gmail.com wrote: Hi, I have trying to use the virtio-9p for my linux in QEMU, but without success. Here is my option for booting my qemu: i386-softmmu/qemu -kernel bzImage -append console=ttyS0