From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH/RFC 2/2] s390 virtualization interface. Date: Fri, 27 Apr 2007 10:23:08 -0500 Message-ID: <4632155C.8030503@us.ibm.com> References: <1177681235.5770.22.camel@cotte.boeblingen.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , cborntra-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, schwidefsky-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org To: Carsten Otte Return-path: In-Reply-To: <1177681235.5770.22.camel-WIxn4w2hgUz3YA32ykw5MLlKpX0K8NHHQQ4Iyu8u01E@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Can you provide a high-level description of how this virtualization mechanism works? How does MMU virtualization work? Carsten Otte wrote: > + > +#ifndef _ASM_S390_SIE64_H > +#define _ASM_S390_SIE64_H > + > +struct sie_block { > + atomic_t cpuflags; /* 0x0000 */ > + __u32 prefix; /* 0x0004 */ > + __u32 :32; /* 0x0008 */ > + __u32 :32; /* 0x000c */ > + __u64 :64; /* 0x0010 */ > + __u64 :64; /* 0x0018 */ > + __u64 :64; /* 0x0020 */ > + __u64 cputm; /* 0x0028 */ > + __u64 ckc; /* 0x0030 */ > + __u64 epoch; /* 0x0038 */ > + __u8 svcnn :1, /* 0x0040 */ > + svc1c :1, > + svc2c :1, > + svc3c :1, > + :4; > I think bitfields can have weird padding issues. Regards, Anthony Liguori ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/