Re: [PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-07 Thread Haris Iqbal
On Fri, Jun 7, 2024 at 10:45 AM Gonglei (Arei) wrote: > > > > > -Original Message- > > From: Haris Iqbal [mailto:haris.iq...@ionos.com] > > Sent: Thursday, June 6, 2024 9:35 PM > > To: Gonglei (Arei) > > Cc: qemu-devel@nongnu.org; pet...@r

Re: [PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-06 Thread Haris Iqbal
On Tue, Jun 4, 2024 at 2:14 PM Gonglei wrote: > > From: Jialin Wang > > It is not feasible to obtain RDMA completion queue notifications > through poll/ppoll on the rsocket fd. Therefore, we create a thread > named rpoller for each rsocket fd and two eventfds: pollin_eventfd > and pollout_eventfd

Re: [PATCH-for-9.1 v2 2/3] migration: Remove RDMA protocol handling

2024-05-29 Thread Haris Iqbal
Hello, I am part of the storage kernel team which develops and maintains the RDMA block storage in IONOS. We work closely with Jinpu/Yu, and currently I am supporting Jinpu with this Qemu RDMA work. On Wed, May 29, 2024 at 11:49 AM Gonglei (Arei) via wrote: > > Hi, > > > -Original Message---

Fwd: simple qemu command not working

2020-05-22 Thread haris iqbal
Hi, I am having some trouble with spinning up a VM using qemu. The description is below. Can someone please point me in the right direction? -- Regards -Haris -- Forwarded message - From: haris iqbal Date: Wed, May 20, 2020 at 5:10 PM Subject: simple qemu command not working

[Qemu-devel] [PATCH 6/6] Migration: Recovering pages lost due to n/w failure during pc migration (destination)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 1 + include/sysemu/sysemu.h | 1 + migration/ram.c | 35 +++ migration/savevm.c| 12 4 files changed, 49 insertions(+) diff --git a/include/migration

[Qemu-devel] [PATCH 5/6] Migration: Recovering pages lost due to n/w failure during pc migration (source)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 5 + migration/migration.c | 2 ++ migration/savevm.c| 5 + 3 files changed, 12 insertions(+) diff --git a/include/migration/migration.h b/include/migration/migration.h index 4e4c0c8..5533832 100644

[Qemu-devel] [PATCH 1/6] Migration: Reconnect network in case of network failure during pc migration (source)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- hmp-commands.hx | 20 +++--- hmp.c | 4 +- include/migration/migration.h | 4 ++ migration/migration.c | 153 +- qapi-schema.json | 16 - qmp-commands.hx

[Qemu-devel] [PATCH 2/6] migration : General additions for migration recovery

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/qemu-file.h | 1 + migration/migration.c | 3 +++ migration/qemu-file.c | 5 + 3 files changed, 9 insertions(+) diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h index abedd46..56a51b9 100644 --- a

[Qemu-devel] [PATCH 4/6] Migration: New bitmap for postcopy migration failure

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 4 +++ migration/migration.c | 4 +++ migration/postcopy-ram.c | 3 ++ migration/ram.c | 73 ++- 4 files changed, 83 insertions(+), 1 deletion(-) diff --git a

[Qemu-devel] [PATCH 3/6] Migration: Reconnect network in case of network failure during pc migration (destination)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- hmp-commands.hx | 14 --- hmp.c | 3 +- include/migration/migration.h | 3 ++ migration/migration.c | 97 --- migration/postcopy-ram.c | 9 migration/savevm.c

[Qemu-devel] [PATCH 0/6] Recovery from network failure during Postcopy Migration

2016-08-21 Thread Md Haris Iqbal
used in the beginning. Md Haris Iqbal (6): Migration: Reconnect network in case of network failure during pc migration (source) migration : General additions for migration recovery Migration: Reconnect network in case of network failure during pc migration (destination) Migration: New

[Qemu-devel] [PATCH 0/2] Bitmap for recovery of postcopy migration from n/w failure

2016-08-15 Thread Md Haris Iqbal
A new bitmap to keep in track the pages that were lost in case there was a network failure during postcopy. The bitmap is used to req for those lost pages towards the end of migration. Md Haris Iqbal (2): Migration: New bitmap for postcopy migration failure Migration: Request lost pages (due

[Qemu-devel] [PATCH 2/2] Migration: Request lost pages (due to n/w failure) from source

2016-08-15 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 7 +++ migration/migration.c | 2 ++ migration/ram.c | 35 +++ migration/savevm.c| 19 +++ 4 files changed, 63 insertions(+) diff --git a

[Qemu-devel] [PATCH 1/2] Migration: New bitmap for postcopy migration failure

2016-08-15 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 3 +++ migration/migration.c | 8 -- migration/postcopy-ram.c | 2 +- migration/ram.c | 63 ++- 4 files changed, 72 insertions(+), 4 deletions(-) diff

Re: [Qemu-devel] [Qemu-devel [RFC] [WIP] v2] Keeping the Source side alive incase of network failure (Migration recovery from network failure)

2016-06-12 Thread haris iqbal
On Thu, Jun 9, 2016 at 2:11 AM, Eric Blake wrote: > On 06/08/2016 12:13 PM, Md Haris Iqbal wrote: > > The subject line is long, and has a typo (s/incase/in case/). Also, the > mailing list automatically prepends [Qemu-devel], so you shouldn't > repeat it manually. Better mig

[Qemu-devel] [Qemu-devel [RFC] [WIP] v1] Adding feature to reconnect with -r option to migrate command

2016-06-08 Thread Md Haris Iqbal
--- hmp-commands.hx | 10 +--- hmp.c | 4 ++- include/migration/migration.h | 1 + migration/migration.c | 60 +-- qapi-schema.json | 2 +- qmp-commands.hx | 3 ++- 6 files chan

[Qemu-devel] [Qemu-devel [RFC] [WIP] v2] Keeping the Source side alive incase of network failure (Migration recovery from network failure)

2016-06-08 Thread Md Haris Iqbal
--- include/migration/migration.h | 1 + migration/migration.c | 76 --- qapi-schema.json | 11 +-- vl.c | 4 +++ 4 files changed, 85 insertions(+), 7 deletions(-) diff --git a/include/migration/migration.

Re: [Qemu-devel] [Qemu-devel [RFC] [WIP] v1] Keeping the Source side alive incase of network failure (Migration recover from network failure)

2016-06-02 Thread haris iqbal
On Wed, Jun 1, 2016 at 9:45 PM, Dr. David Alan Gilbert wrote: > * Md Haris Iqbal (haris.p...@gmail.com) wrote: > > Remember to add a more detailed comment about what the patch is doing. Sure. I will do that in for the upcoming patches. > (And possibly split it up a bit more) Done,

[Qemu-devel] [Qemu-devel [RFC] [WIP] v1] Keeping the Destination side alive incase of network failure (Migration recover from network failure)

2016-05-31 Thread Md Haris Iqbal
--- include/migration/migration.h | 3 +++ migration/migration.c | 12 migration/savevm.c| 25 + 3 files changed, 32 insertions(+), 8 deletions(-) diff --git a/include/migration/migration.h b/include/migration/migration.h index ac2c12c..73

[Qemu-devel] [Qemu-devel [RFC] [WIP] v1] Keeping the Source side alive incase of network failure (Migration recover from network failure)

2016-05-31 Thread Md Haris Iqbal
--- include/migration/migration.h | 1 + migration/migration.c | 41 - vl.c | 4 3 files changed, 41 insertions(+), 5 deletions(-) diff --git a/include/migration/migration.h b/include/migration/migration.h index ac2c1

Re: [Qemu-devel] [GSOC 2016] Student Introduction

2016-05-23 Thread haris iqbal
On Mon, May 23, 2016 at 9:51 PM, Amit Shah wrote: > Hi Haris, > > On (Sun) 22 May 2016 [18:54:04], haris iqbal wrote: >> Hello everyone.. My name is Md Haris Iqbal. I am one of the students >> who has been selected to work with Qemu as part of GSoC 2016. I'll be

[Qemu-devel] [GSOC 2016] Student Introduction

2016-05-22 Thread haris iqbal
Hello everyone.. My name is Md Haris Iqbal. I am one of the students who has been selected to work with Qemu as part of GSoC 2016. I'll be working on recovering a postcopy migration in case of a network failure. The progress and details of the project can be seen in the following wikipage

Re: [Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in bsd-user/qemu.h

2016-05-03 Thread haris iqbal
On Wed, May 4, 2016 at 12:32 AM, Peter Maydell wrote: > On 3 May 2016 at 19:10, haris iqbal wrote: >> On Tue, May 3, 2016 at 11:02 PM, Sean Bruno wrote: >>> If this is the only patch needing review for the bsd-user code, please >>> put me down as Reviewed by. >>

Re: [Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in bsd-user/qemu.h

2016-05-03 Thread haris iqbal
On Tue, May 3, 2016 at 11:02 PM, Sean Bruno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > > On 05/03/16 02:45, haris iqbal wrote: >> Just a reminder. waiting for a review for the previous patch. >> >> On Tue, Apr 5, 2016 at 6:39 PM, Md Hari

Re: [Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in ui/shader.c

2016-05-03 Thread haris iqbal
On Tue, May 3, 2016 at 3:42 PM, Gerd Hoffmann wrote: > On Di, 2016-05-03 at 15:16 +0530, haris iqbal wrote: >> Just a reminder. waiting for a review for the previous patch. > > Patch is fine. Just stalled b/c we are in code freeze, I expect trivial > queue will pick this up

Re: [Qemu-devel] [Qemu-Devel] [PATCH] Changed malloc to g_malloc, free to g_free in linux-user/qemu.h

2016-05-03 Thread haris iqbal
Just a reminder. any more changes needed for this patch? or can it be merged? On Thu, Mar 31, 2016 at 4:27 PM, haris iqbal wrote: > On Thu, Mar 31, 2016 at 3:12 PM, Stefan Hajnoczi wrote: >> On Wed, Mar 30, 2016 at 09:58:41PM +0530, haris iqbal wrote: >>> On Wed, Mar 30, 2016

Re: [Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in ui/shader.c

2016-05-03 Thread haris iqbal
Just a reminder. waiting for a review for the previous patch. On Tue, Apr 5, 2016 at 6:51 PM, Md Haris Iqbal wrote: > Signed-off-by: Md Haris Iqbal > --- > ui/shader.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/ui/shader.c b/ui/shader

Re: [Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in bsd-user/qemu.h

2016-05-03 Thread haris iqbal
Just a reminder. waiting for a review for the previous patch. On Tue, Apr 5, 2016 at 6:39 PM, Md Haris Iqbal wrote: > Signed-off-by: Md Haris Iqbal > --- > bsd-user/qemu.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/bsd-user/qemu.h b/bsd-u

Re: [Qemu-devel] [PATCH v2] spapr: Don't set the TM ibm, pa-features bit in PR KVM mode

2016-05-02 Thread haris iqbal
mba.org's required tests for authentication". Just bringing this to peoples attention. I thought a patch might go unnoticed else. -- With regards, Md Haris Iqbal, Placement Coordinator, MTech IT NITK Surathkal, Contact: +91 8861996962

[Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in ui/shader.c

2016-04-05 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- ui/shader.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/shader.c b/ui/shader.c index 9264009..1ffddbe 100644 --- a/ui/shader.c +++ b/ui/shader.c @@ -83,12 +83,12 @@ GLuint qemu_gl_create_compile_shader(GLenum type, const

[Qemu-devel] [PATCH v1] Changed malloc to g_malloc, free to g_free in bsd-user/qemu.h

2016-04-05 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- bsd-user/qemu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index 03b502a..5fac42e 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -357,7 +357,7 @@ static inline void *lock_user(int type

Re: [Qemu-devel] [Qemu-Devel] [PATCH] Changed malloc to g_malloc, free to g_free in linux-user/qemu.h

2016-03-31 Thread haris iqbal
On Thu, Mar 31, 2016 at 3:12 PM, Stefan Hajnoczi wrote: > On Wed, Mar 30, 2016 at 09:58:41PM +0530, haris iqbal wrote: >> On Wed, Mar 30, 2016 at 7:39 PM, Stefan Hajnoczi wrote: >> > On Thu, Mar 24, 2016 at 12:02:03AM +0530, Md Haris Iqbal wrote: >> >>

Re: [Qemu-devel] [Qemu-Devel] [PATCH] Changed malloc to g_malloc, free to g_free in linux-user/qemu.h

2016-03-30 Thread haris iqbal
On Wed, Mar 30, 2016 at 7:39 PM, Stefan Hajnoczi wrote: > On Thu, Mar 24, 2016 at 12:02:03AM +0530, Md Haris Iqbal wrote: >> Signed-off-by: Md Haris Iqbal >> --- >> linux-user/qemu.h | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff

Re: [Qemu-devel] [Qemu-Devel] [PATCH] Changed malloc to g_malloc, free to g_free in linux-user/qemu.h

2016-03-30 Thread haris iqbal
Hi, Patch is attached in the previous mail. Looking forward to your review. On Tue, Mar 29, 2016 at 9:23 PM, haris iqbal wrote: > Hi, > > Can I get a respond for this patch. Is it complete, or did I miss something? > > > On Thu, Mar 24, 2016 at 12:02 AM, Md Haris Iqbal wrote

Re: [Qemu-devel] [Qemu-Devel] [PATCH] Changed malloc to g_malloc, free to g_free in linux-user/qemu.h

2016-03-29 Thread haris iqbal
Hi, Can I get a respond for this patch. Is it complete, or did I miss something? On Thu, Mar 24, 2016 at 12:02 AM, Md Haris Iqbal wrote: > Signed-off-by: Md Haris Iqbal > --- > linux-user/qemu.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/l

[Qemu-devel] [Qemu-Devel] [PATCH] Changed malloc to g_malloc, free to g_free in linux-user/qemu.h

2016-03-23 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- linux-user/qemu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 26b0ba2..3c3fd15 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -381,7 +381,7 @@ static inline void *lock_user(int

Re: [Qemu-devel] [PATCH] Changed malloc() to g_malloc() at places where return value was not being checked

2016-03-22 Thread haris iqbal
On Tue, Mar 22, 2016 at 10:16 PM, Peter Maydell wrote: > On 22 March 2016 at 16:15, haris iqbal wrote: >> One more question. About tracking down g_free(). I thought of >> submitting for linux-user/qemu.h first. As it is done in a function >> called lock_user(), which is

Re: [Qemu-devel] [PATCH] Changed malloc() to g_malloc() at places where return value was not being checked

2016-03-22 Thread haris iqbal
On Tue, Mar 22, 2016 at 9:35 PM, Paolo Bonzini wrote: > > > On 22/03/2016 16:52, haris iqbal wrote: >> On Tue, Mar 22, 2016 at 8:27 PM, Peter Maydell >> wrote: >>> On 22 March 2016 at 14:33, Md Haris Iqbal wrote: >>>> Signed-off-by: Md Haris Iqbal &g

Re: [Qemu-devel] [PATCH] Changed malloc() to g_malloc() at places where return value was not being checked

2016-03-22 Thread haris iqbal
On Tue, Mar 22, 2016 at 8:45 PM, Markus Armbruster wrote: > Md Haris Iqbal writes: > >> Signed-off-by: Md Haris Iqbal >> --- >> bsd-user/elfload.c | 2 +- >> bsd-user/qemu.h| 2 +- >> linux-user/qemu.h | 2 +- >> thunk.c| 2 +- >>

Re: [Qemu-devel] [PATCH] Changed malloc() to g_malloc() at places where return value was not being checked

2016-03-22 Thread haris iqbal
On Tue, Mar 22, 2016 at 8:27 PM, Peter Maydell wrote: > On 22 March 2016 at 14:33, Md Haris Iqbal wrote: >> Signed-off-by: Md Haris Iqbal > > Hi. I'm afraid you can't just change malloc() calls to > g_malloc() without also changing the corresponding free() > ca

[Qemu-devel] [PATCH] Changed malloc() to g_malloc() at places where return value was not being checked

2016-03-22 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- bsd-user/elfload.c | 2 +- bsd-user/qemu.h| 2 +- linux-user/qemu.h | 2 +- thunk.c| 2 +- ui/shader.c| 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 0a6092b..40bd1f2

Re: [Qemu-devel] Query about BiteSizeTasks

2016-03-21 Thread haris iqbal
wanted to know if there is a function prototype that should also be skipped. On Mon, Mar 21, 2016 at 7:39 PM, haris iqbal wrote: > On Mon, Mar 21, 2016 at 7:26 PM, Paolo Bonzini wrote: >> >> >> On 21/03/2016 14:41, haris iqbal wrote: >>> Hello, >>> >>

Re: [Qemu-devel] Query about BiteSizeTasks

2016-03-21 Thread haris iqbal
On Mon, Mar 21, 2016 at 7:26 PM, Paolo Bonzini wrote: > > > On 21/03/2016 14:41, haris iqbal wrote: >> Hello, >> >> I saw a task which says to " Add checks for NULL return value to uses >> of load_image_targphys,...". But what I saw in the codebase, &

[Qemu-devel] Query about BiteSizeTasks

2016-03-21 Thread haris iqbal
the return value be checked for 0. But when I saw what the function is doing, it basically is what lseek will return in get_image_size() and lseek return (off_t)-1 if it fails. -- With regards, Md Haris Iqbal, Placement Coordinator, MTech IT NITK Surathkal, Contact: +91 8861996962