This is the first part of the RFC series. It covers initialising the vcpu registers correctly, and some code cleanup.
The remainder of the RFC series is still in progress - specifically trying to avoid breaking introspection. Andrew Cooper (5): x86/boot: Initialise the debug registers correctly x86/domain: Initialise vcpu debug registers correctly tools/dombuilder: Initialise vcpu debug registers correctly x86/emul: Unfold %cr4.de handling in x86emul_read_dr() x86: Reorganise and rename debug register fields in struct vcpu tools/libxc/xc_dom_x86.c | 12 ++++++++++++ xen/arch/x86/cpu/common.c | 12 ++++++++---- xen/arch/x86/domain.c | 34 +++++++++++++++++++++++++++------- xen/arch/x86/domctl.c | 15 +++++---------- xen/arch/x86/hvm/hvm.c | 30 ++++++++++++++---------------- xen/arch/x86/hvm/svm/svm.c | 27 ++++++++++++++------------- xen/arch/x86/hvm/vmx/vmx.c | 26 +++++++++++++------------- xen/arch/x86/pv/emul-priv-op.c | 15 +++++++-------- xen/arch/x86/pv/emulate.c | 2 +- xen/arch/x86/traps.c | 31 ++++++++++++++++--------------- xen/arch/x86/vm_event.c | 2 +- xen/arch/x86/x86_emulate.c | 27 ++++++++++++++++----------- xen/include/asm-x86/debugreg.h | 2 -- xen/include/asm-x86/domain.h | 13 ++++++++++++- xen/include/asm-x86/x86-defns.h | 10 ++++++++++ 15 files changed, 156 insertions(+), 102 deletions(-) -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel