Skip to contentSkip to conversation

BitKeeper patch (fwd)

DISCUSSION Ronald G. Minnich 1 participant 1 message Mar 3, 2005

lore
Share & tools
lore
#0 lore raw

well, I hope this is the right format.

This patch enables argument passing to plan 9 domains, so that users can now have parameters for things like Venti etc.

ron

---------- Forwarded message ----------
Date: Thu, 3 Mar 2005 08:10:30 -0700 (MST)
From: root <[email protected]>
To: [email protected]
Subject: BitKeeper patch

This BitKeeper patch contains the following changesets:
[email protected]|ChangeSet|20050303125742|65058

# ID: [email protected]|ChangeSet|20021120105923|56899|1ee6296af7e15a82
# User: rminnich
# Host: q.ccstar.lanl.gov
# Root: /home/rminnich/src/xen/xen-2.0-testing.bk

# Patch vers: 1.3
# Patch type: REGULAR

== ChangeSet == [email protected]|ChangeSet|20021120105923|56899|1ee6296af7e15a82 [email protected]|ChangeSet|20041226143114|64970
D 1.1617 05/03/03 05:57:42-07:00 [email protected] +2 -0
B [email protected]|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C
c Plan 9 support for argument passing from /etc/xen/plan9 or similar. Mimics 9load arg passing. K 65058
P ChangeSet
------------------------------------------------

0a0

Quoted 2 lines

[email protected]|tools/libxc/xc_plan9_build.c|20041224220810|40859|d706cce1d3228576 [email protected]|tools/libxc/xc_plan9_build.c|20050303125600|20084 [email protected]|BitKeeper/etc/logging_ok|20021120120217|03192|1a0e4366ffd1b425 [email protected]|BitKeeper/etc/logging_ok|20050303125611|28880

== tools/libxc/xc_plan9_build.c ==

[email protected]|tools/libxc/xc_plan9_build.c|20041224220810|40859|d706cce1d3228576
[email protected]|tools/libxc/xc_plan9_build.c|20041224220811|40034

D 1.2 05/03/03 05:56:00-07:00 [email protected] +17 -4
B [email protected]|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C
c This is to allow passing of arguments to Plan 9. In /etc/xen/plan9, you can set c extras='''\nkeyword=value\nfoo=bar\n'''
c e.g.
c extras='''\nventi=#S/sdC0/arenas0\n'''
c and that arguments will be passed in to plan 9.
K 20084
O -rwxrwx---
P tools/libxc/xc_plan9_build.c
------------------------------------------------

D128 1
I128 2

	     unsigned long *first_data_page, unsigned long *pdb_page, 
	     const char *cmdline);

D233 1
I233 1
&first_data_page, &first_page_after_kernel, cmdline))
D626 1
I626 1
* ---------------|<--- boot args (start at 0x1200 + 64)
D661 1
I661 2
unsigned long *first_data_page, unsigned long *pdb_page, const char *cmdline)
I671 1

	static PAGE args;
I738 10
	/* now do the bootargs */
	/* in plan 9, the x=y bootargs start at 0x1200 + 64 in real memory */
	/* we'll copy to page 1, so we offset into the page struct at 
	 * 0x200 + 64 
	 */
	memset(&args, 0, sizeof(args));
	memcpy(&args.data[0x200 + 64], cmdline, strlen(cmdline));
	printf("Copied :%s: to page for args\n", cmdline);
	ret = memcpy_toguest(xc_handle, dom, &args, sizeof(args), page_array,1);
	dumpit(xc_handle, dom, 0 /*0x100000>>12*/, 4, page_array) ;

== BitKeeper/etc/logging_ok == [email protected]|BitKeeper/etc/logging_ok|20021120120217|03192|1a0e4366ffd1b425 [email protected]|BitKeeper/etc/logging_ok|20041118145625|26304
D 1.65 05/03/03 05:56:11-07:00 [email protected] +1 -0
B [email protected]|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C
c Logging to [email protected] accepted
K 28880
O -rw-rw-r--
P BitKeeper/etc/logging_ok
------------------------------------------------

I45 1
[email protected]

# Patch checksum=8c3b7500

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click