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

[Xen-devel] Any quick way to compile hypervisor and driver


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Chun-Yi,Su" <david.sue@xxxxxxxxx>
  • Date: Mon, 12 Apr 2010 14:05:13 -0400
  • Delivery-date: Mon, 12 Apr 2010 11:07:06 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T9Ey4Jyuo/iF+CvhpJ57iiiAGouIGMRADsz6UQ1LqjimtmSiB17mMEMhqGPlZI8PFO xSfBJ3xshhX/vRJLQvMyh8uRa8gZ5fNJlXVZTlVIVkU/UW9T/87EiHzj1L1MS+CAb9so 2z27sNQNq3QQDNO+SSmQOBcqK34nweMN3aXw8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi guys,
I tried to modify codes of VCPU scheduling method (in
xen/common/schedule.c ) in  hypervisor and add some functions in
xenoprofile  driver (in /xen/arch/x86/oprofile/nmi.c).
Each time after I modified, I need to do following command to compile
whole kernel and reboot the system:

make linux-2.6-xen-build
make linux-2.6-xen-install
depmod -a 2.6.18.8-xen
rm initrd-2.6.18.8-xen.img
mkinitrd initrd-2.6.18.8-xen.img 2.6.18.8-xen
cp initrd-2.6.18.8-xen.img /boot
reboot

It took about an hour to do compile and install a new kernel and driver
Does it have a quick way to compile the kernel codes I modified
instead of comping whole kernel?

 Best,
David.

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