[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] A small VMX code cleanup.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 89a2233056119e8008569fd38b078d6f4f4fcfec # Parent 7557f0b4098c4c3c5ac9d6620672d62263c91366 A small VMX code cleanup. Signed-off-by: Eddie Dong <eddie.dong@xxxxxxxxx> diff -r 7557f0b4098c -r 89a223305611 xen/arch/x86/vmx_io.c --- a/xen/arch/x86/vmx_io.c Thu Dec 8 14:24:02 2005 +++ b/xen/arch/x86/vmx_io.c Thu Dec 8 14:25:44 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 7557f0b4098c -r 89a223305611 xen/arch/x86/vmx_vmcs.c --- a/xen/arch/x86/vmx_vmcs.c Thu Dec 8 14:24:02 2005 +++ b/xen/arch/x86/vmx_vmcs.c Thu Dec 8 14:25:44 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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |