qemu-system-ppc does not terminate on VM exit

Bug #1317603 reported by john.d@servergy.com
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Won't Fix
Undecided
Unassigned
qemu (Ubuntu)
Expired
Medium
Unassigned

Bug Description

When a VM is created for a p4080-e500mc ; the VM can not be rebooted or terminated.

The qemu-system-ppc process must be killed.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
Uname: Linux 3.13.9+ ppc
ApportVersion: 2.14.1-0ubuntu3
Architecture: powerpc
Date: Thu May 8 12:20:57 2014
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: qemu
UpgradeStatus: Upgraded to trusty on 2014-04-29 (9 days ago)

Revision history for this message
john.d@servergy.com (john-d-0) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

What do you mean by "cannot be rebooted"? When you log into the guest and type "reboot", nothing happens? Does init call reboot(2) and the kernel ignores it? All of userspace is properly terminated, and kernel hangs at the actual reboot?

Revision history for this message
john.d@servergy.com (john-d-0) wrote : Re: [Bug 1317603] Re: qemu-system-ppc does not terminate on VM exit

qemu-system-ppc never terminates.

Regards,
 John.

--

o Energy-efficiency is #1 reason data centers look to expand. --
Digital Realty Trust
o Green Data Centers spending to increase 300% worldwide by 2016. --
Pike Research
o Data Centers have become as vital to the functioning of society as
power stations. -- The Economist

On Sat, May 24, 2014 at 5:35 PM, Serge Hallyn
<email address hidden> wrote:
> What do you mean by "cannot be rebooted"? When you log into the guest
> and type "reboot", nothing happens? Does init call reboot(2) and the
> kernel ignores it? All of userspace is properly terminated, and kernel
> hangs at the actual reboot?
>
> ** Also affects: qemu
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1317603
>
> Title:
> qemu-system-ppc does not terminate on VM exit
>
> Status in QEMU:
> New
> Status in “qemu” package in Ubuntu:
> New
>
> Bug description:
> When a VM is created for a p4080-e500mc ; the VM can not be rebooted
> or terminated.
>
> The qemu-system-ppc process must be killed.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
> ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
> Uname: Linux 3.13.9+ ppc
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: powerpc
> Date: Thu May 8 12:20:57 2014
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: qemu
> UpgradeStatus: Upgraded to trusty on 2014-04-29 (9 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1317603/+subscriptions

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Quoting <email address hidden> (<email address hidden>):
> qemu-system-ppc never terminates.

Assuming you are using the same scripts as in the other bugs, you are passing
-no-shutdown to qemu, asking it to not exit when the guest exits. If you
want qemu to exit when the guest is done, then please remove that flag, and
see if that fixes it.

If you are then manually killing qemu before the guest is done running, that
would also explain why the guest fs is corrupted.

Revision history for this message
john.d@servergy.com (john-d-0) wrote :

It does not change the the behaviour.
With or without those options the VM qemu-system-ppc session never exits.

Regards,
 John.

--

o Energy-efficiency is #1 reason data centers look to expand. --
Digital Realty Trust
o Green Data Centers spending to increase 300% worldwide by 2016. --
Pike Research
o Data Centers have become as vital to the functioning of society as
power stations. -- The Economist

On Sat, May 24, 2014 at 7:12 PM, Serge Hallyn
<email address hidden> wrote:
> Quoting <email address hidden> (<email address hidden>):
>> qemu-system-ppc never terminates.
>
> Assuming you are using the same scripts as in the other bugs, you are passing
> -no-shutdown to qemu, asking it to not exit when the guest exits. If you
> want qemu to exit when the guest is done, then please remove that flag, and
> see if that fixes it.
>
> If you are then manually killing qemu before the guest is done running, that
> would also explain why the guest fs is corrupted.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1317603
>
> Title:
> qemu-system-ppc does not terminate on VM exit
>
> Status in QEMU:
> New
> Status in “qemu” package in Ubuntu:
> New
>
> Bug description:
> When a VM is created for a p4080-e500mc ; the VM can not be rebooted
> or terminated.
>
> The qemu-system-ppc process must be killed.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
> ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
> Uname: Linux 3.13.9+ ppc
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: powerpc
> Date: Thu May 8 12:20:57 2014
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: qemu
> UpgradeStatus: Upgraded to trusty on 2014-04-29 (9 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1317603/+subscriptions

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I've uploaded a build of today's qemu git HEAD to https://launchpad.net/~ubuntu-virt/+archive/virt-daily-upstream . Would it be possible to test with that? I assume you'll need to grab the source and re-build packages for ppc.

Changed in qemu (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
john.d@servergy.com (john-d-0) wrote :

I am no longer working on this project,

Revision history for this message
Thomas Huth (th-huth) wrote :

Looking at comment #7, it sounds like you're not interested in this ticket anymore, so I'm closing it as "Won't fix". Feel free to open it again if you are still interested in this.

Changed in qemu:
status: New → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qemu (Ubuntu) because there has been no activity for 60 days.]

Changed in qemu (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.