qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1293975] [NEW] Guest is destroyed after live migration
@ 2014-03-18  8:00 Robert Hu
  2014-03-18 14:21 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Robert Hu @ 2014-03-18  8:00 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):Linux
kvm.git Commit:8fbb1daf3e8254afc17fc4490b69db00920197ae
qemu.git Commit: 6fffa26244737f8fd8641a21fee29bd6aa9fdff5
Host Kernel Version:3.14.0-rc3
Hardware:Romley_EP, Ivytown_EP


Bug detailed description:
--------------------------
after live migration, the guest will be destroyed

note:
after save restore, the guest will be destroyed.

Reproduce steps:
----------------
1.Start a TCP daemon for migration
qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow -incoming tcp:localhost:4444
2. create guest
qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow 
3. ctrl+alt+2 to switch to qemu monitor
4. migrate tcp:localhost:4444

Current result:
----------------
the guest will be destroyed

Expected result:
----------------
the guest works fine

Basic root-causing log:
----------------------
qemu-system-x86[15027]: segfault at 698 ip 00007f94be628166 sp 00007f94bb820c58 error 6 in libc-2.12.so[7f94be5a5000+189000]


Bisect result
the first bad commit:
commit 00c8cb0a36f51a6866a83c08962d12a0eb21864b
Author: Andreas Färber <afaerber@suse.de>
Date:   Wed Sep 4 02:19:44 2013 +0200

    cputlb: Change tlb_flush() argument to CPUState

    Signed-off-by: Andreas Färber <afaerber@suse.de>

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1293975

Title:
  Guest is destroyed after live migration

Status in QEMU:
  New

Bug description:
  Environment:
  ------------
  Host OS (ia32/ia32e/IA64):ia32e
  Guest OS (ia32/ia32e/IA64):ia32e
  Guest OS Type (Linux/Windows):Linux
  kvm.git Commit:8fbb1daf3e8254afc17fc4490b69db00920197ae
  qemu.git Commit: 6fffa26244737f8fd8641a21fee29bd6aa9fdff5
  Host Kernel Version:3.14.0-rc3
  Hardware:Romley_EP, Ivytown_EP

  
  Bug detailed description:
  --------------------------
  after live migration, the guest will be destroyed

  note:
  after save restore, the guest will be destroyed.

  Reproduce steps:
  ----------------
  1.Start a TCP daemon for migration
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow -incoming tcp:localhost:4444
  2. create guest
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow 
  3. ctrl+alt+2 to switch to qemu monitor
  4. migrate tcp:localhost:4444

  Current result:
  ----------------
  the guest will be destroyed

  Expected result:
  ----------------
  the guest works fine

  Basic root-causing log:
  ----------------------
  qemu-system-x86[15027]: segfault at 698 ip 00007f94be628166 sp 00007f94bb820c58 error 6 in libc-2.12.so[7f94be5a5000+189000]

  
  Bisect result
  the first bad commit:
  commit 00c8cb0a36f51a6866a83c08962d12a0eb21864b
  Author: Andreas Färber <afaerber@suse.de>
  Date:   Wed Sep 4 02:19:44 2013 +0200

      cputlb: Change tlb_flush() argument to CPUState

      Signed-off-by: Andreas Färber <afaerber@suse.de>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1293975/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1293975] Re: Guest is destroyed after live migration
  2014-03-18  8:00 [Qemu-devel] [Bug 1293975] [NEW] Guest is destroyed after live migration Robert Hu
@ 2014-03-18 14:21 ` Dr. David Alan Gilbert
  2014-03-18 15:13 ` [Qemu-devel] [Bug 1293975] [NEW] " 陈梁
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Dr. David Alan Gilbert @ 2014-03-18 14:21 UTC (permalink / raw)
  To: qemu-devel

Can you capture a backtrace for the failure? Is the seg happening in the
source or destination qemu?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1293975

Title:
  Guest is destroyed after live migration

Status in QEMU:
  New

