From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: Add a new module to the hypervisor Date: Mon, 13 Oct 2014 14:54:45 +0100 Message-ID: <543BD9A5.4080707@citrix.com> References: <543BAAA7020000780003E1F4@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2341973043998953246==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Anh Dinh , Jan Beulich Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============2341973043998953246== Content-Type: multipart/alternative; boundary="------------000100080508050800040408" --------------000100080508050800040408 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit On 13/10/14 14:47, Anh Dinh wrote: > thanks, > > that's a bummer. > > I'm trying to get the hypervisor to execute a user-given code without > recompiling the hypervisor. This is just for research purpose. > > Would appreciate some guidelines of the possible ways to go about it. > > Cheers, > Anh. Recompile Xen, and run it in a VM if you find hardware is taking too long to reboot. There is no existing way of loading code into Xen at runtime. The best which exists is the kexec crash path, but Xen will partially shut down when exiting on this path. ~Andrew --------------000100080508050800040408 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit
On 13/10/14 14:47, Anh Dinh wrote:
thanks,

that's a bummer. 

I'm trying to get the hypervisor to execute a user-given code without recompiling the hypervisor. This is just for research purpose. 

Would appreciate some guidelines of the possible ways to go about it. 

Cheers,
Anh.

Recompile Xen, and run it in a VM if you find hardware is taking too long to reboot.

There is no existing way of loading code into Xen at runtime.  The best which exists is the kexec crash path, but Xen will partially shut down when exiting on this path.

~Andrew
--------------000100080508050800040408-- --===============2341973043998953246== 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.xen.org http://lists.xen.org/xen-devel --===============2341973043998953246==--