Skip to contentSkip to conversation

About the Windows port

DISCUSSION [email protected] 2 participants 2 messages Mar 14, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

I read the windows port is mostly done on your README file. But that you seem to have troubles about licenses etc.

Okay giving out the source code requires an agreement => takes time to check if you can send the source code to a third party and so.

Giving the kernel binary => ensure that the third party has a valid license of the Windows OS.

So why not just give the compiled Xen modifications, indeed, you take the source, compile it. Then you use a program that will compare the compiled form of both the original kernel, and the ported one. Then the program will make a path. Therefore, you may just freely release the patch.

The use will just have to make a copy of his ntoskrnl.exe as xenkrnel.exe. Patch xenkrnl.exe. Edit his boot.ini file as follow:

[boot loader]
timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional (Xen Edition)" /fastdetect /KERNEL=xenkrnl.exe multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

Regards,
Laurent Debacker.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 10 lines

So why not just give the compiled Xen modifications, indeed, you take the source, compile it. Then you use a program that will compare the compiled form of both the original kernel, and the ported one. Then the program will make a path. Therefore, you may just freely release the patch.

The use will just have to make a copy of his ntoskrnl.exe as xenkrnel.exe. Patch xenkrnl.exe. Edit his boot.ini file as follow:

Quoted 8 lines

[boot loader]
timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional (Xen Edition)" /fastdetect /KERNEL=xenkrnl.exe multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

I'm afraid it's a bit more complicated than this; ntoskrnl.exe is not the entire "kernel" (in Unix-speak), but rather just a part of it. A variety of dlls are required too in order to get something that boots.

Secondly, we've not yet evaluated the legalily of distributing a binary patch. I think we're unlikely to spend the requisite time and money in doing this, at least not soon; if you require multiple copies of Windows XP in the short term, I'm afraid you'll need to go with one of the commerical offerings.

cheers,

S.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click