On 09/17/2013 07:01 AM, Kent Watsen wrote:
> On 9/16/13 11:40 AM, Kent Watsen wrote:
>> On 9/14/13 2:15 PM, Robert Mustacchi wrote:
>>> Yes, there is. In SmartOS we attempt to talk to the qemu monitor to
>>> drop an ACPI halt and then wait for that to complete or timeout and
>>> then drop the kill. This requires that the guest understand the ACPI
>>> events and for GNU/Linux VMs that usually refers to the acpi daemon
>>> package being installed and active.
>> <SNIP/>
>>
>> Now I need to figure out how to do the same for OpenBSD guests - do
>> you know?
> 
> I think there might be a bug in KVM.  OpenBSD shuts down cleanly in
> VMWare Fusion and VirtualBox (no additional packages need to be
> installed or anything configured), but it's a total lockup/freeze in KVM.
> 
> Here's my response to someone else reporting the same problem using a
> Debian host, which means it's possibly not illumos-specific:
> http://www.mail-archive.com/[email protected]/msg123324.html.
> 
> Here's yet another report, but it's even less specific and also without
> closure:
> http://unix.stackexchange.com/questions/57834/how-do-i-send-a-shutdown-event-to-a-qemu-guest-openbsd.
> 
> 
> Questions:
>   1. anyone else notice this behavior?  - I'm using AMD, does it happen
> on Intel systems too?

Hopefully someone else on the list can chime in about that.

>   2. what's the best list to report the issue to?  - Qemu, libvirt?

No, probably the best place is on the illumos kvm related bug trackers.
I can't say that I'll personally have a lot of time to dig into this for
a while.

But here are a few things to start with when the guest appears to freeze:

First run `kvmstat 1`. That'll let us know whether there is activity
going on inside the guest or not and will direct a lot of the rest of
the investigation. If that shows up as basically all zeros then the next
things to go run are pstack on the qemu and given the process, run the
following in mdb -k:

0t<pid>::walk thread | ::findstack -v

Robert


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to