ia64/xen-unstable

changeset 8687:05a1340bc1e7

Fix a silly bug.

Signed-off-by: Steven Smith, sos22@cam.ac.uk
author sos22@douglas.cl.cam.ac.uk
date Thu Jan 26 19:52:18 2006 +0100 (2006-01-26)
parents c0a0f4db5ab1
children 990c009015e8
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Thu Jan 26 19:40:13 2006 +0100
     1.2 +++ b/xen/arch/x86/domain.c	Thu Jan 26 19:52:18 2006 +0100
     1.3 @@ -408,11 +408,11 @@ int arch_set_info_guest(
     1.4  
     1.5      v->arch.guest_table = mk_pagetable(phys_basetab);
     1.6  
     1.7 +    got_basetab_type = 0;
     1.8      if ( shadow_mode_refcounts(d) )
     1.9      {
    1.10          if ( !get_page(pfn_to_page(phys_basetab>>PAGE_SHIFT), d) )
    1.11              return -EINVAL;
    1.12 -        got_basetab_type = 0;
    1.13      }
    1.14      else if ( !(c->flags & VGCF_VMX_GUEST) )
    1.15      {