WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Any quick way to compile hypervisor and driver
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=gk/7/MArc5N1PsMcXzC7/+EAHSoS2/379TzkYXhQA54=; b=xp8rcuYnAUwZC8aLflQLTUkzMwG3rJ8s9Hh41qJbLYz7FuJyuPbvOPnmQEYl/lD6Pn nK6b03v9D4OzGYR9rS/qHAH9uZDpj3bL7QkmoWZesI08JD6heOcQsDbRFRx1ZtGaYVDC fe67UeMoJs1alEGCXGKRzCjwokPK1h5G6AM2g=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Any quick way to compile hypervisor and driver, Chun-Yi,Su <=