Re: Intention to work on GSoC project

2024-05-13 Thread Sahil
Hi, On Monday, May 13, 2024 7:53:40 PM GMT+5:30 Eugenio Perez Martin wrote: > [...] > > I have started working on implementing packed virtqueue support in > > vhost-shadow-virtqueue.c. The changes I have made so far are very > > minimal. I have one confusion as well. > > > > In "vhost_svq_add()"

Re: Intention to work on GSoC project

2024-05-13 Thread Eugenio Perez Martin
On Mon, May 13, 2024 at 3:49 PM Sahil wrote: > > Hi, > > On Wednesday, May 8, 2024 8:53:12 AM GMT+5:30 Sahil wrote: > > Hi, > > > > On Tuesday, May 7, 2024 12:44:33 PM IST Eugenio Perez Martin wrote: > > > [...] > > > > > > > Shall I start by implementing a mechanism to check if the feature bit >

Re: Intention to work on GSoC project

2024-05-13 Thread Sahil
Hi, On Wednesday, May 8, 2024 8:53:12 AM GMT+5:30 Sahil wrote: > Hi, > > On Tuesday, May 7, 2024 12:44:33 PM IST Eugenio Perez Martin wrote: > > [...] > > > > > Shall I start by implementing a mechanism to check if the feature bit > > > "VIRTIO_F_RING_PACKED" is set (using "virtio_vdev_has_featu

Re: Intention to work on GSoC project

2024-05-07 Thread Sahil
Hi, On Tuesday, May 7, 2024 12:44:33 PM IST Eugenio Perez Martin wrote: > [...] > > Shall I start by implementing a mechanism to check if the feature bit > > "VIRTIO_F_RING_PACKED" is set (using "virtio_vdev_has_feature")? And > > if it's supported, "vhost_svq_add" should call "vhost_svq_add_packe

Re: Intention to work on GSoC project

2024-05-07 Thread Eugenio Perez Martin
On Mon, May 6, 2024 at 9:00 PM Sahil wrote: > > Hi, > > It's been a while since I last gave an update. Sorry about that. I am ready > to get my hands dirty and start with the implementation. > No worries! > I have gone through the source of linux's drivers/virtio/virtio_ring.c [1], > and > QEMU

Re: Intention to work on GSoC project

2024-05-06 Thread Sahil
Hi, It's been a while since I last gave an update. Sorry about that. I am ready to get my hands dirty and start with the implementation. I have gone through the source of linux's drivers/virtio/virtio_ring.c [1], and QEMU's hw/virtio/virtio.c [2] and hw/virtio/vhost-shadow-virtqueue.c [3]. Befor

Re: Intention to work on GSoC project

2024-04-16 Thread Sahil
Hi, Thank you for your reply. On Tuesday, April 16, 2024 2:11:16 PM IST Eugenio Perez Martin wrote: > [...] > > After re-reading the linked articles, I think I have got some more > > clarity. One confusion was related to the difference between vdpa > > and vhost-vdpa. > > > > So far what I have

Re: Intention to work on GSoC project

2024-04-16 Thread Eugenio Perez Martin
On Mon, Apr 15, 2024 at 9:42 PM Sahil wrote: > > Hi, > > Thank you for your reply. > > On Monday, April 15, 2024 2:27:36 PM IST Eugenio Perez Martin wrote: > > [...] > > > I have one question though. One of the options (use case 1 in [1]) > > > > > > given to the "qemu-kvm" command is: > > > > -de

Re: Intention to work on GSoC project

2024-04-15 Thread Sahil
Hi, Thank you for your reply. On Monday, April 15, 2024 2:27:36 PM IST Eugenio Perez Martin wrote: > [...] > > I have one question though. One of the options (use case 1 in [1]) > > > > given to the "qemu-kvm" command is: > > > -device virtio-net-pci,netdev=vhost-vdpa0,bus=pcie.0,addr=0x7\ > > >

Re: Intention to work on GSoC project

2024-04-15 Thread Eugenio Perez Martin
On Sun, Apr 14, 2024 at 8:52 PM Sahil wrote: > > Hi, > > On Friday, April 5, 2024 12:36:02 AM IST Sahil wrote: > > [...] > > I'll set up this environment as well. > > I would like to post an update here. I spent the last week > trying to set up the environment as described in the blog [1]. > I ini

Re: Intention to work on GSoC project

2024-04-14 Thread Sahil
Hi, On Friday, April 5, 2024 12:36:02 AM IST Sahil wrote: > [...] > I'll set up this environment as well. I would like to post an update here. I spent the last week trying to set up the environment as described in the blog [1]. I initially tried to get the L1 VM running on my host machine (Arch

Re: Intention to work on GSoC project

2024-04-04 Thread Sahil
Hi, On Thursday, April 4, 2024 12:07:49 AM IST Eugenio Perez Martin wrote: > On Wed, Apr 3, 2024 at 4:36 PM Sahil wrote: > [...] > > I would like to clarify one thing in the figure "Full two-entries > > descriptor table". The driver can only overwrite a used descriptor in the > > descriptor ring,

Re: Intention to work on GSoC project

2024-04-03 Thread Eugenio Perez Martin
On Wed, Apr 3, 2024 at 4:36 PM Sahil wrote: > > Hi, > > Thank you for the reply. > > On Tuesday, April 2, 2024 5:08:24 PM IST Eugenio Perez Martin wrote: > > [...] > > > > > Q2. > > > > > In the Red Hat article, just below the first listing ("Memory layout > > > > > of a > > > > > packed virtqueu

Re: Intention to work on GSoC project

2024-04-03 Thread Sahil
Hi, Thank you for the reply. On Tuesday, April 2, 2024 5:08:24 PM IST Eugenio Perez Martin wrote: > [...] > > > > Q2. > > > > In the Red Hat article, just below the first listing ("Memory layout of > > > > a > > > > packed virtqueue descriptor"), there's the following line referring to > > > >

Re: Intention to work on GSoC project

2024-04-02 Thread Eugenio Perez Martin
On Tue, Apr 2, 2024 at 6:58 AM Sahil wrote: > > Hi, > > On Monday, April 1, 2024 11:53:11 PM IST daleyoung4...@gmail.com wrote: > > Hi, > > > > On Monday, March 25, 2024 21:20:32 CST Sahil wrote: > > > Q1. > > > Section 2.7.4 of the virtio spec [3] states that in an available > > > descriptor, the

Re: Intention to work on GSoC project

2024-04-01 Thread Sahil
Hi, On Monday, April 1, 2024 11:53:11 PM IST daleyoung4...@gmail.com wrote: > Hi, > > On Monday, March 25, 2024 21:20:32 CST Sahil wrote: > > Q1. > > Section 2.7.4 of the virtio spec [3] states that in an available > > descriptor, the "Element Length" stores the length of the buffer element. > >

Re: Intention to work on GSoC project

2024-04-01 Thread daleyoung4242
Hi, On Monday, March 25, 2024 21:20:32 CST Sahil wrote: > Q1. > Section 2.7.4 of the virtio spec [3] states that in an available descriptor, > the "Element Length" stores the length of the buffer element. In the next > few lines, it also states that the "Element Length" is reserved for used > desc

Re: Intention to work on GSoC project

2024-03-25 Thread Sahil
Hi, Thank you for your reply. On Wednesday, March 20, 2024 9:27:00 PM IST Eugenio Perez Martin wrote: > [...] > > Q1. > > Regarding the "Deep dive into Virtio-networking and vhost-net" > > article [3], the "Introduction" subsection of the "Vhost protocol" > > section mentions that sending the ava

Re: Intention to work on GSoC project

2024-03-20 Thread Eugenio Perez Martin
On Mon, Mar 18, 2024 at 8:47 PM Sahil wrote: > > Hi, > > I was reading the "Virtqueues and virtio ring: How the data travels" > article [1]. There are a few things that I have not understood in the > "avail rings" section. > > Q1. > Step 2 in the "Process to make a buffer available" diagram depict

Re: Intention to work on GSoC project

2024-03-20 Thread Eugenio Perez Martin
On Sat, Mar 16, 2024 at 9:27 PM Sahil wrote: > > Hi, > > Thank you for your reply. > > On Friday, March 15, 2024 4:57:39 PM IST Eugenio Perez Martin wrote: > > [...] > > > Some sections in the above docs were difficult to grasp. For the time > > > being, I have focused on those parts that I though

Re: Intention to work on GSoC project

2024-03-18 Thread Sahil
Hi, I was reading the "Virtqueues and virtio ring: How the data travels" article [1]. There are a few things that I have not understood in the "avail rings" section. Q1. Step 2 in the "Process to make a buffer available" diagram depicts how the virtio driver writes the descriptor index in the ava

Re: Intention to work on GSoC project

2024-03-16 Thread Sahil
Hi, Thank you for your reply. On Friday, March 15, 2024 4:57:39 PM IST Eugenio Perez Martin wrote: > [...] > > Some sections in the above docs were difficult to grasp. For the time > > being, I have focused on those parts that I thought were relevant > > to the project. > > Please feel free to a

Re: Intention to work on GSoC project

2024-03-15 Thread Eugenio Perez Martin
On Fri, Mar 15, 2024 at 8:15 AM Sahil wrote: > > Hi, > > Thank you for your email. > > On Thursday, March 14, 2024 8:39:45 PM IST Eugenio Perez Martin wrote: > > Hi Sahil, > > > > It's being hard to find a good self-contained small task related to > > the project to be honest. As it would be out o

Re: Intention to work on GSoC project

2024-03-15 Thread Sahil
Hi, Thank you for your email. On Thursday, March 14, 2024 8:39:45 PM IST Eugenio Perez Martin wrote: > Hi Sahil, > > It's being hard to find a good self-contained small task related to > the project to be honest. As it would be out of SVQ, would it be ok > for you if we start straight to the tas

Re: Intention to work on GSoC project

2024-03-14 Thread Eugenio Perez Martin
On Fri, Mar 1, 2024 at 7:29 PM Sahil wrote: > > Hi, > > On Friday, March 1, 2024 1:10:49 PM IST you wrote: > > [...] > > You can add the recently published > > "virtio-live-migration-technical-deep-dive" :) [1]. > > > > [1] > > https://developers.redhat.com/articles/2024/02/21/virtio-live-migratio

Re: Intention to work on GSoC project

2024-03-01 Thread Sahil
Hi, On Friday, March 1, 2024 1:10:49 PM IST you wrote: > [...] > You can add the recently published > "virtio-live-migration-technical-deep-dive" :) [1]. > > [1] > https://developers.redhat.com/articles/2024/02/21/virtio-live-migration-technical-deep-dive Thank you. This resource will help me co

