From: "Jan Beulich" Subject: [PATCH 1/3] x86: drop is_pv_32on64_vcpu() Date: Tue, 23 Jun 2015 16:18:37 +0100 Message-ID: <558994ED02000078000886DB@mail.emea.novell.com> References: <558993E902000078000886B3@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part1125C0DD.1__=" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z7PyE-0002qh-32 for xen-devel@lists.xenproject.org; Tue, 23 Jun 2015 15:18:42 +0000 In-Reply-To: <558993E902000078000886B3@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Andrew Cooper , Keir Fraser List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part1125C0DD.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ... as being identical to is_pv_32bit_vcpu() after the x86-32 removal. In a few cases this includes an additional is_pv_32bit_vcpu() -> is_pv_32bit_domain() conversion. Signed-off-by: Jan Beulich --- a/xen/arch/x86/cpu/mcheck/mce.c +++ b/xen/arch/x86/cpu/mcheck/mce.c @@ -1339,7 +1339,7 @@ long do_mca(XEN_GUEST_HANDLE_PARAM(xen_m mctelem_cookie_t cookie =3D ID2COOKIE(mc_fetch.nat->fetch_id);= mctelem_ack(which, cookie); } else { - if (!is_pv_32on64_vcpu(v) + if (!is_pv_32bit_vcpu(v) ? guest_handle_is_null(mc_fetch.nat->data) : compat_handle_is_null(mc_fetch.cmp->data)) return x86_mcerr("do_mca fetch: guest buffer " @@ -1347,7 +1347,7 @@ long do_mca(XEN_GUEST_HANDLE_PARAM(xen_m =20 if ((mctc =3D mctelem_consume_oldest_begin(which))) { struct mc_info *mcip =3D mctelem_dataptr(mctc); - if (!is_pv_32on64_vcpu(v) + if (!is_pv_32bit_vcpu(v) ? copy_to_guest(mc_fetch.nat->data, mcip, 1) : copy_to_compat(mc_fetch.cmp->data, mcip, 1)) { @@ -1378,7 +1378,7 @@ long do_mca(XEN_GUEST_HANDLE_PARAM(xen_m mc_physcpuinfo.nat =3D &op->u.mc_physcpuinfo; nlcpu =3D num_online_cpus(); =20 - if (!is_pv_32on64_vcpu(v) + if (!is_pv_32bit_vcpu(v) ? !guest_handle_is_null(mc_physcpuinfo.nat->info) : !compat_handle_is_null(mc_physcpuinfo.cmp->info)) { if (mc_physcpuinfo.nat->ncpus <=3D 0) @@ -1389,7 +1389,7 @@ long do_mca(XEN_GUEST_HANDLE_PARAM(xen_m if (log_cpus =3D=3D NULL) return x86_mcerr("do_mca cpuinfo", -ENOMEM); on_each_cpu(do_mc_get_cpu_info, log_cpus, 1); - if (!is_pv_32on64_vcpu(v) + if (!is_pv_32bit_vcpu(v) ? copy_to_guest(mc_physcpuinfo.nat->info, log_cpus, nlcpu) : copy_to_compat(mc_physcpuinfo.cmp->info, --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -496,7 +496,7 @@ int vcpu_initialise(struct vcpu *v) =20 void vcpu_destroy(struct vcpu *v) { - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_vcpu(v) ) release_compat_l4(v); =20 vcpu_destroy_fpu(v); @@ -1705,7 +1705,7 @@ unsigned long hypercall_create_continuat curr->arch.hvm_vcpu.hcall_preempted =3D 1; =20 if ( is_pv_vcpu(curr) ? - !is_pv_32on64_vcpu(curr) : + !is_pv_32bit_vcpu(curr) : curr->arch.hvm_vcpu.hcall_64bit ) { for ( i =3D 0; *p !=3D '\0'; i++ ) --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2652,7 +2652,7 @@ int vcpu_destroy_pagetables(struct vcpu=20 if ( rc ) return rc; =20 - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_vcpu(v) ) { l4tab =3D map_domain_page(mfn); mfn =3D l4e_get_pfn(*l4tab); --- a/xen/arch/x86/trace.c +++ b/xen/arch/x86/trace.c @@ -11,7 +11,7 @@ void __trace_hypercall_entry(void) struct cpu_user_regs *regs =3D guest_cpu_user_regs(); unsigned long args[6]; =20 - if ( is_pv_32on64_vcpu(current) ) + if ( is_pv_32bit_vcpu(current) ) { args[0] =3D regs->ebx; args[1] =3D regs->ecx; @@ -36,7 +36,7 @@ void __trace_hypercall_entry(void) void __trace_pv_trap(int trapnr, unsigned long eip, int use_error_code, unsigned error_code) { - if ( is_pv_32on64_vcpu(current) ) + if ( is_pv_32bit_vcpu(current) ) { struct __packed { unsigned eip:32, @@ -77,7 +77,7 @@ void __trace_pv_page_fault(unsigned long { unsigned long eip =3D guest_cpu_user_regs()->eip; =20 - if ( is_pv_32on64_vcpu(current) ) + if ( is_pv_32bit_vcpu(current) ) { struct __packed { u32 eip, addr, error_code; @@ -108,7 +108,7 @@ void __trace_pv_page_fault(unsigned long =20 void __trace_trap_one_addr(unsigned event, unsigned long va) { - if ( is_pv_32on64_vcpu(current) ) + if ( is_pv_32bit_vcpu(current) ) { u32 d =3D va; __trace_var(event, 1, sizeof(d), &d); @@ -123,7 +123,7 @@ void __trace_trap_one_addr(unsigned even void __trace_trap_two_addr(unsigned event, unsigned long va1, unsigned long va2) { - if ( is_pv_32on64_vcpu(current) ) + if ( is_pv_32bit_vcpu(current) ) { struct __packed { u32 va1, va2; @@ -156,7 +156,7 @@ void __trace_ptwr_emulation(unsigned lon * cases, "unsigned long" is the size of a guest virtual address. */ =20 - if ( is_pv_32on64_vcpu(current) ) + if ( is_pv_32bit_vcpu(current) ) { struct __packed { l1_pgentry_t pte; --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -124,7 +124,7 @@ static void show_guest_stack(struct vcpu if ( is_hvm_vcpu(v) ) return; =20 - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_vcpu(v) ) { compat_show_guest_stack(v, regs, debug_stack_lines); return; @@ -2382,7 +2382,7 @@ static int emulate_privileged_op(struct=20 { unsigned long mfn; =20 - if ( !is_pv_32on64_vcpu(v) ) + if ( !is_pv_32bit_domain(currd) ) { mfn =3D pagetable_get_pfn(v->arch.guest_table); *reg =3D xen_pfn_to_cr3(mfn_to_gmfn(currd, mfn)); @@ -2452,7 +2452,7 @@ static int emulate_privileged_op(struct=20 unsigned long gfn; struct page_info *page; =20 - gfn =3D !is_pv_32on64_vcpu(v) + gfn =3D !is_pv_32bit_domain(currd) ? xen_cr3_to_pfn(*reg) : compat_cr3_to_pfn(*reg); page =3D get_page_from_gfn(currd, gfn, NULL, P2M_ALLOC); if ( page ) @@ -2504,19 +2504,19 @@ static int emulate_privileged_op(struct=20 switch ( regs->_ecx ) { case MSR_FS_BASE: - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_domain(currd) ) goto fail; wrfsbase(msr_content); v->arch.pv_vcpu.fs_base =3D msr_content; break; case MSR_GS_BASE: - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_domain(currd) ) goto fail; wrgsbase(msr_content); v->arch.pv_vcpu.gs_base_kernel =3D msr_content; break; case MSR_SHADOW_GS_BASE: - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_domain(currd) ) goto fail; if ( wrmsr_safe(MSR_SHADOW_GS_BASE, msr_content) ) goto fail; @@ -2675,18 +2675,18 @@ static int emulate_privileged_op(struct=20 switch ( regs->_ecx ) { case MSR_FS_BASE: - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_domain(currd) ) goto fail; val =3D cpu_has_fsgsbase ? __rdfsbase() : v->arch.pv_vcpu.fs_b= ase; goto rdmsr_writeback; case MSR_GS_BASE: - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_domain(currd) ) goto fail; val =3D cpu_has_fsgsbase ? __rdgsbase() : v->arch.pv_vcpu.gs_base_kernel; goto rdmsr_writeback; case MSR_SHADOW_GS_BASE: - if ( is_pv_32on64_vcpu(v) ) + if ( is_pv_32bit_domain(currd) ) goto fail; val =3D v->arch.pv_vcpu.gs_base_user; goto rdmsr_writeback; @@ -3201,7 +3201,7 @@ void do_general_protection(struct cpu_us return; } } - else if ( is_pv_32on64_vcpu(v) && regs->error_code ) + else if ( is_pv_32bit_vcpu(v) && regs->error_code ) { emulate_gate_op(regs); return; --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -15,7 +15,6 @@ #define is_pv_32bit_domain(d) ((d)->arch.is_32bit_pv) #define is_pv_32bit_vcpu(v) (is_pv_32bit_domain((v)->domain)) #define is_pv_32on64_domain(d) (is_pv_32bit_domain(d)) -#define is_pv_32on64_vcpu(v) (is_pv_32on64_domain((v)->domain)) =20 #define is_hvm_pv_evtchn_domain(d) (has_hvm_container_domain(d) && \ d->arch.hvm_domain.irq.callback_via_type =3D=3D HVMIRQ_callback_ve= ctor) --- a/xen/include/asm-x86/ldt.h +++ b/xen/include/asm-x86/ldt.h @@ -15,7 +15,7 @@ static inline void load_LDT(struct vcpu=20 } else { - desc =3D (!is_pv_32on64_vcpu(v) + desc =3D (!is_pv_32bit_vcpu(v) ? this_cpu(gdt_table) : this_cpu(compat_gdt_table)) + LDT_ENTRY - FIRST_RESERVED_GDT_ENTRY; _set_tssldt_desc(desc, LDT_VIRT_START(v), ents*8-1, SYS_DESC_ldt);= --- a/xen/include/xen/tmem_xen.h +++ b/xen/include/xen/tmem_xen.h @@ -285,7 +285,7 @@ static inline int tmem_get_tmemop_from_c #ifdef CONFIG_COMPAT if ( has_hvm_container_vcpu(current) ? hvm_guest_x86_mode(current) !=3D 8 : - is_pv_32on64_vcpu(current) ) + is_pv_32bit_vcpu(current) ) { int rc; enum XLAT_tmem_op_u u; --=__Part1125C0DD.1__= Content-Type: text/plain; name="x86-drop-is_32on64_vcpu.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-drop-is_32on64_vcpu.patch" x86: drop is_pv_32on64_vcpu()=0A=0A... as being identical to is_pv_32bit_vc= pu() after the x86-32 removal.=0A=0AIn a few cases this includes an = additional is_pv_32bit_vcpu() ->=0Ais_pv_32bit_domain() conversion.=0A=0ASi= gned-off-by: Jan Beulich =0A=0A--- a/xen/arch/x86/cpu/mc= heck/mce.c=0A+++ b/xen/arch/x86/cpu/mcheck/mce.c=0A@@ -1339,7 +1339,7 @@ = long do_mca(XEN_GUEST_HANDLE_PARAM(xen_m=0A mctelem_cookie_t = cookie =3D ID2COOKIE(mc_fetch.nat->fetch_id);=0A mctelem_ack(wh= ich, cookie);=0A } else {=0A- if (!is_pv_32on64_vcpu(v)= =0A+ if (!is_pv_32bit_vcpu(v)=0A ? guest_handle_= is_null(mc_fetch.nat->data)=0A : compat_handle_is_null(mc_f= etch.cmp->data))=0A return x86_mcerr("do_mca fetch: guest = buffer "=0A@@ -1347,7 +1347,7 @@ long do_mca(XEN_GUEST_HANDLE_PARAM(xen_m= =0A =0A if ((mctc =3D mctelem_consume_oldest_begin(which))) = {=0A struct mc_info *mcip =3D mctelem_dataptr(mctc);=0A- = if (!is_pv_32on64_vcpu(v)=0A+ if (!is_pv_32bit_= vcpu(v)=0A ? copy_to_guest(mc_fetch.nat->data, mcip, = 1)=0A : copy_to_compat(mc_fetch.cmp->data,=0A = mcip, 1)) {=0A@@ -1378,7 +1378,7 @@ long = do_mca(XEN_GUEST_HANDLE_PARAM(xen_m=0A mc_physcpuinfo.nat =3D = &op->u.mc_physcpuinfo;=0A nlcpu =3D num_online_cpus();=0A =0A- = if (!is_pv_32on64_vcpu(v)=0A+ if (!is_pv_32bit_vcpu(v)=0A = ? !guest_handle_is_null(mc_physcpuinfo.nat->info)=0A : = !compat_handle_is_null(mc_physcpuinfo.cmp->info)) {=0A if = (mc_physcpuinfo.nat->ncpus <=3D 0)=0A@@ -1389,7 +1389,7 @@ long do_mca(XEN_= GUEST_HANDLE_PARAM(xen_m=0A if (log_cpus =3D=3D NULL)=0A = return x86_mcerr("do_mca cpuinfo", -ENOMEM);=0A = on_each_cpu(do_mc_get_cpu_info, log_cpus, 1);=0A- if (!is_pv_32o= n64_vcpu(v)=0A+ if (!is_pv_32bit_vcpu(v)=0A ? = copy_to_guest(mc_physcpuinfo.nat->info,=0A = log_cpus, nlcpu)=0A : copy_to_compat(mc_physcpuinfo.cmp->in= fo,=0A--- a/xen/arch/x86/domain.c=0A+++ b/xen/arch/x86/domain.c=0A@@ = -496,7 +496,7 @@ int vcpu_initialise(struct vcpu *v)=0A =0A void vcpu_destr= oy(struct vcpu *v)=0A {=0A- if ( is_pv_32on64_vcpu(v) )=0A+ if ( = is_pv_32bit_vcpu(v) )=0A release_compat_l4(v);=0A =0A = vcpu_destroy_fpu(v);=0A@@ -1705,7 +1705,7 @@ unsigned long hypercall_create= _continuat=0A curr->arch.hvm_vcpu.hcall_preempted =3D 1;=0A = =0A if ( is_pv_vcpu(curr) ?=0A- !is_pv_32on64_vcpu(curr= ) :=0A+ !is_pv_32bit_vcpu(curr) :=0A curr->arch.hv= m_vcpu.hcall_64bit )=0A {=0A for ( i =3D 0; *p !=3D = '\0'; i++ )=0A--- a/xen/arch/x86/mm.c=0A+++ b/xen/arch/x86/mm.c=0A@@ = -2652,7 +2652,7 @@ int vcpu_destroy_pagetables(struct vcpu =0A if ( rc = )=0A return rc;=0A =0A- if ( is_pv_32on64_vcpu(v) )=0A+ if ( = is_pv_32bit_vcpu(v) )=0A {=0A l4tab =3D map_domain_page(mfn);= =0A mfn =3D l4e_get_pfn(*l4tab);=0A--- a/xen/arch/x86/trace.c=0A+++= b/xen/arch/x86/trace.c=0A@@ -11,7 +11,7 @@ void __trace_hypercall_entry(vo= id)=0A struct cpu_user_regs *regs =3D guest_cpu_user_regs();=0A = unsigned long args[6];=0A =0A- if ( is_pv_32on64_vcpu(current) )=0A+ = if ( is_pv_32bit_vcpu(current) )=0A {=0A args[0] =3D regs->ebx;= =0A args[1] =3D regs->ecx;=0A@@ -36,7 +36,7 @@ void __trace_hyperca= ll_entry(void)=0A void __trace_pv_trap(int trapnr, unsigned long eip,=0A = int use_error_code, unsigned error_code)=0A {=0A- if = ( is_pv_32on64_vcpu(current) )=0A+ if ( is_pv_32bit_vcpu(current) )=0A = {=0A struct __packed {=0A unsigned eip:32,=0A@@ = -77,7 +77,7 @@ void __trace_pv_page_fault(unsigned long=0A {=0A = unsigned long eip =3D guest_cpu_user_regs()->eip;=0A =0A- if ( = is_pv_32on64_vcpu(current) )=0A+ if ( is_pv_32bit_vcpu(current) )=0A = {=0A struct __packed {=0A u32 eip, addr, error_code;= =0A@@ -108,7 +108,7 @@ void __trace_pv_page_fault(unsigned long=0A =0A = void __trace_trap_one_addr(unsigned event, unsigned long va)=0A {=0A- = if ( is_pv_32on64_vcpu(current) )=0A+ if ( is_pv_32bit_vcpu(current) = )=0A {=0A u32 d =3D va;=0A __trace_var(event, 1, = sizeof(d), &d);=0A@@ -123,7 +123,7 @@ void __trace_trap_one_addr(unsigned = even=0A void __trace_trap_two_addr(unsigned event, unsigned long va1,=0A = unsigned long va2)=0A {=0A- if ( is_pv_32on64_v= cpu(current) )=0A+ if ( is_pv_32bit_vcpu(current) )=0A {=0A = struct __packed {=0A u32 va1, va2;=0A@@ -156,7 +156,7 @@ void = __trace_ptwr_emulation(unsigned lon=0A * cases, "unsigned long" is = the size of a guest virtual address.=0A */=0A =0A- if ( is_pv_32on6= 4_vcpu(current) )=0A+ if ( is_pv_32bit_vcpu(current) )=0A {=0A = struct __packed {=0A l1_pgentry_t pte;=0A--- a/xen/arch/x86/= traps.c=0A+++ b/xen/arch/x86/traps.c=0A@@ -124,7 +124,7 @@ static void = show_guest_stack(struct vcpu=0A if ( is_hvm_vcpu(v) )=0A = return;=0A =0A- if ( is_pv_32on64_vcpu(v) )=0A+ if ( is_pv_32bit_vcpu= (v) )=0A {=0A compat_show_guest_stack(v, regs, debug_stack_line= s);=0A return;=0A@@ -2382,7 +2382,7 @@ static int emulate_privilege= d_op(struct =0A {=0A unsigned long mfn;=0A = =0A- if ( !is_pv_32on64_vcpu(v) )=0A+ if ( !is_pv_32b= it_domain(currd) )=0A {=0A mfn =3D pagetable_ge= t_pfn(v->arch.guest_table);=0A *reg =3D xen_pfn_to_cr3(mfn_= to_gmfn(currd, mfn));=0A@@ -2452,7 +2452,7 @@ static int emulate_privileged= _op(struct =0A unsigned long gfn;=0A struct = page_info *page;=0A =0A- gfn =3D !is_pv_32on64_vcpu(v)=0A+ = gfn =3D !is_pv_32bit_domain(currd)=0A ? xen_cr3_to_pf= n(*reg) : compat_cr3_to_pfn(*reg);=0A page =3D get_page_from_gf= n(currd, gfn, NULL, P2M_ALLOC);=0A if ( page )=0A@@ -2504,19 = +2504,19 @@ static int emulate_privileged_op(struct =0A switch ( = regs->_ecx )=0A {=0A case MSR_FS_BASE:=0A- if ( = is_pv_32on64_vcpu(v) )=0A+ if ( is_pv_32bit_domain(currd) )=0A = goto fail;=0A wrfsbase(msr_content);=0A = v->arch.pv_vcpu.fs_base =3D msr_content;=0A break;=0A = case MSR_GS_BASE:=0A- if ( is_pv_32on64_vcpu(v) )=0A+ = if ( is_pv_32bit_domain(currd) )=0A goto fail;=0A = wrgsbase(msr_content);=0A v->arch.pv_vcpu.gs_base_kernel= =3D msr_content;=0A break;=0A case MSR_SHADOW_GS_BASE:= =0A- if ( is_pv_32on64_vcpu(v) )=0A+ if ( is_pv_32bit= _domain(currd) )=0A goto fail;=0A if ( = wrmsr_safe(MSR_SHADOW_GS_BASE, msr_content) )=0A goto = fail;=0A@@ -2675,18 +2675,18 @@ static int emulate_privileged_op(struct = =0A switch ( regs->_ecx )=0A {=0A case MSR_FS_BASE:= =0A- if ( is_pv_32on64_vcpu(v) )=0A+ if ( is_pv_32bit= _domain(currd) )=0A goto fail;=0A val =3D = cpu_has_fsgsbase ? __rdfsbase() : v->arch.pv_vcpu.fs_base;=0A = goto rdmsr_writeback;=0A case MSR_GS_BASE:=0A- if ( = is_pv_32on64_vcpu(v) )=0A+ if ( is_pv_32bit_domain(currd) )=0A = goto fail;=0A val =3D cpu_has_fsgsbase ? = __rdgsbase()=0A : v->arch.pv_vcpu.gs_bas= e_kernel;=0A goto rdmsr_writeback;=0A case MSR_SHADOW_G= S_BASE:=0A- if ( is_pv_32on64_vcpu(v) )=0A+ if ( = is_pv_32bit_domain(currd) )=0A goto fail;=0A = val =3D v->arch.pv_vcpu.gs_base_user;=0A goto rdmsr_writeback;= =0A@@ -3201,7 +3201,7 @@ void do_general_protection(struct cpu_us=0A = return;=0A }=0A }=0A- else if ( is_pv_32on64_vcpu(v) = && regs->error_code )=0A+ else if ( is_pv_32bit_vcpu(v) && regs->error_c= ode )=0A {=0A emulate_gate_op(regs);=0A return;=0A--- = a/xen/include/asm-x86/domain.h=0A+++ b/xen/include/asm-x86/domain.h=0A@@ = -15,7 +15,6 @@=0A #define is_pv_32bit_domain(d) ((d)->arch.is_32bit_pv)=0A= #define is_pv_32bit_vcpu(v) (is_pv_32bit_domain((v)->domain))=0A = #define is_pv_32on64_domain(d) (is_pv_32bit_domain(d))=0A-#define = is_pv_32on64_vcpu(v) (is_pv_32on64_domain((v)->domain))=0A =0A #define = is_hvm_pv_evtchn_domain(d) (has_hvm_container_domain(d) && \=0A = d->arch.hvm_domain.irq.callback_via_type =3D=3D HVMIRQ_callback_vector)=0A-= -- a/xen/include/asm-x86/ldt.h=0A+++ b/xen/include/asm-x86/ldt.h=0A@@ = -15,7 +15,7 @@ static inline void load_LDT(struct vcpu =0A }=0A = else=0A {=0A- desc =3D (!is_pv_32on64_vcpu(v)=0A+ desc = =3D (!is_pv_32bit_vcpu(v)=0A ? this_cpu(gdt_table) : = this_cpu(compat_gdt_table))=0A + LDT_ENTRY - FIRST_RESERVED_= GDT_ENTRY;=0A _set_tssldt_desc(desc, LDT_VIRT_START(v), ents*8-1, = SYS_DESC_ldt);=0A--- a/xen/include/xen/tmem_xen.h=0A+++ b/xen/include/xen/t= mem_xen.h=0A@@ -285,7 +285,7 @@ static inline int tmem_get_tmemop_from_c=0A= #ifdef CONFIG_COMPAT=0A if ( has_hvm_container_vcpu(current) ?=0A = hvm_guest_x86_mode(current) !=3D 8 :=0A- is_pv_32on64_vcpu(cur= rent) )=0A+ is_pv_32bit_vcpu(current) )=0A {=0A int = rc;=0A enum XLAT_tmem_op_u u;=0A --=__Part1125C0DD.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part1125C0DD.1__=--