All of lore.kernel.org
 help / color / mirror / Atom feed
* some questions about vcpu?
@ 2010-01-20 12:44 Haifeng Fang
  2010-01-20 14:03 ` George Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Haifeng Fang @ 2010-01-20 12:44 UTC (permalink / raw)
  To: Keir Fraser, xen-devel@lists.xensource.com


[-- Attachment #1.1: Type: text/plain, Size: 832 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3028 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: some questions about vcpu?
  2010-01-20 12:44 some questions about vcpu? Haifeng Fang
@ 2010-01-20 14:03 ` George Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: George Dunlap @ 2010-01-20 14:03 UTC (permalink / raw)
  To: Haifeng Fang; +Cc: xen-devel@lists.xensource.com, Keir Fraser

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@126.com>:
> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-20 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 12:44 some questions about vcpu? Haifeng Fang
2010-01-20 14:03 ` George Dunlap

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.