[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] BitKeeper patch (fwd)
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 <root@xxxxxxxxxxxxxxxxx> To: rminnich@xxxxxxxx Subject: BitKeeper patch This BitKeeper patch contains the following changesets: rminnich@xxxxxxxxxxxxxxxxx|ChangeSet|20050303125742|65058 # ID: smh22@xxxxxxxxxxxxxxxxxxxxxxxx|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 == smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82 cl349@xxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20041226143114|64970 D 1.1617 05/03/03 05:57:42-07:00 rminnich@xxxxxxxxxxxxxxxxx +2 -0 B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|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 > iap10@xxxxxxxxxxxxxxxxxxxxxx|tools/libxc/xc_plan9_build.c|20041224220810|40859|d706cce1d3228576 > rminnich@xxxxxxxxxxxxxxxxx|tools/libxc/xc_plan9_build.c|20050303125600|20084 > smh22@xxxxxxxxxxxxxxxxxxxxxxxx|BitKeeper/etc/logging_ok|20021120120217|03192|1a0e4366ffd1b425 > rminnich@xxxxxxxxxxxxxxxxx|BitKeeper/etc/logging_ok|20050303125611|28880 == tools/libxc/xc_plan9_build.c == iap10@xxxxxxxxxxxxxxxxxxxxxx|tools/libxc/xc_plan9_build.c|20041224220810|40859|d706cce1d3228576 iap10@xxxxxxxxxxxxxxxxxxxxxx|tools/libxc/xc_plan9_build.c|20041224220811|40034 D 1.2 05/03/03 05:56:00-07:00 rminnich@xxxxxxxxxxxxxxxxx +17 -4 B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|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 == smh22@xxxxxxxxxxxxxxxxxxxxxxxx|BitKeeper/etc/logging_ok|20021120120217|03192|1a0e4366ffd1b425 cl349@xxxxxxxxxxxxxxxxxxxxxx|BitKeeper/etc/logging_ok|20041118145625|26304 D 1.65 05/03/03 05:56:11-07:00 rminnich@xxxxxxxxxxxxxxxxx +1 -0 B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C c Logging to logging@xxxxxxxxxxxxxxx accepted K 28880 O -rw-rw-r-- P BitKeeper/etc/logging_ok ------------------------------------------------ I45 1 rminnich@xxxxxxxxxxxxxxxxx # 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |