[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] some questions about vcpu?


  • To: Haifeng Fang <fhf25@xxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Wed, 20 Jan 2010 14:03:02 +0000
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 20 Jan 2010 06:03:25 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=MlqELXGBiBRyBINHRWK9vlnhQIbqav4K64Prfnm0XQC3BaORVLxRpw+MbTLi+sTCRv QdqGlvRA7ELzby5x/27bERvgb0xyYh5CkVvm5eJHSIvU2EFcg3GJ5p8f0e5CkCMCI/au gL3ARaccxD8A5pRXGyIFN+Yi6sYxgp5iu/fYE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Do you have a serial console set up?  That's step number 1 in dealing
with Xen hangs.

Step 2 is adding "watchdog" to the command line, so if Xen hangs for
more than a few seconds, you get a stack trace of where each cpu is
waiting.

 -George

2010/1/20 Haifeng Fang <fhf25@xxxxxxx>:
> hi, all
>
> Recently, I want to add a hidden domain in Xen. So I have studied the source
> codes related to idle-vcpu.
> Now, I have implemented a hidden domain, which contains a vcpu similar to
> idle-vcpu. In this vcpu, it used the same page-table with idle-vcpu, that
> is, idle_pg_table, so the vcpu can access the memory within xen hypervisor
> address space. Being apparent, this vcpu is like a kernel thread of linux.
>
> Fortunately, the method is good when the changed xen is running under single
> physical CPU, while the running speed of domain became a little slow.
> However, when the changed xen is installed onto the machine with dual-core,
> the machine is dead. So, how can I solve the problem? If the death of
> machine is due to the vcpu's synchronization.
>
> who can give me some advise?
>
> Thanks in advance.
>
> --Haifeng Fang
> Beijing China
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.