From: "Jan Beulich" Subject: [PATCH v2 2/4] x86: drop an effectively unused struct pv_vcpu field Date: Fri, 20 Mar 2015 15:22:54 +0000 Message-ID: <550C495E020000780006C208@mail.emea.novell.com> References: <550C481D020000780006C1DD@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part5460005E.1__=" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YYylD-0008D8-R5 for xen-devel@lists.xenproject.org; Fri, 20 Mar 2015 15:22:55 +0000 In-Reply-To: <550C481D020000780006C1DD@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Andrew Cooper , Keir Fraser , Tim Deegan List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part5460005E.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Signed-off-by: Jan Beulich --- v2: Split original patch into two. --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -901,7 +901,6 @@ int arch_set_info_guest( v->arch.pv_vcpu.event_callback_cs =3D c(event_callback_cs); v->arch.pv_vcpu.failsafe_callback_cs =3D c(failsafe_callback_cs); } - v->arch.pv_vcpu.vm_assist =3D c(vm_assist); =20 /* Only CR0.TS is modifiable by guest or admin. */ v->arch.pv_vcpu.ctrlreg[0] &=3D X86_CR0_TS; --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -1436,7 +1436,6 @@ void arch_get_info_guest(struct vcpu *v, c(event_callback_cs =3D v->arch.pv_vcpu.event_callback_cs); c(failsafe_callback_cs =3D v->arch.pv_vcpu.failsafe_callback_c= s); } - c(vm_assist =3D v->arch.pv_vcpu.vm_assist); =20 /* IOPL privileges are virtualised: merge back into returned = eflags. */ BUG_ON((c(user_regs.eflags) & X86_EFLAGS_IOPL) !=3D 0); --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -372,8 +372,6 @@ struct pv_vcpu }; }; =20 - unsigned long vm_assist; - unsigned long syscall32_callback_eip; unsigned long sysenter_callback_eip; unsigned short syscall32_callback_cs; --=__Part5460005E.1__= Content-Type: text/plain; name="vm-assist-cleanup-x86.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="vm-assist-cleanup-x86.patch" x86: drop an effectively unused struct pv_vcpu field=0A=0ASigned-off-by: = Jan Beulich =0A---=0Av2: Split original patch into = two.=0A=0A--- a/xen/arch/x86/domain.c=0A+++ b/xen/arch/x86/domain.c=0A@@ = -901,7 +901,6 @@ int arch_set_info_guest(=0A v->arch.pv_vcpu.event_= callback_cs =3D c(event_callback_cs);=0A v->arch.pv_vcpu.failsafe_c= allback_cs =3D c(failsafe_callback_cs);=0A }=0A- v->arch.pv_vcpu.vm_= assist =3D c(vm_assist);=0A =0A /* Only CR0.TS is modifiable by guest = or admin. */=0A v->arch.pv_vcpu.ctrlreg[0] &=3D X86_CR0_TS;=0A--- = a/xen/arch/x86/domctl.c=0A+++ b/xen/arch/x86/domctl.c=0A@@ -1436,7 +1436,6 = @@ void arch_get_info_guest(struct vcpu *v,=0A c(event_callback= _cs =3D v->arch.pv_vcpu.event_callback_cs);=0A c(failsafe_callb= ack_cs =3D v->arch.pv_vcpu.failsafe_callback_cs);=0A }=0A- = c(vm_assist =3D v->arch.pv_vcpu.vm_assist);=0A =0A /* IOPL = privileges are virtualised: merge back into returned eflags. */=0A = BUG_ON((c(user_regs.eflags) & X86_EFLAGS_IOPL) !=3D 0);=0A--- a/xen/include= /asm-x86/domain.h=0A+++ b/xen/include/asm-x86/domain.h=0A@@ -372,8 +372,6 = @@ struct pv_vcpu=0A };=0A };=0A =0A- unsigned long = vm_assist;=0A-=0A unsigned long syscall32_callback_eip;=0A = unsigned long sysenter_callback_eip;=0A unsigned short syscall32_callba= ck_cs;=0A --=__Part5460005E.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part5460005E.1__=--