[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH0/2]Move xen-pm options from dom0 cmdline to start info


  • To: "Wei, Gang" <gang.wei@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Mon, 28 Jul 2008 08:51:12 +0100
  • Cc:
  • Delivery-date: Mon, 28 Jul 2008 00:51:32 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcjwfOPFadHHbTEwRJKwuPBDdiJ0aAABYx95AABeu5AAALJD0w==
  • Thread-topic: [PATCH0/2]Move xen-pm options from dom0 cmdline to start info

Reserve yourself some space with appropriate SIF_PM_MASK (or whatever)
definition.

 -- Keir

On 28/7/08 08:40, "Wei, Gang" <gang.wei@xxxxxxxxx> wrote:

> Can I reserve the second byte of this flag field for pm-option usage?
> 
> Jimmy
> 
> On Monday, July 28, 2008 3:21 PM, Keir Fraser wrote:
>> On 28/7/08 07:40, "Wei, Gang" <gang.wei@xxxxxxxxx> wrote:
>> 
>>> One further thing to be mentioned is that this patchset enlarged the
>>> start info size. The alternative solution may be reusing the existing
>>> flag field, but I am not sure whether it is suitable. Any comments?
>> 
>> Just make it a new SIF_ flag. You can't safely extend the structure
> without
>> adding a flag to indicate you have done so anyway.
>> 
>>  -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.