Re: Intention to work on GSoC project

2024-02-29 Thread Eugenio Perez Martin
On Thu, Feb 29, 2024 at 9:32 AM Stefano Garzarella wrote: > > Hi Sahil, > > On Sun, Feb 25, 2024 at 10:38 PM Sahil wrote: > > > > Hi, > > > > My name is Sahil and I go by the pseudonym 'valdaarhun' on Github. I have > > never contributed to QEMU before but I have used it a few times as an end > >

Re: Intention to work on GSoC project

2024-02-29 Thread Sahil
Hi, Thank you for your reply. On Thursday, February 29, 2024 2:02:25 PM IST you wrote: > [...] > The first project is for sure related with migration. While vhost-user > memory isolation is not really related to migration, but both are > related to virtio devices. > [...] > Yeah, "bite-size" issu

Re: Intention to work on GSoC project

2024-02-29 Thread Stefano Garzarella
Hi Sahil, On Sun, Feb 25, 2024 at 10:38 PM Sahil wrote: > > Hi, > > My name is Sahil and I go by the pseudonym 'valdaarhun' on Github. I have > never contributed to QEMU before but I have used it a few times as an end > user. I developed an interest in virtualization during my internship at > VMw

Intention to work on GSoC project

2024-02-25 Thread Sahil
Hi, My name is Sahil and I go by the pseudonym 'valdaarhun' on Github. I have never contributed to QEMU before but I have used it a few times as an end user. I developed an interest in virtualization during my internship at VMware and would like to dive deeper in this subfield. My current full-ti