[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/7] arm: move arch/arm/hvm.c to arch/arm/hvm/hvm.c


  • To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
  • From: Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx>
  • Date: Tue, 9 Feb 2016 13:28:03 +0200
  • Cc: Kevin Tian <kevin.tian@xxxxxxxxx>, Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>, Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Tue, 09 Feb 2016 11:28:12 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=eMmKl9IwoVSOgb+QNWZCVgB8dx8mgSXjDIH6Ra0nEF8pl/deoOscVGES1f/XkYSyiKsv/d88J0UX0gTw+ZnL5iIUKnBTB7dhZRhJvF9VBUySEEGR+JJC5s4mxUpbQ81lel6cVFLgpUhd3oKuxVlD/YoyPXvW0IAkW2ACLfL71jW9K4t1H5Gag7JlieEYXwKd2knUT1QFSWgDOIq1oKNOg2rKHNmK4MlGDsnd7RKjQY/dW7no5WYT0dEkrg+EYr/ZxPX9+k3oz30qkBLUoJz9Emy4IiwdcqpgBya62Bug8sJywREWg8kIy+G+1YVSE4EylwAm+Kbwzo8zCoDelz5Uiw==; h=Received:Received:Received:Received:Received:Subject:To:References:Cc:From:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

On 2/9/2016 1:03 PM, Stefano Stabellini wrote:
On Mon, 8 Feb 2016, Corneliu ZUZU wrote:
X86-side hvm.c is @ arch/x86/hvm/hvm.c. To maintain arm<->x86 symmetry,
also move arch/arm/hvm.c to arch/arm/hvm/hvm.c.
Why are we doing this? These are not header files, their paths don't
necessarily need to be the same and xen/arch/x86/hvm/hvm.c is very
different from xen/arch/arm/hvm.c.

Please state the reason more clearly.


Signed-off-by: Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx>
---
  xen/arch/arm/Makefile     |  2 +-
  xen/arch/arm/hvm.c        | 67 -----------------------------------------------
  xen/arch/arm/hvm/Makefile |  1 +
  xen/arch/arm/hvm/hvm.c    | 66 ++++++++++++++++++++++++++++++++++++++++++++++


Because the ARM side hvm.c currently exists solely to add an implementation for
do_hvm_op, which on x86 is @ arch/x86/hvm/hvm.c. I presume the ARM hvm.c got 
its name
from the X86 file, so I thought a symmetry between the two was intended from 
the start.
Also, the hvm directory was created to separate hvm-specific code, which is the 
case w/
do_hvm_op on any arch.

Corneliu.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.