Bug description:
  Environment:
  ------------
  Host OS (ia32/ia32e/IA64):ia32e
  Guest OS (ia32/ia32e/IA64):ia32e
  Guest OS Type (Linux/Windows):Linux
  kvm.git Commit:8fbb1daf3e8254afc17fc4490b69db00920197ae
  qemu.git Commit: 6fffa26244737f8fd8641a21fee29bd6aa9fdff5
  Host Kernel Version:3.14.0-rc3
  Hardware:Romley_EP, Ivytown_EP

  
  Bug detailed description:
  --------------------------
  after live migration, the guest will be destroyed

  note:
  after save restore, the guest will be destroyed.

  Reproduce steps:
  ----------------
  1.Start a TCP daemon for migration
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow -incoming tcp:localhost:4444
  2. create guest
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow 
  3. ctrl+alt+2 to switch to qemu monitor
  4. migrate tcp:localhost:4444

  Current result:
  ----------------
  the guest will be destroyed

  Expected result:
  ----------------
  the guest works fine

  Basic root-causing log:
  ----------------------
  qemu-system-x86[15027]: segfault at 698 ip 00007f94be628166 sp 00007f94bb820c58 error 6 in libc-2.12.so[7f94be5a5000+189000]

  
  Bisect result
  the first bad commit:
  commit 00c8cb0a36f51a6866a83c08962d12a0eb21864b
  Author: Andreas Färber <afaerber@suse.de>
  Date:   Wed Sep 4 02:19:44 2013 +0200

      cputlb: Change tlb_flush() argument to CPUState

      Signed-off-by: Andreas Färber <afaerber@suse.de>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1293975/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1293975] [NEW] Guest is destroyed after live migration
  2014-03-18  8:00 [Qemu-devel] [Bug 1293975] [NEW] Guest is destroyed after live migration Robert Hu
  2014-03-18 14:21 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
@ 2014-03-18 15:13 ` 陈梁
  2014-03-18 15:33 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
  2014-03-24  8:33 ` Robert Hu
  3 siblings, 0 replies; 6+ messages in thread
From: 陈梁 @ 2014-03-18 15:13 UTC (permalink / raw)
  To: Bug 1293975; +Cc: 陈梁, qemu-devel

Do you have some qemu log about the failure?

