A simple cleanup. Signed-off-by: Eddie Dong <eddie.dong@intel.com> diff -r f94923f2dd14 -r 213175bc9a26 xen/arch/x86/vmx_io.c --- a/xen/arch/x86/vmx_io.c Sun Dec 4 11:06:38 2005 +++ b/xen/arch/x86/vmx_io.c Mon Dec 5 08:06:18 2005 @@ -748,7 +748,7 @@ { /* clear the event *before* checking for work. This should avoid the set-and-check races */ - if (vmx_clear_pending_io_event(current)) + if (vmx_clear_pending_io_event(v)) vmx_io_assist(v); } diff -r f94923f2dd14 -r 213175bc9a26 xen/arch/x86/vmx_vmcs.c --- a/xen/arch/x86/vmx_vmcs.c Sun Dec 4 11:06:38 2005 +++ b/xen/arch/x86/vmx_vmcs.c Mon Dec 5 08:06:18 2005 @@ -243,9 +243,6 @@ { struct vmx_platform *platform; - if (!(VMX_DOMAIN(current) && (current->vcpu_id == 0))) - return; - vmx_map_io_shared_page(d); vmx_set_vcpu_nr(d); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel