WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix a silly bug.

# HG changeset patch
# User sos22@xxxxxxxxxxxxxxxxxxxx
# Node ID 05a1340bc1e7d47d38520fffc571d17399a0cf8c
# Parent  c0a0f4db5ab14fc31db2003674b9fa775cbf951b
Fix a silly bug.

Signed-off-by: Steven Smith, sos22@xxxxxxxxx

diff -r c0a0f4db5ab1 -r 05a1340bc1e7 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Thu Jan 26 18:40:13 2006
+++ b/xen/arch/x86/domain.c     Thu Jan 26 18:52:18 2006
@@ -408,11 +408,11 @@
 
     v->arch.guest_table = mk_pagetable(phys_basetab);
 
+    got_basetab_type = 0;
     if ( shadow_mode_refcounts(d) )
     {
         if ( !get_page(pfn_to_page(phys_basetab>>PAGE_SHIFT), d) )
             return -EINVAL;
-        got_basetab_type = 0;
     }
     else if ( !(c->flags & VGCF_VMX_GUEST) )
     {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix a silly bug., Xen patchbot -unstable <=