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

[Xen-devel] Adding new scheduler in XEN 3.4.0


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Pankaj Parakh <me.pankajparakh@xxxxxxxxx>
  • Date: Sat, 24 Oct 2009 15:18:13 +0530
  • Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Delivery-date: Sat, 24 Oct 2009 02:50:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=BkoU8MsZ8G9SWi5l3B229Y/gOx5jFbf/N8SRB0WOrKyTWf0y/XcdEU9snVKeHz43vN 4Y25W78aWzt2wK0YT2jcUIsGfLgi5OPy+VWGIVwsvNNfxgOFzC9nKA7plqXtaoaiFqCN YTfcwiXBvhRAGYhrMolG7yJaT4Re3U1XbH5Fw=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I was trying to add scheduler in Xen 3.4.0, and there is some problem with the procedure I added, I know that because I have created a copy of credit scheduler named it as credit_2 (file attached), changed the functions and struct declarations name (as there was conflict with existing credit scheduler), and then did the following:

1. Added a entry for the same in schedule.c file.
2. Added an entry for it in <xensrc>/xen/common/Makefile

I am able to compile and install XEN after that using 'make xen' & 'make install-xen' command but when I boot with the copy of credit scheduler i.e. credit_2. the screen blacks out and system hangs.
I faced same problem while adding my round robin scheduler, till now I had thought that there is a problem in the rr scheduler but now I am sure there is a problem with the procedure.

Please help me in this regard.

Attachment: sched_credit_2.c
Description: Text Data

_______________________________________________
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®.