> Public bug reported:
> 
> Environment:
> ------------
> Host OS (ia32/ia32e/IA64):ia32e
> Guest OS (ia32/ia32e/IA64):ia32e
> Guest OS Type (Linux/Windows):Linux
> kvm.git Commit:8fbb1daf3e8254afc17fc4490b69db00920197ae
> qemu.git Commit: 6fffa26244737f8fd8641a21fee29bd6aa9fdff5
> Host Kernel Version:3.14.0-rc3
> Hardware:Romley_EP, Ivytown_EP
> 
> 
> Bug detailed description:
> --------------------------
> after live migration, the guest will be destroyed
> 
> note:
> after save restore, the guest will be destroyed.
> 
> Reproduce steps:
> ----------------
> 1.Start a TCP daemon for migration
> qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow -incoming tcp:localhost:4444
> 2. create guest
> qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow 
> 3. ctrl+alt+2 to switch to qemu monitor
> 4. migrate tcp:localhost:4444
> 
> Current result:
> ----------------
> the guest will be destroyed
> 
> Expected result:
> ----------------
> the guest works fine
> 
> Basic root-causing log:
> ----------------------
> qemu-system-x86[15027]: segfault at 698 ip 00007f94be628166 sp 00007f94bb820c58 error 6 in libc-2.12.so[7f94be5a5000+189000]
> 
> 
> Bisect result
> the first bad commit:
> commit 00c8cb0a36f51a6866a83c08962d12a0eb21864b
> Author: Andreas Färber <afaerber@suse.de>
> Date:   Wed Sep 4 02:19:44 2013 +0200
> 
>    cputlb: Change tlb_flush() argument to CPUState
> 
>    Signed-off-by: Andreas Färber <afaerber@suse.de>
> 
> ** Affects: qemu
>     Importance: Undecided
>         Status: New
> 
> -- 
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/1293975
> 
> Title:
>  Guest is destroyed after live migration
> 
> Status in QEMU:
>  New
> 
> Bug description:
>  Environment:
>  ------------
>  Host OS (ia32/ia32e/IA64):ia32e
>  Guest OS (ia32/ia32e/IA64):ia32e
>  Guest OS Type (Linux/Windows):Linux
>  kvm.git Commit:8fbb1daf3e8254afc17fc4490b69db00920197ae
>  qemu.git Commit: 6fffa26244737f8fd8641a21fee29bd6aa9fdff5
>  Host Kernel Version:3.14.0-rc3
>  Hardware:Romley_EP, Ivytown_EP
> 
> 
>  Bug detailed description:
>  --------------------------
>  after live migration, the guest will be destroyed
> 
>  note:
>  after save restore, the guest will be destroyed.
> 
>  Reproduce steps:
>  ----------------
>  1.Start a TCP daemon for migration
>  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow -incoming tcp:localhost:4444
>  2. create guest
>  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow 
>  3. ctrl+alt+2 to switch to qemu monitor
>  4. migrate tcp:localhost:4444
> 
>  Current result:
>  ----------------
>  the guest will be destroyed
> 
>  Expected result:
>  ----------------
>  the guest works fine
> 
>  Basic root-causing log:
>  ----------------------
>  qemu-system-x86[15027]: segfault at 698 ip 00007f94be628166 sp 00007f94bb820c58 error 6 in libc-2.12.so[7f94be5a5000+189000]
> 
> 
>  Bisect result
>  the first bad commit:
>  commit 00c8cb0a36f51a6866a83c08962d12a0eb21864b
>  Author: Andreas Färber <afaerber@suse.de>
>  Date:   Wed Sep 4 02:19:44 2013 +0200
> 
>      cputlb: Change tlb_flush() argument to CPUState
> 
>      Signed-off-by: Andreas Färber <afaerber@suse.de>
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1293975/+subscriptions
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1293975] Re: Guest is destroyed after live migration
  2014-03-18  8:00 [Qemu-devel] [Bug 1293975] [NEW] Guest is destroyed after live migration Robert Hu
  2014-03-18 14:21 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
  2014-03-18 15:13 ` [Qemu-devel] [Bug 1293975] [NEW] " 陈梁
@ 2014-03-18 15:33 ` Dr. David Alan Gilbert
  2014-03-19 10:25   ` Oliver Francke
  2014-03-24  8:33 ` Robert Hu
  3 siblings, 1 reply; 6+ messages in thread
From: Dr. David Alan Gilbert @ 2014-03-18 15:33 UTC (permalink / raw)
  To: qemu-devel

It looks like this is fixed by:
https://github.com/afaerber/qemu-cpu/commit/5a4ad843eee6ba2241828f568af6e147461b4e54

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1293975

Title:
  Guest is destroyed after live migration

Status in QEMU:
  New

Bug description:
  Environment:
  ------------
  Host OS (ia32/ia32e/IA64):ia32e
  Guest OS (ia32/ia32e/IA64):ia32e
  Guest OS Type (Linux/Windows):Linux
  kvm.git Commit:8fbb1daf3e8254afc17fc4490b69db00920197ae
  qemu.git Commit: 6fffa26244737f8fd8641a21fee29bd6aa9fdff5
  Host Kernel Version:3.14.0-rc3
  Hardware:Romley_EP, Ivytown_EP

  
  Bug detailed description:
  --------------------------
  after live migration, the guest will be destroyed

  note:
  after save restore, the guest will be destroyed.

  Reproduce steps:
  ----------------
  1.Start a TCP daemon for migration
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow -incoming tcp:localhost:4444
  2. create guest
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow 
  3. ctrl+alt+2 to switch to qemu monitor
  4. migrate tcp:localhost:4444

  Current result:
  ----------------
  the guest will be destroyed

  Expected result:
  ----------------
  the guest works fine

  Basic root-causing log:
  ----------------------
  qemu-system-x86[15027]: segfault at 698 ip 00007f94be628166 sp 00007f94bb820c58 error 6 in libc-2.12.so[7f94be5a5000+189000]

  
  Bisect result
  the first bad commit:
  commit 00c8cb0a36f51a6866a83c08962d12a0eb21864b
  Author: Andreas Färber <afaerber@suse.de>
  Date:   Wed Sep 4 02:19:44 2013 +0200

      cputlb: Change tlb_flush() argument to CPUState

      Signed-off-by: Andreas Färber <afaerber@suse.de>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1293975/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1293975] Re: Guest is destroyed after live migration
  2014-03-18 15:33 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
