Windows code change for Xen support

Hi,

Sorry , if it sounds off topic…

I was studying about architecture of Xen and the document talks about modifying the source code of Windows (guest OS) for acccessing PTEs. This is required so as to run Windows OS in Xen environment.

But Windows code is not open source… Then how is it possible.

Thanks
Anshul Makkar
www.justkernel.com

Why do you think the VM host needs to modify the guest’s PTEs?

Traditionally this is done by using ‘trampoline’ patches of various sorts to
hack assorted kernel entry points. However xen currently does not do any of
this at all to support windows VMs. Whatever you were reading is obsolete.

Mark Roddy

On Fri, Jun 24, 2011 at 3:44 AM, anshul makkar > wrote:

> Hi,
>
> Sorry , if it sounds off topic…
>
> I was studying about architecture of Xen and the document talks about
> modifying the source code of Windows (guest OS) for acccessing PTEs. This is
> required so as to run Windows OS in Xen environment.
>
> But Windows code is not open source… Then how is it possible.
>
> Thanks
> Anshul Makkar
> www.justkernel.com
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

I suspect your reading about old efforts to create a paravirtualized HAL for
Windows. This pre-dates any hardware VM support. Now we have chipsets with
hardware support Windows runs just fine unmodified inside an HVM container.

Paul

On 24 June 2011 00:44, anshul makkar wrote:

> Hi,
>
> Sorry , if it sounds off topic…
>
> I was studying about architecture of Xen and the document talks about
> modifying the source code of Windows (guest OS) for acccessing PTEs. This is
> required so as to run Windows OS in Xen environment.
>
> But Windows code is not open source… Then how is it possible.
>
> Thanks
> Anshul Makkar
> www.justkernel.com
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer


Paul Durrant
http://www.linkedin.com/in/pdurrant

Oh Yes… may be… What I am reading some of the initial docs to understand the basics of XEN.
?
Thanks
Anshul Makkar
www.justkernel.com

— On Fri, 24/6/11, Mark Roddy wrote:

From: Mark Roddy
Subject: Re: [ntdev] Windows code change for Xen support
To: “Windows System Software Devs Interest List”
Date: Friday, 24 June, 2011, 6:36 PM

Traditionally this is done by using ‘trampoline’ patches of various sorts to hack assorted kernel entry points. However xen currently does not do any of this at all to support windows VMs. Whatever you were reading is obsolete.

Mark Roddy

On Fri, Jun 24, 2011 at 3:44 AM, anshul makkar wrote:

Hi,

Sorry , if it sounds off topic…

I was studying about architecture of Xen and the document talks about modifying the source code of Windows (guest OS) for acccessing PTEs. This is required so as to run Windows OS in Xen environment.

But Windows code is not open source… Then how is it possible.

Thanks
Anshul Makkar
www.justkernel.com
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Right Paul… I am studying about Paravirtualized HAL for Windows… One of the initial document? on Xen.
?
Thanks for clarification.
?
Anshul Makkar
www.justkernel.com

— On Fri, 24/6/11, Paul Durrant wrote:

From: Paul Durrant
Subject: Re: [ntdev] Windows code change for Xen support
To: “Windows System Software Devs Interest List”
Date: Friday, 24 June, 2011, 7:26 PM

I suspect your reading about old efforts to create a paravirtualized HAL for Windows. This pre-dates any hardware VM support. Now we have chipsets with hardware support Windows runs just fine unmodified inside an HVM container.

? Paul

On 24 June 2011 00:44, anshul makkar wrote:

Hi,

Sorry , if it sounds off topic…

I was studying about architecture of Xen and the document talks about modifying the source code of Windows (guest OS) for acccessing PTEs. This is required so as to run Windows OS in Xen environment.

But Windows code is not open source… Then how is it possible.

Thanks
Anshul Makkar
www.justkernel.com
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Paul Durrant
http://www.linkedin.com/in/pdurrant
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

HAL is not related to PTEs at all.

Yes, hardware virtualization is here for years, and, say, MS’s Hyper-V is based on it.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

“Paul Durrant” wrote in message news:xxxxx@ntdev…
I suspect your reading about old efforts to create a paravirtualized HAL for Windows. This pre-dates any hardware VM support. Now we have chipsets with hardware support Windows runs just fine unmodified inside an HVM container.

Paul

On 24 June 2011 00:44, anshul makkar wrote:

Hi,

Sorry , if it sounds off topic…

I was studying about architecture of Xen and the document talks about modifying the source code of Windows (guest OS) for acccessing PTEs. This is required so as to run Windows OS in Xen environment.

But Windows code is not open source… Then how is it possible.

Thanks
Anshul Makkar
www.justkernel.com

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Paul Durrant
http://www.linkedin.com/in/pdurrant