Re: [PATCH V1 3/3] tests/qtest: live migration suspended state

2023-06-22 Thread Steven Sistare
On 6/21/2023 4:00 PM, Peter Xu wrote: > On Wed, Jun 21, 2023 at 03:39:44PM -0400, Steven Sistare wrote: -jmp mainloop +# should this test suspend? +mov (suspend_me),%eax +cmp $0,%eax +je mainloop + +# are we waking a

Re: [PATCH V1 3/3] tests/qtest: live migration suspended state

2023-06-21 Thread Peter Xu
On Wed, Jun 21, 2023 at 03:39:44PM -0400, Steven Sistare wrote: > >> -jmp mainloop > >> +# should this test suspend? > >> +mov (suspend_me),%eax > >> +cmp $0,%eax > >> +je mainloop > >> + > >> +# are we waking after suspend? do not suspend again. > >

Re: [PATCH V1 3/3] tests/qtest: live migration suspended state

2023-06-21 Thread Steven Sistare
On 6/21/2023 12:45 PM, Peter Xu wrote: > On Thu, Jun 15, 2023 at 01:26:40PM -0700, Steve Sistare wrote: >> Add a test case to verify that the suspended state is handled correctly in >> live migration. The test suspends the src, migrates, then wakes the dest. >> >> Add an option to suspend the src

Re: [PATCH V1 3/3] tests/qtest: live migration suspended state

2023-06-21 Thread Peter Xu
On Thu, Jun 15, 2023 at 01:26:40PM -0700, Steve Sistare wrote: > Add a test case to verify that the suspended state is handled correctly in > live migration. The test suspends the src, migrates, then wakes the dest. > > Add an option to suspend the src in a-b-bootblock.S, which puts the guest > i

[PATCH V1 3/3] tests/qtest: live migration suspended state

2023-06-15 Thread Steve Sistare
Add a test case to verify that the suspended state is handled correctly in live migration. The test suspends the src, migrates, then wakes the dest. Add an option to suspend the src in a-b-bootblock.S, which puts the guest in S3 state after one round of writing to memory. The option is enabled b