From: Avi Kivity <avi@redhat.com>
To: jdsw2002@yahoo.com
Cc: Anthony Liguori <anthony@codemonkey.ws>, KVM List <kvm@vger.kernel.org>
Subject: Re: KVM Management : Paused stauts
Date: Sun, 05 Oct 2008 16:18:35 +0200 [thread overview]
Message-ID: <48E8CCBB.6060106@redhat.com> (raw)
In-Reply-To: <828702.37143.qm@web35806.mail.mud.yahoo.com>
jd wrote:
>> "halted" actually means the vcpu is idle
>> (executing a hlt instruction),
>> not that the vm is halted.
>>
>
>
> Can u please elaborate a bit on this ? when does guest get in to executing 'hlt' Vs in to 'VM halt'
>
> My understanding is that when guest executes shutdown sequence, eventually it will execute hlt.
>
>
No, hlt is part of the guest idle loop. It will execute hlt whenever
the processor has nothing to do.
During shutdown it will execute an ACPI sequence that results in qemu
exiting.
> When you give stop via the monitor/console, what happens ? (and on continue)
>
Qemu no longer allows the vcpu to execute. If it was in halted state,
it stays that way, and if it wasn't it also stays that way. When you
continue, the vcpu gets more cpu time and can proceed.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-10-05 14:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-09 2:04 KVM Management : Paused stauts jd
2008-08-09 15:40 ` Anthony Liguori
2008-08-09 21:12 ` jd
2008-10-03 22:04 ` jd
2008-10-04 12:46 ` Avi Kivity
2008-10-04 22:37 ` jd
2008-10-05 14:18 ` Avi Kivity [this message]
2008-10-06 13:04 ` jd
2008-10-07 14:49 ` Avi Kivity
2008-10-07 17:09 ` jd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48E8CCBB.6060106@redhat.com \
--to=avi@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=jdsw2002@yahoo.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.