From: Huibin QIAN Subject: Question about VCPU's and VM's Blocked state Date: Tue, 19 Jan 2010 11:49:26 +0800 Message-ID: <002f01ca98ba$655b6d30$d738a60a@china.huawei.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0069731930==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: g00138124@notesmail.huawei.com, cqj@huawei.com, q00147403@notesmail.huawei.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0069731930== Content-type: multipart/alternative; boundary="Boundary_(ID_RiPQ/00SmMorW7Is1pEAVA)" This is a multi-part message in MIME format. --Boundary_(ID_RiPQ/00SmMorW7Is1pEAVA) Content-type: text/plain; charset=gb2312 Content-transfer-encoding: 7BIT I have some doubt about the vcpu scheduling in xen. what would make the vcpu be blocked? In HVM, does the hlt instruction make a vmexit and the hypervisor put the vcpu into sleep queue? Or anything else causes it? What about the PV? When we use 'xm list' we can get the vm state ,usually it is blocked or running, and what meaning is the blocked state? Is that mean all the vcpus blonged to this domain are in the sleep queue? Thanks --Boundary_(ID_RiPQ/00SmMorW7Is1pEAVA) Content-type: text/html; charset=gb2312 Content-transfer-encoding: 7BIT
I have some doubt about the vcpu scheduling in xen.

what would make the vcpu be blocked?
In HVM, does the hlt instruction make a vmexit and the hypervisor put the vcpu into sleep queue? Or anything else causes it? What about the PV?

When we use 'xm list' we can get the vm state ,usually it is blocked or running, and what meaning is the blocked state?
Is that mean all the vcpus blonged to this domain are in the sleep queue?
 
Thanks
--Boundary_(ID_RiPQ/00SmMorW7Is1pEAVA)-- --===============0069731930== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0069731930==--