ia64/xen-unstable

diff xen/arch/x86/hvm/vmx/vmcs.c @ 19648:f0e2df69a8eb

x86 hvm: Allow cross-vendor migration

Intercept #UD and emulate SYSCALL/SYSENTER/SYSEXIT as necessary.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 26 15:01:36 2009 +0100 (2009-05-26)
parents 7d552e56d105
children 822ea2bf0c54
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmcs.c	Tue May 26 11:52:31 2009 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmcs.c	Tue May 26 15:01:36 2009 +0100
     1.3 @@ -668,7 +668,8 @@ static int construct_vmcs(struct vcpu *v
     1.4      __vmwrite(EXCEPTION_BITMAP,
     1.5                HVM_TRAP_MASK
     1.6                | (paging_mode_hap(d) ? 0 : (1U << TRAP_page_fault))
     1.7 -              | (1U << TRAP_no_device));
     1.8 +              | (1U << TRAP_no_device)
     1.9 +              | (1U << TRAP_invalid_op));
    1.10  
    1.11      v->arch.hvm_vcpu.guest_cr[0] = X86_CR0_PE | X86_CR0_ET;
    1.12      hvm_update_guest_cr(v, 0);