From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 7 Jul 2005 17:31:00 -1000 From: Tim Newsham To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] 8c question In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Topicbox-Message-UUID: 62f9d252-ead0-11e9-9d60-3106f5b1d025 > i don't understand. if it's in the portability interface, > you say what arch_vcpu_info_t is, so why not > typedef int arch_vcpu_info_t; > and be done with it. i don't see why it must be a struct > in that context. Typedefing it to an int would be fine, except then it will be four bytes larger in Plan9 than it is in the Xen host. Since this is a shared data structure, bad things will happen. I think I might be able to get them to set it to some fixed length size and just waste some space. Its just a matter of me getting time to create a patch and test it and submit it. Tim Newsham http://www.lava.net/~newsham/