From: "Ky Srinivasan" Subject: Re: [PATCH][RFC] Supporting Enlightened Windows 2008Server Date: Mon, 07 Apr 2008 08:27:46 -0600 Message-ID: <47F9F6C0.E57C.0030.0@novell.com> References: <47F6840D.E57C.0030.0@novell.com> <20080405151705.GA19777@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20080405151705.GA19777@redhat.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com, Tim Deegan , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On Sat, Apr 5, 2008 at 11:17 AM, in message <20080405151705.GA19777@redhat.com>, "Daniel P. Berrange" wrote:=20 > On Fri, Apr 04, 2008 at 05:41:32PM -0600, Ky Srinivasan wrote: >> Based on the feedback I got from you and Tim, I am enclosing=20 >> the next version of the patches to support enlightened win2008 >> server. Here are the changes I have made: >>=20 >> 1) I have put the shim on a low calorie diet - I have gotten rid >> of the framework infrastructure and to the extent possible=20 >> integrated the shim code with xen. >>=20 >> 2) I have tried to cleanup the code. I am sure more work will be=20 >> needed here. >>=20 >> 3) I am not advertising the TLB related enlightenments. We can=20 >> revisit this later if needed. >=20 >=20 >> Index: xen-unstable.hg/tools/python/xen/xm/create.py >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- xen-unstable.hg.orig/tools/python/xen/xm/create.py 2008-04-04= =20 > 13:01:01.000000000 -0400 >> +++ xen-unstable.hg/tools/python/xen/xm/create.py 2008-04-04 = 13:45:08.000000000=20 > -0400 >> @@ -207,6 +207,10 @@ >> use=3D"""Timer mode (0=3Ddelay virtual time when ticks are = missed; >> 1=3Dvirtual time is always wallclock time.""") >> =20 >> +gopts.var('extid', val=3D'EXTID', >> + fn=3Dset_int, default=3D0, >> + use=3D"Specify extention ID for a HVM domain.") >> + >> gopts.var('acpi', val=3D'ACPI', >> fn=3Dset_int, default=3D1, >> use=3D"Disable or enable ACPI of HVM domain.") >> @@ -750,7 +754,7 @@ >> def configure_hvm(config_image, vals): >> """Create the config for HVM devices. >> """ >> - args =3D [ 'device_model', 'pae', 'vcpus', 'boot', 'fda', = 'fdb',=20 > 'timer_mode', >> + args =3D [ 'device_model', 'pae', 'extid', 'vcpus', 'boot', 'fda', = 'fdb',=20 > 'timer_mode', >> 'localtime', 'serial', 'stdvga', 'isa', 'nographic',=20 > 'soundhw', >> 'vnc', 'vncdisplay', 'vncunused', 'vncconsole', 'vnclisten= ', >> 'sdl', 'display', 'xauthority', 'rtc_timeoffset', = 'monitor', >=20 >=20 > I'd still like to see the userspace tools side changed to not expose > the integrate 'extid' value to administrators configuring guests, and > instead use some semanatically meaningful string param >=20 > http://lists.xensource.com/archives/html/xen-devel/2008-03/msg00165.html Absolutely. I will fix this in the next revision. Regards, K. Y >=20 > Regards, > Daniel.