Re: Issue with QEMU Live Migration

2024-08-26 Thread Arisetty, Chakri
> * How is 'issue block-job-cancel' command issued exactly at the > PRE_SWITCHOVER stage? virsh blockjob --abort? We are currently not using libvirt/virsh to issue QMP command. Our software makes up QMP connection and sends the QMP command to cancel the job when RAM migration state is in pre-swi

Re: Issue with QEMU Live Migration

2024-08-26 Thread Prasad Pandit
On Sun, 25 Aug 2024 at 22:40, Arisetty, Chakri wrote: > > - start the mirror job > > - qmp_migrate > > - once PRE_SWITCHOVER is reached, issue block-job-cancel > > - qmp_migrate_continue > > We use exact same steps to do live migration. I repeated the test now > > Sure, as you suggested to rule ou

Re: Issue with QEMU Live Migration

2024-08-25 Thread Arisetty, Chakri
Hello, > Is this a type of migration that you have attempted before and it used > to work? Or is this the first time you're using the mirror job for live > migration? We have been using live migration for a quite some time (about 5 years) and this issue has been present for many years. It is no

Re: Issue with QEMU Live Migration

2024-08-23 Thread Fabiano Rosas
"Arisetty, Chakri" writes: > Hello, > > Here is more data if my earlier mail did not provide enough details. I > apologize for not providing the critical data points in my previous mail. > > - Created a file (dd if=/dev/urandom of=/orig.img bs=1M count=1000) before > starting live migration > -

Re: Issue with QEMU Live Migration

2024-08-23 Thread Arisetty, Chakri
Hello, Here is more data if my earlier mail did not provide enough details. I apologize for not providing the critical data points in my previous mail. - Created a file (dd if=/dev/urandom of=/orig.img bs=1M count=1000) before starting live migration - Started migration with block-job-cancel co

Re: Issue with QEMU Live Migration

2024-08-23 Thread Arisetty, Chakri
Hi, Thank you once again! > It's still not entirely clear to me what the situation is here. When the > migration reaches pre-switchover state the VM is stopped, so there would > be no more IO happening. Is this a matter of a race condition (of sorts) > because pre-switchover happens while the blo

Re: Issue with QEMU Live Migration

2024-08-22 Thread Fabiano Rosas
"Arisetty, Chakri" writes: Ugh, it seems I messed up the CC addresses, let's see if this time they go out right. For those new to the thread, we're discussing this bug: https://gitlab.com/qemu-project/qemu/-/issues/2482 > Hi, > > Thank you for getting back to me. > > Yes, I have opened the tick

Re: Issue with QEMU Live Migration

2024-08-21 Thread Arisetty, Chakri
Hi, Thank you for getting back to me. Yes, I have opened the ticket https://urldefense.com/v3/__https://gitlab.com/qemu-project/qemu/-/issues/2482__;!!GjvTz_vk!SCg-a5LiuAGlWyQ6Opd9urNAW4_Z-tUtzPZARWB1d3Ulg_ws87yL3iJcxuZPktLeHNNtPztJTJZNJdE$

Re: Issue with QEMU Live Migration

2024-08-21 Thread Fabiano Rosas
"Arisetty, Chakri" writes: > Hello, > > I’m having trouble with live migration and I’m using QEMU 7.2.0 on Debian 11. > > Migration state switches to pre-switchover state during the RAM migration. > > My assumption is that disks are already migrated and there are no further > dirty pages to be t