[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.