@ 2014-03-19 10:25   ` Oliver Francke
  0 siblings, 0 replies; 6+ messages in thread
From: Oliver Francke @ 2014-03-19 10:25 UTC (permalink / raw)
  To: qemu-devel

Hi,

was just about to open a bug-report... but...

On 03/18/2014 04:33 PM, Dr. David Alan Gilbert wrote:
> It looks like this is fixed by:
> https://github.com/afaerber/qemu-cpu/commit/5a4ad843eee6ba2241828f568af6e147461b4e54
>

yikes, it now works ;)

Thnx,

Oliver.

-- 

Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1293975] Re: Guest is destroyed after live migration
  2014-03-18  8:00 [Qemu-devel] [Bug 1293975] [NEW] Guest is destroyed after live migration Robert Hu
                   ` (2 preceding siblings ...)
  2014-03-18 15:33 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
@ 2014-03-24  8:33 ` Robert Hu
  3 siblings, 0 replies; 6+ messages in thread
From: Robert Hu @ 2014-03-24  8:33 UTC (permalink / raw)
  To: qemu-devel

kvm.git + qemu.git: 94b3ffcd_f71e769d
after live migration, the guest works fine.

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1293975

Title:
  Guest is destroyed after live migration

Status in QEMU:
  Fix Released

Bug description:
  Environment:
  ------------
  Host OS (ia32/ia32e/IA64):ia32e
  Guest OS (ia32/ia32e/IA64):ia32e
  Guest OS Type (Linux/Windows):Linux
  kvm.git Commit:8fbb1daf3e8254afc17fc4490b69db00920197ae
  qemu.git Commit: 6fffa26244737f8fd8641a21fee29bd6aa9fdff5
  Host Kernel Version:3.14.0-rc3
  Hardware:Romley_EP, Ivytown_EP

  
  Bug detailed description:
  --------------------------
  after live migration, the guest will be destroyed

  note:
  after save restore, the guest will be destroyed.

  Reproduce steps:
  ----------------
  1.Start a TCP daemon for migration
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow -incoming tcp:localhost:4444
  2. create guest
  qemu-system-x86_64 -enable-kvm -m 2048 -smp 2 -net none /root/rhel6u4.qcow 
  3. ctrl+alt+2 to switch to qemu monitor
  4. migrate tcp:localhost:4444

  Current result:
  ----------------
  the guest will be destroyed

  Expected result:
  ----------------
  the guest works fine

  Basic root-causing log:
  ----------------------
  qemu-system-x86[15027]: segfault at 698 ip 00007f94be628166 sp 00007f94bb820c58 error 6 in libc-2.12.so[7f94be5a5000+189000]

  
  Bisect result
  the first bad commit:
  commit 00c8cb0a36f51a6866a83c08962d12a0eb21864b
  Author: Andreas Färber <afaerber@suse.de>
  Date:   Wed Sep 4 02:19:44 2013 +0200

      cputlb: Change tlb_flush() argument to CPUState

      Signed-off-by: Andreas Färber <afaerber@suse.de>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1293975/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-24  8:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18  8:00 [Qemu-devel] [Bug 1293975] [NEW] Guest is destroyed after live migration Robert Hu
2014-03-18 14:21 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
2014-03-18 15:13 ` [Qemu-devel] [Bug 1293975] [NEW] " 陈梁
2014-03-18 15:33 ` [Qemu-devel] [Bug 1293975] " Dr. David Alan Gilbert
2014-03-19 10:25   ` Oliver Francke
2014-03-24  8:33 ` Robert Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).